dts: audio: fix spdif_a share buffer with i2s
authorJian Xu <jian.xu@amlogic.com>
Fri, 24 Aug 2018 02:50:44 +0000 (10:50 +0800)
committerSandy Luo <sandy.luo@amlogic.com>
Fri, 24 Aug 2018 02:50:54 +0000 (10:50 +0800)
PD#160888: dts: audio: fix spdif_a share buffer with i2s

Change-Id: I61f8f69d613d7bd1d52de173a13c43ceae21b80a
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts

index 757fec8..5fa634c 100644 (file)
                        "venci_0_gate",
                        "venci_1_gate",
                        "vdac_clk_gate";
-               clk_path = <0>;
 
                /* performance: reg_address, reg_value */
                /* g12a */
                 * 3: spdifout;
                 * 4: spdifout_b;
                 */
-               samesource_sel = <3>;
+               samesource_sel = <4>;
        };
 
        aml_tdmc: tdmc {
                compatible = "amlogic, g12a-snd-tdmc";
                #sound-dai-cells = <0>;
-               dai-tdm-lane-slot-mask-in = <0 1 0 0>;
+               dai-tdm-lane-slot-mask-in = <1 0 0 0>;
                #dai-tdm-lane-slot-mask-out = <1 0 1 1>;
                #dai-tdm-lane-oe-slot-mask-in = <0 0 0 0>;
-               dai-tdm-lane-oe-slot-mask-out = <1 0 0 0>;
+               #dai-tdm-lane-oe-slot-mask-out = <1 0 0 0>;
                dai-tdm-clk-sel = <2>;
                clocks = <&clkaudio CLKID_AUDIO_MCLK_C
                                &clkc CLKID_MPLL2>;
 
                interrupt-names = "irq_spdifin";
                pinctrl-names = "spdif_pins";
-               /*pinctrl-0 = <&spdifout &spdifin>;*/
+               pinctrl-0 = <&spdifout &spdifin>;
                status = "okay";
        };
        aml_spdif_b: spdif_b {
        };
 
        tdmout_c:tdmout_c {
-               mux { /* GPIOA_12, GPIOA_13, GPIOA_10, GPIOA_8, GPIOA_7*/
+               mux { /* GPIOA_12, GPIOA_13, GPIOA_8, GPIOA_7*/
                        groups = "tdmc_sclk_a",
                                "tdmc_fs_a",
                                "tdmc_dout0_a"
        };
 
        tdmin_c:tdmin_c {
-               mux { /* GPIOA_9 */
-                       groups = "tdmc_din1_a";
+               mux { /* GPIOA_10 */
+                       groups = "tdmc_din0_a";
                        function = "tdmc_in";
                };
        };