arm64: dts: txl: audio: re-map spk and dac mask
authorXing Wang <xing.wang@amlogic.com>
Thu, 26 Jul 2018 07:51:37 +0000 (15:51 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Fri, 27 Jul 2018 02:37:00 +0000 (19:37 -0700)
PD#170319: arm64: dts: txl: audio: re-map spk and dac mask

Change-Id: I47da64823dfa90460abf2327cd2e628320ef8ab1
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
arch/arm64/boot/dts/amlogic/txl_t950_p341.dts
arch/arm64/boot/dts/amlogic/txl_t960_p346.dts
arch/arm64/boot/dts/amlogic/txl_t962_p320.dts
arch/arm64/boot/dts/amlogic/txl_t962_p321.dts
sound/soc/amlogic/meson/tv.c

index b104a1b..9af220c 100644 (file)
                };
                Channel_Mask {
                        /*i2s has 4 pins, 8channel, mux output*/
-                       Speaker0_Channel_Mask = "i2s_2/3";
+                       DAC0_Channel_Mask = "i2s_2/3";
                };
        };
 
index af69487..de345e8 100644 (file)
                };
                Channel_Mask {
                        /*i2s has 4 pins, 8channel, mux output*/
-                       Speaker0_Channel_Mask = "i2s_2/3";
+                       DAC0_Channel_Mask = "i2s_2/3";
                };
        };
 
index c45f5cb..190a66b 100644 (file)
                };
                Channel_Mask {
                        /*i2s has 4 pins, 8channel, mux output*/
-                       Speaker0_Channel_Mask = "i2s_2/3";
+                       Speaker1_Channel_Mask = "i2s_2/3";
                        DAC0_Channel_Mask = "i2s_2/3";
                };
        };
index f8a3f62..ff6e23a 100644 (file)
                };
                Channel_Mask {
                        /*i2s has 4 pins, 8channel, mux output*/
-                       Speaker0_Channel_Mask = "i2s_2/3";
+                       Speaker1_Channel_Mask = "i2s_2/3";
                        DAC0_Channel_Mask = "i2s_2/3";
                };
        };
index a884113..33a698a 100644 (file)
@@ -1797,6 +1797,8 @@ int txl_chipset_init(struct snd_soc_card *card)
 
        /* channel mask */
        parse_speaker_channel_mask(card);
+       /* dac mask */
+       parse_dac_channel_mask(card);
 
        return 0;
 }