Unverified Commit b2527dcd authored by Sugar Zhang's avatar Sugar Zhang Committed by Mark Brown
Browse files

ASoC: dt-bindings: rockchip: pdm: Document property 'rockchip,path-map'



This is an optional property to describe data path mapping.

Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1630675438-3418-1-git-send-email-sugar.zhang@rock-chips.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 13e6e042
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -24,6 +24,22 @@ Required properties:
	     pinctrl-names. See ../pinctrl/pinctrl-bindings.txt
	     for details of the property values.

Optional properties:
- rockchip,path-map: This is a variable length array, that shows the mapping
  of SDIx to PATHx. By default, they are one-to-one mapping as follows:

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

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

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

Example for rk3328 PDM controller:

pdm: pdm@ff040000 {