88 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common properties for NVIDIA Tegra audio complexes8 9maintainers:10 - Jon Hunter <jonathanh@nvidia.com>11 - Thierry Reding <thierry.reding@gmail.com>12 13properties:14 clocks:15 items:16 - description: PLL A clock17 - description: PLL A OUT0 clock18 - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk19 20 clock-names:21 items:22 - const: pll_a23 - const: pll_a_out024 - const: mclk25 26 nvidia,model:27 $ref: /schemas/types.yaml#/definitions/string28 description: The user-visible name of this sound complex.29 30 nvidia,audio-routing:31 $ref: /schemas/types.yaml#/definitions/non-unique-string-array32 description: |33 A list of the connections between audio components.34 Each entry is a pair of strings, the first being the connection's sink,35 the second being the connection's source. Valid names for sources and36 sinks are the pins (documented in the binding document),37 and the jacks on the board.38 39 nvidia,ac97-controller:40 $ref: /schemas/types.yaml#/definitions/phandle41 description: The phandle of the AC97 controller42 43 nvidia,i2s-controller:44 $ref: /schemas/types.yaml#/definitions/phandle45 description: The phandle of the Tegra I2S controller46 47 nvidia,audio-codec:48 $ref: /schemas/types.yaml#/definitions/phandle49 description: The phandle of audio codec50 51 nvidia,spkr-en-gpios:52 maxItems: 153 description: The GPIO that enables the speakers54 55 nvidia,hp-mute-gpios:56 maxItems: 157 description: The GPIO that mutes the headphones58 59 nvidia,hp-det-gpios:60 maxItems: 161 description: The GPIO that detect headphones are plugged in62 63 nvidia,mic-det-gpios:64 maxItems: 165 description: The GPIO that detect microphone is plugged in66 67 nvidia,ear-sel-gpios:68 maxItems: 169 description: The GPIO that switch between the microphones70 71 nvidia,int-mic-en-gpios:72 maxItems: 173 description: The GPIO that enables the internal microphone74 75 nvidia,ext-mic-en-gpios:76 maxItems: 177 description: The GPIO that enables the external microphone78 79 nvidia,headset:80 type: boolean81 description: The Mic Jack represents state of the headset microphone pin82 83 nvidia,coupled-mic-hp-det:84 type: boolean85 description: The Mic detect GPIO is viable only if HP detect GPIO is active86 87additionalProperties: true88