audio: disable analog mic on board S400
authorPeipeng Zhao <peipeng.zhao@amlogic.com>
Thu, 27 Jul 2017 08:37:13 +0000 (16:37 +0800)
committerPeipeng Zhao <peipeng.zhao@amlogic.com>
Thu, 27 Jul 2017 08:49:23 +0000 (16:49 +0800)
PD#148261: disable analog mic on board S400
because new mic board will not connnect analog mic
        if enable analog mic, it will generate much i2c error

Change-Id: I0bc63dcdb2b4dbf47b740266008529490bcac937
Signed-off-by: Peipeng Zhao <peipeng.zhao@amlogic.com>
arch/arm64/boot/dts/amlogic/axg_s400.dts

index 12b1cf7..c6f55dd 100644 (file)
                                dai-tdm-slot-width = <32>;
                        };
                        codec {
-                               prefix-names = "3101_A", "3101_B",
-                                       "3101_C", "3101_D";
-                               sound-dai = <&tlv320adc3101_32 &tlv320adc3101_30
-                                       &tlv320adc3101_34 &tlv320adc3101_36>;
+                               sound-dai = <&tlv320adc3101_32 &dummy_codec>;
+                               /*prefix-names = "3101_A", "3101_B",*/
+                                       /*"3101_C", "3101_D";*/
+                               /*sound-dai = <&tlv320adc3101_32*/
+                                       /*&tlv320adc3101_30*/
+                                       /*&tlv320adc3101_34*/
+                                       /*&tlv320adc3101_36>;*/
                        };
                };
 
                compatible = "ti,tlv320adc3101";
                #sound-dai-cells = <0>;
                reg = <0x18>;
-               status = "okay";
+               status = "disable";
        };
        tlv320adc3101_34: tlv320adc3101_34@30 {
                compatible = "ti,tlv320adc3101";
                #sound-dai-cells = <0>;
                reg = <0x1a>;
-               status = "okay";
+               status = "disable";
        };
        tlv320adc3101_36: tlv320adc3101_36@30 {
                compatible = "ti,tlv320adc3101";
                #sound-dai-cells = <0>;
                reg = <0x1b>;
-               status = "okay";
+               status = "disable";
        };
 };