From 7e14dc2c7c986eca823a099d4aeb825885bf4623 Mon Sep 17 00:00:00 2001 From: Jian Xu Date: Thu, 13 Dec 2018 22:57:23 +0800 Subject: [PATCH] audio: dts: config tdmb/spdif continuous clk to fix spdif no clk issue [1/1] 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 --- arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts | 3 ++- arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts b/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts index 5b3f47743977..e25509f9e1ea 100644 --- a/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts +++ b/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts @@ -507,7 +507,7 @@ aml-audio-card,dai-link@1 { format = "i2s"; mclk-fs = <256>; - //continuous-clock; + continuous-clock; //bitclock-inversion; //frame-inversion; bitclock-master = <&aml_tdmb>; @@ -573,6 +573,7 @@ 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 */ diff --git a/arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts b/arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts index abc0c33748c0..ef1b803d1d01 100644 --- a/arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts +++ b/arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts @@ -604,7 +604,7 @@ aml-audio-card,dai-link@1 { format = "i2s"; mclk-fs = <256>; - //continuous-clock; + continuous-clock; //bitclock-inversion; //frame-inversion; bitclock-master = <&aml_tdmb>; @@ -670,6 +670,7 @@ 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 */