audio: dts: config tdmb/spdif continuous clk to fix spdif no clk issue [1/1]
authorJian Xu <jian.xu@amlogic.com>
Thu, 13 Dec 2018 14:57:23 +0000 (22:57 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Tue, 18 Dec 2018 06:17:04 +0000 (14:17 +0800)
PD#SWPL-2491

Problem:
HDMI output no sound when system boot up

Solution:
When system bootup,there is no sound,Checked the issue, pcm_write always fail,
cat /d/aml_clkmsr/clkmsr ,[120][ 6000000]audio_spdifout_mst_clk.
the spdif has no clock.Seems after enable same source, the spdifa clock
is not configured correctly. now configure that to continous clock.
TBD, need check the root cause in alsa kernel code.

Verify:
verify by galilei, reboot 20 times.

Change-Id: I0c50c71d2436894d63b83d4040a77a8a9aa6977c
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts
arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts

index 5b3f477..e25509f 100644 (file)
                aml-audio-card,dai-link@1 {
                        format = "i2s";
                        mclk-fs = <256>;
-                       //continuous-clock;
+                       continuous-clock;
                        //bitclock-inversion;
                        //frame-inversion;
                        bitclock-master = <&aml_tdmb>;
 
                aml-audio-card,dai-link@4 {
                        mclk-fs = <128>;
+                       continuous-clock;
                        /* suffix-name, sync with android audio hal
                         * what's the dai link used for
                         */
index abc0c33..ef1b803 100644 (file)
                aml-audio-card,dai-link@1 {
                        format = "i2s";
                        mclk-fs = <256>;
-                       //continuous-clock;
+                       continuous-clock;
                        //bitclock-inversion;
                        //frame-inversion;
                        bitclock-master = <&aml_tdmb>;
 
                aml-audio-card,dai-link@4 {
                        mclk-fs = <128>;
+                       continuous-clock;
                        /* suffix-name, sync with android audio hal
                         * what's the dai link used for
                         */