ASoC: dt-bindings: renesas: rsnd: tidyup properties
1) resets/reset-names needs minItems 2) It can use ports, not only port 3) It is not using audio-graph properties Without this patch, we will get warnings Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87wnrooe2z.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
03effde3a2
commit
17c2d247dd
1 changed files with 9 additions and 1 deletions
|
@ -86,9 +86,11 @@ properties:
|
||||||
power-domains: true
|
power-domains: true
|
||||||
|
|
||||||
resets:
|
resets:
|
||||||
|
minItems: 1
|
||||||
maxItems: 11
|
maxItems: 11
|
||||||
|
|
||||||
reset-names:
|
reset-names:
|
||||||
|
minItems: 1
|
||||||
maxItems: 11
|
maxItems: 11
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
|
@ -110,6 +112,13 @@ properties:
|
||||||
- pattern: '^dvc\.[0-1]$'
|
- pattern: '^dvc\.[0-1]$'
|
||||||
- pattern: '^clk_(a|b|c|i)$'
|
- pattern: '^clk_(a|b|c|i)$'
|
||||||
|
|
||||||
|
ports:
|
||||||
|
$ref: /schemas/graph.yaml#/properties/ports
|
||||||
|
properties:
|
||||||
|
port(@[0-9a-f]+)?:
|
||||||
|
$ref: audio-graph-port.yaml#
|
||||||
|
unevaluatedProperties: false
|
||||||
|
|
||||||
port:
|
port:
|
||||||
$ref: audio-graph-port.yaml#
|
$ref: audio-graph-port.yaml#
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
@ -257,7 +266,6 @@ required:
|
||||||
- "#sound-dai-cells"
|
- "#sound-dai-cells"
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: audio-graph.yaml#
|
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
Loading…
Add table
Reference in a new issue