188dffe43SDavid Heidelberg# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 288dffe43SDavid Heidelberg%YAML 1.2 388dffe43SDavid Heidelberg--- 4*e09eb6acSRob Herring$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml# 5*e09eb6acSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml# 688dffe43SDavid Heidelberg 788dffe43SDavid Heidelbergtitle: Common properties for NVIDIA Tegra audio complexes 888dffe43SDavid Heidelberg 988dffe43SDavid Heidelbergmaintainers: 1088dffe43SDavid Heidelberg - Jon Hunter <jonathanh@nvidia.com> 1188dffe43SDavid Heidelberg - Thierry Reding <thierry.reding@gmail.com> 1288dffe43SDavid Heidelberg 1388dffe43SDavid Heidelbergproperties: 1488dffe43SDavid Heidelberg clocks: 1588dffe43SDavid Heidelberg items: 1688dffe43SDavid Heidelberg - description: PLL A clock 1788dffe43SDavid Heidelberg - description: PLL A OUT0 clock 1888dffe43SDavid Heidelberg - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk 1988dffe43SDavid Heidelberg 2088dffe43SDavid Heidelberg clock-names: 2188dffe43SDavid Heidelberg items: 2288dffe43SDavid Heidelberg - const: pll_a 2388dffe43SDavid Heidelberg - const: pll_a_out0 2488dffe43SDavid Heidelberg - const: mclk 2588dffe43SDavid Heidelberg 2688dffe43SDavid Heidelberg nvidia,model: 2788dffe43SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/string 2888dffe43SDavid Heidelberg description: The user-visible name of this sound complex. 2988dffe43SDavid Heidelberg 3088dffe43SDavid Heidelberg nvidia,audio-routing: 3188dffe43SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/non-unique-string-array 3288dffe43SDavid Heidelberg description: | 3388dffe43SDavid Heidelberg A list of the connections between audio components. 3488dffe43SDavid Heidelberg Each entry is a pair of strings, the first being the connection's sink, 3588dffe43SDavid Heidelberg the second being the connection's source. Valid names for sources and 3688dffe43SDavid Heidelberg sinks are the pins (documented in the binding document), 3788dffe43SDavid Heidelberg and the jacks on the board. 3888dffe43SDavid Heidelberg 3988dffe43SDavid Heidelberg nvidia,ac97-controller: 4088dffe43SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/phandle 4188dffe43SDavid Heidelberg description: The phandle of the AC97 controller 4288dffe43SDavid Heidelberg 4388dffe43SDavid Heidelberg nvidia,i2s-controller: 4488dffe43SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/phandle 4588dffe43SDavid Heidelberg description: The phandle of the Tegra I2S controller 4688dffe43SDavid Heidelberg 4788dffe43SDavid Heidelberg nvidia,audio-codec: 4888dffe43SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/phandle 4988dffe43SDavid Heidelberg description: The phandle of audio codec 5088dffe43SDavid Heidelberg 5188dffe43SDavid Heidelberg nvidia,spkr-en-gpios: 5288dffe43SDavid Heidelberg maxItems: 1 5388dffe43SDavid Heidelberg description: The GPIO that enables the speakers 5488dffe43SDavid Heidelberg 5588dffe43SDavid Heidelberg nvidia,hp-mute-gpios: 5688dffe43SDavid Heidelberg maxItems: 1 5788dffe43SDavid Heidelberg description: The GPIO that mutes the headphones 5888dffe43SDavid Heidelberg 5988dffe43SDavid Heidelberg nvidia,hp-det-gpios: 6088dffe43SDavid Heidelberg maxItems: 1 6188dffe43SDavid Heidelberg description: The GPIO that detect headphones are plugged in 6288dffe43SDavid Heidelberg 6388dffe43SDavid Heidelberg nvidia,mic-det-gpios: 6488dffe43SDavid Heidelberg maxItems: 1 6588dffe43SDavid Heidelberg description: The GPIO that detect microphone is plugged in 6688dffe43SDavid Heidelberg 6788dffe43SDavid Heidelberg nvidia,ear-sel-gpios: 6888dffe43SDavid Heidelberg maxItems: 1 6988dffe43SDavid Heidelberg description: The GPIO that switch between the microphones 7088dffe43SDavid Heidelberg 7188dffe43SDavid Heidelberg nvidia,int-mic-en-gpios: 7288dffe43SDavid Heidelberg maxItems: 1 7388dffe43SDavid Heidelberg description: The GPIO that enables the internal microphone 7488dffe43SDavid Heidelberg 7588dffe43SDavid Heidelberg nvidia,ext-mic-en-gpios: 7688dffe43SDavid Heidelberg maxItems: 1 7788dffe43SDavid Heidelberg description: The GPIO that enables the external microphone 7888dffe43SDavid Heidelberg 7988dffe43SDavid Heidelberg nvidia,headset: 8088dffe43SDavid Heidelberg type: boolean 8188dffe43SDavid Heidelberg description: The Mic Jack represents state of the headset microphone pin 8288dffe43SDavid Heidelberg 832a7a8ebeSSvyatoslav Ryhel nvidia,coupled-mic-hp-det: 842a7a8ebeSSvyatoslav Ryhel type: boolean 852a7a8ebeSSvyatoslav Ryhel description: The Mic detect GPIO is viable only if HP detect GPIO is active 862a7a8ebeSSvyatoslav Ryhel 8788dffe43SDavid HeidelbergadditionalProperties: true 88