12060c9b8SDavid Heidelberg# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22060c9b8SDavid Heidelberg%YAML 1.2 32060c9b8SDavid Heidelberg--- 42060c9b8SDavid Heidelberg$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5631.yaml# 52060c9b8SDavid Heidelberg$schema: http://devicetree.org/meta-schemas/core.yaml# 62060c9b8SDavid Heidelberg 72060c9b8SDavid Heidelbergtitle: NVIDIA Tegra audio complex with RT5631 CODEC 82060c9b8SDavid Heidelberg 92060c9b8SDavid Heidelbergmaintainers: 102060c9b8SDavid Heidelberg - Jon Hunter <jonathanh@nvidia.com> 112060c9b8SDavid Heidelberg - Thierry Reding <thierry.reding@gmail.com> 122060c9b8SDavid Heidelberg 132060c9b8SDavid HeidelbergallOf: 142060c9b8SDavid Heidelberg - $ref: nvidia,tegra-audio-common.yaml# 152060c9b8SDavid Heidelberg 162060c9b8SDavid Heidelbergproperties: 172060c9b8SDavid Heidelberg compatible: 182060c9b8SDavid Heidelberg items: 192060c9b8SDavid Heidelberg - pattern: '^[a-z0-9]+,tegra-audio-rt5631(-[a-z0-9]+)+$' 202060c9b8SDavid Heidelberg - const: nvidia,tegra-audio-rt5631 212060c9b8SDavid Heidelberg 222060c9b8SDavid Heidelberg nvidia,audio-routing: 232060c9b8SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/non-unique-string-array 242060c9b8SDavid Heidelberg description: | 252060c9b8SDavid Heidelberg A list of the connections between audio components. 262060c9b8SDavid Heidelberg Each entry is a pair of strings, the first being the connection's sink, 272060c9b8SDavid Heidelberg the second being the connection's source. Valid names for sources and 282060c9b8SDavid Heidelberg sinks are the pins (documented in the binding document), 292060c9b8SDavid Heidelberg and the jacks on the board. 302060c9b8SDavid Heidelberg minItems: 2 312060c9b8SDavid Heidelberg items: 322060c9b8SDavid Heidelberg enum: 332060c9b8SDavid Heidelberg # Board Connectors 34*45698208SRob Herring - Int Spk 35*45698208SRob Herring - Headphone Jack 36*45698208SRob Herring - Mic Jack 37*45698208SRob Herring - Int Mic 382060c9b8SDavid Heidelberg 392060c9b8SDavid Heidelberg # CODEC Pins 402060c9b8SDavid Heidelberg - MIC1 412060c9b8SDavid Heidelberg - MIC2 422060c9b8SDavid Heidelberg - AXIL 432060c9b8SDavid Heidelberg - AXIR 442060c9b8SDavid Heidelberg - MONOIN_RXN 452060c9b8SDavid Heidelberg - MONOIN_RXP 462060c9b8SDavid Heidelberg - DMIC 472060c9b8SDavid Heidelberg - MIC Bias1 482060c9b8SDavid Heidelberg - MIC Bias2 492060c9b8SDavid Heidelberg - MONO_IN 502060c9b8SDavid Heidelberg - AUXO1 512060c9b8SDavid Heidelberg - AUXO2 522060c9b8SDavid Heidelberg - SPOL 532060c9b8SDavid Heidelberg - SPOR 542060c9b8SDavid Heidelberg - HPOL 552060c9b8SDavid Heidelberg - HPOR 562060c9b8SDavid Heidelberg - MONO 572060c9b8SDavid Heidelberg 582060c9b8SDavid HeidelbergunevaluatedProperties: false 592060c9b8SDavid Heidelberg 602060c9b8SDavid Heidelbergexamples: 612060c9b8SDavid Heidelberg - | 622060c9b8SDavid Heidelberg #include <dt-bindings/clock/tegra30-car.h> 632060c9b8SDavid Heidelberg #include <dt-bindings/soc/tegra-pmc.h> 642060c9b8SDavid Heidelberg sound { 652060c9b8SDavid Heidelberg compatible = "asus,tegra-audio-rt5631-tf700t", 662060c9b8SDavid Heidelberg "nvidia,tegra-audio-rt5631"; 672060c9b8SDavid Heidelberg nvidia,model = "Asus Transformer Infinity TF700T RT5631"; 682060c9b8SDavid Heidelberg 692060c9b8SDavid Heidelberg nvidia,audio-routing = 702060c9b8SDavid Heidelberg "Headphone Jack", "HPOL", 712060c9b8SDavid Heidelberg "Headphone Jack", "HPOR", 722060c9b8SDavid Heidelberg "Int Spk", "SPOL", 732060c9b8SDavid Heidelberg "Int Spk", "SPOR", 742060c9b8SDavid Heidelberg "MIC1", "MIC Bias1", 752060c9b8SDavid Heidelberg "MIC Bias1", "Mic Jack", 762060c9b8SDavid Heidelberg "DMIC", "Int Mic"; 772060c9b8SDavid Heidelberg 782060c9b8SDavid Heidelberg nvidia,i2s-controller = <&tegra_i2s1>; 792060c9b8SDavid Heidelberg nvidia,audio-codec = <&rt5631>; 802060c9b8SDavid Heidelberg 812060c9b8SDavid Heidelberg clocks = <&tegra_car TEGRA30_CLK_PLL_A>, 822060c9b8SDavid Heidelberg <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 832060c9b8SDavid Heidelberg <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 842060c9b8SDavid Heidelberg clock-names = "pll_a", "pll_a_out0", "mclk"; 852060c9b8SDavid Heidelberg }; 86