From efbfa2302c56b22a866d783a024966018b4fa3aa Mon Sep 17 00:00:00 2001 From: Shuai Li Date: Wed, 8 May 2019 17:37:37 +0800 Subject: [PATCH] audio: config 2+2 loopback [1/1] PD#SWPL-7741 Problem: Default is 6+2. But aec needs 2+2 setting. Solution: Change the dts setting. Verify: SM1 AC213. Change-Id: I5b3585c017146bde5b265f315f8167e8232566fb Signed-off-by: Shuai Li --- arch/arm/boot/dts/amlogic/sm1_s905x3_ac213.dts | 18 +++++++++--------- arch/arm64/boot/dts/amlogic/sm1_s905x3_ac213.dts | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/sm1_s905x3_ac213.dts b/arch/arm/boot/dts/amlogic/sm1_s905x3_ac213.dts index 7c8a470..cf7af78 100644 --- a/arch/arm/boot/dts/amlogic/sm1_s905x3_ac213.dts +++ b/arch/arm/boot/dts/amlogic/sm1_s905x3_ac213.dts @@ -1332,10 +1332,10 @@ * 4: pdmin; */ datain_src = <4>; - datain_chnum = <6>; - datain_chmask = <0x3f>; + datain_chnum = <2>; + datain_chmask = <0x3>; /* config which data pin for loopback */ - datain-lane-mask-in = <1 1 1 0>; + datain-lane-mask-in = <1 0 0 0>; /* calc mclk for datalb */ mclk-fs = <256>; @@ -1493,12 +1493,12 @@ }; pdmin: pdmin { - mux { /* GPIOA_5, GPIOA_6, GPIOA_8, GPIOA_9, GPIOA_7 */ - groups = "pdm_din0_a", - /*"pdm_din1_a",*/ - "pdm_din2_a", - /*"pdm_din3_a",*/ - "pdm_dclk_a"; + mux { /* GPIOZ_2, GPIOZ_3, GPIOZ_4, GPIOZ_5, GPIOZ_6 */ + groups = "pdm_din0_z", + "pdm_din1_z", + "pdm_din2_z", + "pdm_din3_z", + "pdm_dclk_z"; function = "pdm"; }; }; diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905x3_ac213.dts b/arch/arm64/boot/dts/amlogic/sm1_s905x3_ac213.dts index 5c03bab..5ab7981 100644 --- a/arch/arm64/boot/dts/amlogic/sm1_s905x3_ac213.dts +++ b/arch/arm64/boot/dts/amlogic/sm1_s905x3_ac213.dts @@ -1409,10 +1409,10 @@ * 4: pdmin; */ datain_src = <4>; - datain_chnum = <6>; - datain_chmask = <0x3f>; + datain_chnum = <2>; + datain_chmask = <0x3>; /* config which data pin for loopback */ - datain-lane-mask-in = <1 1 1 0>; + datain-lane-mask-in = <1 0 0 0>; /* calc mclk for datalb */ mclk-fs = <256>; @@ -1570,12 +1570,12 @@ }; pdmin: pdmin { - mux { /* GPIOA_5, GPIOA_6, GPIOA_8, GPIOA_9, GPIOA_7 */ - groups = "pdm_din0_a", - "pdm_din1_a", - "pdm_din2_a", - /*"pdm_din3_a",*/ - "pdm_dclk_a"; + mux { /* GPIOZ_2, GPIOZ_3, GPIOZ_4, GPIOZ_5, GPIOZ_6 */ + groups = "pdm_din0_z", + "pdm_din1_z", + "pdm_din2_z", + "pdm_din3_z", + "pdm_dclk_z"; function = "pdm"; }; }; -- 2.7.4