summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2020-04-04 13:52:24 +0200
committerMark Brown <broonie@kernel.org>2020-04-14 16:45:23 +0200
commitf0c0f5a4541cb5dee1f16cebcc4e11d952394c53 (patch)
tree86926ff300392437fcf961973d27c9ca609f3d8e
parentASoC: convert rockchip spdif bindings to yaml (diff)
downloadlinux-f0c0f5a4541cb5dee1f16cebcc4e11d952394c53.tar.xz
linux-f0c0f5a4541cb5dee1f16cebcc4e11d952394c53.zip
ASoC: rockchip-spdif: add #sound-dai-cells property
'#sound-dai-cells' is required to properly interpret the list of DAI specified in the 'sound-dai' property, so add them to 'rockchip-spdif.yaml' Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200404115225.4314-2-jbx6244@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip-spdif.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
index bfd44fd8ecbc..f381dbbf5de6 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
+++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
@@ -57,6 +57,9 @@ properties:
The phandle of the syscon node for the GRF register.
Required property on RK3288.
+ "#sound-dai-cells":
+ const: 0
+
required:
- compatible
- reg
@@ -65,6 +68,7 @@ required:
- clock-names
- dmas
- dma-names
+ - "#sound-dai-cells"
if:
properties:
@@ -90,4 +94,5 @@ examples:
clock-names = "mclk", "hclk";
dmas = <&dmac1_s 8>;
dma-names = "tx";
+ #sound-dai-cells = <0>;
};