162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 262306a36Sopenharmony_ci%YAML 1.2 362306a36Sopenharmony_ci--- 462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml# 562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cititle: Common properties for NVIDIA Tegra audio complexes 862306a36Sopenharmony_ci 962306a36Sopenharmony_cimaintainers: 1062306a36Sopenharmony_ci - Jon Hunter <jonathanh@nvidia.com> 1162306a36Sopenharmony_ci - Thierry Reding <thierry.reding@gmail.com> 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciproperties: 1462306a36Sopenharmony_ci clocks: 1562306a36Sopenharmony_ci items: 1662306a36Sopenharmony_ci - description: PLL A clock 1762306a36Sopenharmony_ci - description: PLL A OUT0 clock 1862306a36Sopenharmony_ci - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci clock-names: 2162306a36Sopenharmony_ci items: 2262306a36Sopenharmony_ci - const: pll_a 2362306a36Sopenharmony_ci - const: pll_a_out0 2462306a36Sopenharmony_ci - const: mclk 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci nvidia,model: 2762306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/string 2862306a36Sopenharmony_ci description: The user-visible name of this sound complex. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci nvidia,audio-routing: 3162306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/non-unique-string-array 3262306a36Sopenharmony_ci description: | 3362306a36Sopenharmony_ci A list of the connections between audio components. 3462306a36Sopenharmony_ci Each entry is a pair of strings, the first being the connection's sink, 3562306a36Sopenharmony_ci the second being the connection's source. Valid names for sources and 3662306a36Sopenharmony_ci sinks are the pins (documented in the binding document), 3762306a36Sopenharmony_ci and the jacks on the board. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci nvidia,ac97-controller: 4062306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle 4162306a36Sopenharmony_ci description: The phandle of the AC97 controller 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci nvidia,i2s-controller: 4462306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle 4562306a36Sopenharmony_ci description: The phandle of the Tegra I2S controller 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci nvidia,audio-codec: 4862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle 4962306a36Sopenharmony_ci description: The phandle of audio codec 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci nvidia,spkr-en-gpios: 5262306a36Sopenharmony_ci maxItems: 1 5362306a36Sopenharmony_ci description: The GPIO that enables the speakers 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci nvidia,hp-mute-gpios: 5662306a36Sopenharmony_ci maxItems: 1 5762306a36Sopenharmony_ci description: The GPIO that mutes the headphones 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ci nvidia,hp-det-gpios: 6062306a36Sopenharmony_ci maxItems: 1 6162306a36Sopenharmony_ci description: The GPIO that detect headphones are plugged in 6262306a36Sopenharmony_ci 6362306a36Sopenharmony_ci nvidia,mic-det-gpios: 6462306a36Sopenharmony_ci maxItems: 1 6562306a36Sopenharmony_ci description: The GPIO that detect microphone is plugged in 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci nvidia,ear-sel-gpios: 6862306a36Sopenharmony_ci maxItems: 1 6962306a36Sopenharmony_ci description: The GPIO that switch between the microphones 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci nvidia,int-mic-en-gpios: 7262306a36Sopenharmony_ci maxItems: 1 7362306a36Sopenharmony_ci description: The GPIO that enables the internal microphone 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ci nvidia,ext-mic-en-gpios: 7662306a36Sopenharmony_ci maxItems: 1 7762306a36Sopenharmony_ci description: The GPIO that enables the external microphone 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ci nvidia,headset: 8062306a36Sopenharmony_ci type: boolean 8162306a36Sopenharmony_ci description: The Mic Jack represents state of the headset microphone pin 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ci nvidia,coupled-mic-hp-det: 8462306a36Sopenharmony_ci type: boolean 8562306a36Sopenharmony_ci description: The Mic detect GPIO is viable only if HP detect GPIO is active 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ciadditionalProperties: true 88