audio: Add PDM lane mask [1/1]
authoryujie.wu <yujie.wu@amlogic.com>
Tue, 12 Mar 2019 02:58:30 +0000 (10:58 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 12 Mar 2019 10:37:41 +0000 (02:37 -0800)
commit42276afad41a9ce66f1e7193c2500e0cb037345f
tree4fa6e9bc16b4ab1368acccc83345ebb44f0b12f8
parente9f798ceff205d4bc26ac88fc5ca72cb3abe5b87
audio: Add PDM lane mask        [1/1]

PD#SWPL-5594

Problem:
  The PDM input channel is not always in the
  first lane, we need a mask to detect which
  lane to use

Solution:
  Add lane config in PDM module
  Add lane-mask-in in W411 config

Verify:
  W411

Change-Id: I48ca5927402282611ba5e225d75d034eeceacad6
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot_a.dts
sound/soc/amlogic/auge/pdm.c
sound/soc/amlogic/auge/pdm.h
sound/soc/amlogic/auge/pdm_hw.c
sound/soc/amlogic/auge/pdm_hw.h