audio: open audio out for g12b socket board [1/1]
authorhuijie.huang <huijie.huang@amlogic.com>
Tue, 12 Mar 2019 10:19:39 +0000 (18:19 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 19 Mar 2019 09:01:28 +0000 (01:01 -0800)
PD#SWPL-5833

Problem:
No audio out for g12b socket board

Solution:
Open audio codec

Verify:
test pass on g12b socket board

Change-Id: Ieec710edec218a13da41d249889515b0ac53a3e9
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
arch/arm/boot/dts/amlogic/g12b_a311d_skt.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_skt.dts

index ec4dd31..e0db02b 100644 (file)
        };
        amlogic_codec:t9015{
                #sound-dai-cells = <0>;
-               /*compatible = "amlogic, aml_codec_T9015";*/
+               compatible = "amlogic, aml_codec_T9015";
                reg = <0xFF632000 0x2000>;
                is_auge_used = <1>; /* meson or auge chipset used */
                tdmout_index = <1>;
-               status = "disabled";
+               status = "okay";
        };
        audio_effect:eqdrc{
                /*eq_enable = <1>;*/
                        };
                        tdmbcodec: codec {
                                sound-dai = <&dummy_codec &dummy_codec
-                               &dummy_codec &ad82584f_62>;
+                               &amlogic_codec &ad82584f_62>;
                        };
                };
 
                 * 3: spdifout;
                 * 4: spdifout_b;
                 */
-               samesource_sel = <4>;
+               /*samesource_sel = <4>; */
        };
 
        aml_tdmc: tdmc {
index b871c46..502e995 100644 (file)
        };
        amlogic_codec:t9015{
                #sound-dai-cells = <0>;
-               /*compatible = "amlogic, aml_codec_T9015";*/
+               compatible = "amlogic, aml_codec_T9015";
                reg = <0x0 0xFF632000 0x0 0x2000>;
                is_auge_used = <1>; /* meson or auge chipset used */
                tdmout_index = <1>;
-               status = "disabled";
+               status = "okay";
        };
        audio_effect:eqdrc{
                /*eq_enable = <1>;*/
                        };
                        tdmbcodec: codec {
                                sound-dai = <&dummy_codec &dummy_codec
-                               &dummy_codec &ad82584f_62>;
+                               &amlogic_codec &ad82584f_62>;
                        };
                };
 
                 * 3: spdifout;
                 * 4: spdifout_b;
                 */
-               samesource_sel = <4>;
+               /* samesource_sel = <4>; */
        };
 
        aml_tdmc: tdmc {