aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSugar Zhang <[email protected]>2021-09-03 21:23:57 +0800
committerMark Brown <[email protected]>2021-09-13 01:44:11 +0100
commitb2527dcd65b3e141e9363af5b256aa484bd4c06f (patch)
treea80fa2867787aaf90f2b964a47927226daccc1d1
parent13e6e042a6f9c2be676f421935e026308de3303c (diff)
ASoC: dt-bindings: rockchip: pdm: Document property 'rockchip,path-map'
This is an optional property to describe data path mapping. Signed-off-by: Sugar Zhang <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip,pdm.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip,pdm.txt b/Documentation/devicetree/bindings/sound/rockchip,pdm.txt
index 54d94438ba6c..b2d7e47a3e46 100644
--- a/Documentation/devicetree/bindings/sound/rockchip,pdm.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip,pdm.txt
@@ -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 {