From 256d807cf30df7434764abbe3b34949a5930d6fe Mon Sep 17 00:00:00 2001 From: "bing.jiang" Date: Wed, 29 May 2019 16:24:15 +0800 Subject: [PATCH] audio: modify loopback dts config for AVS [1/1] PD#SWPL-9122 Problem: AVS cannot wake up on S400_sbr Solution: Enable 8ch pdm + 8ch loopback Verify: S400 S400_SBR A113 Change-Id: Iea6ca6d55ad924a23eafbfb2b5e1f85ed57e1414 Signed-off-by: bing.jiang --- arch/arm/boot/dts/amlogic/axg_s400_v03sbr.dts | 12 ++++++------ arch/arm64/boot/dts/amlogic/axg_s400_v03sbr.dts | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/axg_s400_v03sbr.dts b/arch/arm/boot/dts/amlogic/axg_s400_v03sbr.dts index c3d9f0e..e33d2e1 100644 --- a/arch/arm/boot/dts/amlogic/axg_s400_v03sbr.dts +++ b/arch/arm/boot/dts/amlogic/axg_s400_v03sbr.dts @@ -1348,10 +1348,10 @@ * 4: pdmin; */ datain_src = <4>; - datain_chnum = <6>; - datain_chmask = <0x3f>; + datain_chnum = <8>; + datain_chmask = <0xff>; /* config which data pin for loopback */ - datain-lane-mask-in = <1 1 1 0>; + datain-lane-mask-in = <1 1 1 1>; /* calc mclk for datalb */ mclk-fs = <256>; @@ -1368,10 +1368,10 @@ */ /* if tdmin_lb >= 3, use external loopback */ datalb_src = <2>; - datalb_chnum = <2>; - datalb_chmask = <0x3>; + datalb_chnum = <8>; + datalb_chmask = <0xff>; /* config which data pin as loopback */ - datalb-lane-mask-in = <1 0 0 0>; + datalb-lane-mask-in = <1 1 1 1>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/amlogic/axg_s400_v03sbr.dts b/arch/arm64/boot/dts/amlogic/axg_s400_v03sbr.dts index f7a326f..b2d926a 100644 --- a/arch/arm64/boot/dts/amlogic/axg_s400_v03sbr.dts +++ b/arch/arm64/boot/dts/amlogic/axg_s400_v03sbr.dts @@ -1348,10 +1348,10 @@ * 4: pdmin; */ datain_src = <4>; - datain_chnum = <6>; - datain_chmask = <0x3f>; + datain_chnum = <8>; + datain_chmask = <0xff>; /* config which data pin for loopback */ - datain-lane-mask-in = <1 1 1 0>; + datain-lane-mask-in = <1 1 1 1>; /* calc mclk for datalb */ mclk-fs = <256>; @@ -1368,10 +1368,10 @@ */ /* if tdmin_lb >= 3, use external loopback */ datalb_src = <2>; - datalb_chnum = <2>; - datalb_chmask = <0x3>; + datalb_chnum = <8>; + datalb_chmask = <0xff>; /* config which data pin as loopback */ - datalb-lane-mask-in = <1 0 0 0>; + datalb-lane-mask-in = <1 1 1 1>; status = "okay"; }; -- 2.7.4