]> www.infradead.org Git - linux.git/commitdiff
ARM: tegra: tf701t: Complete sound bindings
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 6 Aug 2024 12:39:02 +0000 (15:39 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Aug 2024 15:16:28 +0000 (17:16 +0200)
With these changes sound works, only UCM configs are needed for
complete support.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/nvidia/tegra114-asus-tf701t.dts

index 6618529fda0275129989e6f8366da66d81c83dd4..a48263b90d12dfcdbefc68cce64b89a9dc7b86a2 100644 (file)
                        compatible = "realtek,rt5639";
                        reg = <0x1c>;
 
-                       interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
+                       realtek,ldo1-en-gpios =
+                               <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
 
-                       realtek,ldo1-en-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
+                       clocks = <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
+                       clock-names = "mclk";
                };
 
                temp_sensor: temperature-sensor@4c {
        };
 
        ahub@70080000 {
-               i2s@70080300 {
+               /* HIFI CODEC (i2s1) */
+               i2s@70080400 {
+                       status = "okay";
+               };
+
+               /* BT SCO (i2s3) */
+               i2s@70080600 {
                        status = "okay";
                };
        };
                        "Speakers", "SPORN",
                        "Speakers", "SPOLP",
                        "Speakers", "SPOLN",
-                       "Mic Jack", "MICBIAS1",
-                       "IN2P", "Mic Jack";
+                       "IN1P", "Mic Jack",
+                       "IN1N", "Mic Jack",
+                       "DMIC1", "Int Mic",
+                       "DMIC2", "Int Mic";
 
-               nvidia,i2s-controller = <&tegra_i2s0>;
+               nvidia,i2s-controller = <&tegra_i2s1>;
                nvidia,audio-codec = <&rt5639>;
 
                nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_LOW>;
+               nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>;
 
                clocks = <&tegra_car TEGRA114_CLK_PLL_A>,
                         <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,