]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: dts: e2190: fix audio dt node
authorKerwin Wan <kerwinw@nvidia.com>
Tue, 9 Sep 2014 01:25:46 +0000 (18:25 -0700)
committerDara Ramesh <dramesh@nvidia.com>
Wed, 10 Sep 2014 06:27:04 +0000 (23:27 -0700)
1. enable spi interface on audience
2. correct headset gpio

Change-Id: Ic4b80fa03aa7cd2ca9ace89e171d339c045a25f4
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/496719
(cherry picked from commit 623b0eeb3d2a1d52a56fb7e1a05767e2e16f36e4)
Reviewed-on: http://git-master/r/497051
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
arch/arm64/boot/dts/tegra210-ers-e2190-1100-a00-00.dts

index 4ba5107af07fdaddffc3cd92e03ca6ba56643f1d..1b1408d630280d91c46d02ab79795201be12ac98 100644 (file)
                status = "okay";
        };
 
-       i2c@7000c000 {
-               rt5639: rt5639.0-001c@1c {
-                       compatible = "realtek,rt5639";
-                       reg = <0x1c>;
-               };
-               earSmart: earSmart-codec.0-003e@3e {
-                       compatible = "adnc,earSmart";
-                       reg = <0x3e>;
+       spi@7000d400 {
+               status = "okay";
+               earSmart: earSmart-codec@0 {
+                       compatible = "adnc,earSmart-codec";
+                       reg = <0>;
+                       spi-max-frequency = <6000000>;
+                       spi-cpha;
 
                        adnc,reset-gpio = <&gpio TEGRA_GPIO(BB, 3) GPIO_ACTIVE_HIGH>;
-                       adnc,gpiob-gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
+                       adnc,gpiob-gpio = <&gpio TEGRA_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
                        adnc,wakeup-gpio = <&gpio TEGRA_GPIO(K, 2) GPIO_ACTIVE_HIGH>;
+
                        adnc,int-gpio = <(-1)>;
                        adnc,gpioa-gpio = <(-1)>;
                        adnc,enable_hs_uart_intf = <0>;
        sound {
                compatible = "nvidia,tegra-audio-t210ref-mobile-es755";
                nvidia,model = "tegra-snd-t210ref-mobile-es755";
-               nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
+               nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
                nvidia,num-codec-link = <2>;
 
                nvidia,audio-routing =
                        name-prefix = "y";
                };
        };
+
        memory@80000000 {
                device_type = "memory";
                reg = < 0x0 0x80000000 0x0 0x80000000>;