Skip to content

Commit 10eb0d3

Browse files
robherringbroonie
authored andcommitted
ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema
'gpio-ranges' is a phandle-array which is really a matrix. The schema in cirrus,cs42l43 is incomplete as it doesn't define there's only a single entry. Add the outer array constraints that there is a single entry. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://msgid.link/r/20240311222554.1940567-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent db18536 commit 10eb0d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,12 @@ properties:
185185

186186
gpio-ranges:
187187
items:
188-
- description: A phandle to the CODEC pinctrl node
189-
minimum: 0
190-
- const: 0
191-
- const: 0
192-
- const: 3
188+
- items:
189+
- description: A phandle to the CODEC pinctrl node
190+
minimum: 0
191+
- const: 0
192+
- const: 0
193+
- const: 3
193194

194195
patternProperties:
195196
"-state$":

0 commit comments

Comments
 (0)