ASoC: rockchip: pdm: Add support for path map

This patch adds property 'rockchip,path-map' for path mapping.

e.g.

"rockchip,path-map = <3 2 1 0>" means the mapping as follows:

  path0 <-- sdi3
  path1 <-- sdi2
  path2 <-- sdi1
  path3 <-- sdi0

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1630675410-3354-5-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Sugar Zhang 2021-09-03 21:23:28 +08:00 • committed by Mark Brown
commit 13e6e042a6
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 37 additions and 0 deletions