diff options
author | Rob Herring <robh@kernel.org> | 2024-03-11 23:25:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-12 14:55:52 +0100 |
commit | 10eb0d3314c59dd0497282b33afabddf607b3050 (patch) | |
tree | d2c36e8ca7da56f3ea78f2fbfa7b3f1ecc02c0c5 /Documentation | |
parent | ASoC: amd: yc: Fix non-functional mic on ASUS M7600RE (diff) | |
download | linux-10eb0d3314c59dd0497282b33afabddf607b3050.tar.xz linux-10eb0d3314c59dd0497282b33afabddf607b3050.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml index 7f9d8c7a635a..99a536601cc7 100644 --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml @@ -185,11 +185,12 @@ properties: gpio-ranges: items: - - description: A phandle to the CODEC pinctrl node - minimum: 0 - - const: 0 - - const: 0 - - const: 3 + - items: + - description: A phandle to the CODEC pinctrl node + minimum: 0 + - const: 0 + - const: 0 + - const: 3 patternProperties: "-state$": |