1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e67e8565SEmmanuel Vadot%YAML 1.2 3e67e8565SEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6e67e8565SEmmanuel Vadot 7e67e8565SEmmanuel Vadottitle: Common properties for NVIDIA Tegra audio complexes 8e67e8565SEmmanuel Vadot 9e67e8565SEmmanuel Vadotmaintainers: 10e67e8565SEmmanuel Vadot - Jon Hunter <jonathanh@nvidia.com> 11e67e8565SEmmanuel Vadot - Thierry Reding <thierry.reding@gmail.com> 12e67e8565SEmmanuel Vadot 13e67e8565SEmmanuel Vadotproperties: 14e67e8565SEmmanuel Vadot clocks: 15e67e8565SEmmanuel Vadot items: 16e67e8565SEmmanuel Vadot - description: PLL A clock 17e67e8565SEmmanuel Vadot - description: PLL A OUT0 clock 18e67e8565SEmmanuel Vadot - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk 19e67e8565SEmmanuel Vadot 20e67e8565SEmmanuel Vadot clock-names: 21e67e8565SEmmanuel Vadot items: 22e67e8565SEmmanuel Vadot - const: pll_a 23e67e8565SEmmanuel Vadot - const: pll_a_out0 24e67e8565SEmmanuel Vadot - const: mclk 25e67e8565SEmmanuel Vadot 26e67e8565SEmmanuel Vadot nvidia,model: 27e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string 28e67e8565SEmmanuel Vadot description: The user-visible name of this sound complex. 29e67e8565SEmmanuel Vadot 30e67e8565SEmmanuel Vadot nvidia,audio-routing: 31e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/non-unique-string-array 32e67e8565SEmmanuel Vadot description: | 33e67e8565SEmmanuel Vadot A list of the connections between audio components. 34e67e8565SEmmanuel Vadot Each entry is a pair of strings, the first being the connection's sink, 35e67e8565SEmmanuel Vadot the second being the connection's source. Valid names for sources and 36e67e8565SEmmanuel Vadot sinks are the pins (documented in the binding document), 37e67e8565SEmmanuel Vadot and the jacks on the board. 38e67e8565SEmmanuel Vadot 39e67e8565SEmmanuel Vadot nvidia,ac97-controller: 40e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 41e67e8565SEmmanuel Vadot description: The phandle of the AC97 controller 42e67e8565SEmmanuel Vadot 43e67e8565SEmmanuel Vadot nvidia,i2s-controller: 44e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 45e67e8565SEmmanuel Vadot description: The phandle of the Tegra I2S controller 46e67e8565SEmmanuel Vadot 47e67e8565SEmmanuel Vadot nvidia,audio-codec: 48e67e8565SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 49e67e8565SEmmanuel Vadot description: The phandle of audio codec 50e67e8565SEmmanuel Vadot 51e67e8565SEmmanuel Vadot nvidia,spkr-en-gpios: 52e67e8565SEmmanuel Vadot maxItems: 1 53e67e8565SEmmanuel Vadot description: The GPIO that enables the speakers 54e67e8565SEmmanuel Vadot 55e67e8565SEmmanuel Vadot nvidia,hp-mute-gpios: 56e67e8565SEmmanuel Vadot maxItems: 1 57e67e8565SEmmanuel Vadot description: The GPIO that mutes the headphones 58e67e8565SEmmanuel Vadot 59e67e8565SEmmanuel Vadot nvidia,hp-det-gpios: 60e67e8565SEmmanuel Vadot maxItems: 1 61e67e8565SEmmanuel Vadot description: The GPIO that detect headphones are plugged in 62e67e8565SEmmanuel Vadot 63e67e8565SEmmanuel Vadot nvidia,mic-det-gpios: 64e67e8565SEmmanuel Vadot maxItems: 1 65e67e8565SEmmanuel Vadot description: The GPIO that detect microphone is plugged in 66e67e8565SEmmanuel Vadot 67e67e8565SEmmanuel Vadot nvidia,ear-sel-gpios: 68e67e8565SEmmanuel Vadot maxItems: 1 69e67e8565SEmmanuel Vadot description: The GPIO that switch between the microphones 70e67e8565SEmmanuel Vadot 71e67e8565SEmmanuel Vadot nvidia,int-mic-en-gpios: 72e67e8565SEmmanuel Vadot maxItems: 1 73e67e8565SEmmanuel Vadot description: The GPIO that enables the internal microphone 74e67e8565SEmmanuel Vadot 75e67e8565SEmmanuel Vadot nvidia,ext-mic-en-gpios: 76e67e8565SEmmanuel Vadot maxItems: 1 77e67e8565SEmmanuel Vadot description: The GPIO that enables the external microphone 78e67e8565SEmmanuel Vadot 79e67e8565SEmmanuel Vadot nvidia,headset: 80e67e8565SEmmanuel Vadot type: boolean 81e67e8565SEmmanuel Vadot description: The Mic Jack represents state of the headset microphone pin 82e67e8565SEmmanuel Vadot 83fac71e4eSEmmanuel Vadot nvidia,coupled-mic-hp-det: 84fac71e4eSEmmanuel Vadot type: boolean 85fac71e4eSEmmanuel Vadot description: The Mic detect GPIO is viable only if HP detect GPIO is active 86fac71e4eSEmmanuel Vadot 87e67e8565SEmmanuel VadotadditionalProperties: true 88