* [PATCH] ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema
@ 2024-03-11 22:25 Rob Herring
2024-03-12 16:34 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2024-03-11 22:25 UTC (permalink / raw)
To: James Schulman, David Rhodes, Richard Fitzgerald, Liam Girdwood,
Mark Brown, Krzysztof Kozlowski, Conor Dooley, patches
Cc: alsa-devel, linux-sound, devicetree, linux-kernel
'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>
---
.../devicetree/bindings/sound/cirrus,cs42l43.yaml | 11 ++++++-----
1 file 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$":
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema
2024-03-11 22:25 [PATCH] ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema Rob Herring
@ 2024-03-12 16:34 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2024-03-12 16:34 UTC (permalink / raw)
To: James Schulman, David Rhodes, Richard Fitzgerald, Liam Girdwood,
Krzysztof Kozlowski, Conor Dooley, patches, Rob Herring
Cc: alsa-devel, linux-sound, devicetree, linux-kernel
On Mon, 11 Mar 2024 16:25:53 -0600, Rob Herring wrote:
> '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.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema
commit: 10eb0d3314c59dd0497282b33afabddf607b3050
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-12 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 22:25 [PATCH] ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema Rob Herring
2024-03-12 16:34 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox