Commit 515d2757 authored by Johan Jonker's avatar Johan Jonker Committed by Mark Brown

dt-bindings: sound: rockchip-i2s: 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-i2s.yaml'
Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200324094149.6904-2-jbx6244@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 472abb80
...@@ -77,6 +77,9 @@ properties: ...@@ -77,6 +77,9 @@ properties:
Required property for controllers which support multi channel Required property for controllers which support multi channel
playback/capture. playback/capture.
"#sound-dai-cells":
const: 0
required: required:
- compatible - compatible
- reg - reg
...@@ -85,6 +88,7 @@ required: ...@@ -85,6 +88,7 @@ required:
- clock-names - clock-names
- dmas - dmas
- dma-names - dma-names
- "#sound-dai-cells"
additionalProperties: false additionalProperties: false
...@@ -103,4 +107,5 @@ examples: ...@@ -103,4 +107,5 @@ examples:
dma-names = "tx", "rx"; dma-names = "tx", "rx";
rockchip,capture-channels = <2>; rockchip,capture-channels = <2>;
rockchip,playback-channels = <8>; rockchip,playback-channels = <8>;
#sound-dai-cells = <0>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment