* [PATCH] ASoC: dt-bindings: es8316: Fix supply property constraints
@ 2026-08-13 11:53 Hongyang Zhao
2026-08-13 16:49 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Hongyang Zhao @ 2026-08-13 11:53 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Daniel Drake, Katsuhiro Suzuki, Matteo Martelli,
Binbin Zhou
Cc: linux-sound, devicetree, linux-kernel, Roger Shimizu,
Hongyang Zhao
The DT meta-schema requires a `then` clause when an `if` condition has
an `else` clause. Invert the compatible check and move the supply
property restrictions to `then` so they remain allowed only for ES8316.
Fixes: e9966d450b46 ("ASoC: dt-bindings: es8316: Add regulator supplies")
Reported-by: Rob Herring <robh@kernel.org>
Closes: https://lore.kernel.org/r/20260812194234.GA693895-robh@kernel.org
Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
---
Fix the conditional schema added by commit e9966d450b46. Invert the
compatible check and move the supply restrictions under `then`.
---
Documentation/devicetree/bindings/sound/everest,es8316.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/everest,es8316.yaml b/Documentation/devicetree/bindings/sound/everest,es8316.yaml
index 276c73bb4790..f4ff23120c5b 100644
--- a/Documentation/devicetree/bindings/sound/everest,es8316.yaml
+++ b/Documentation/devicetree/bindings/sound/everest,es8316.yaml
@@ -33,9 +33,10 @@ allOf:
- if:
properties:
compatible:
- contains:
- const: everest,es8316
- else:
+ not:
+ contains:
+ const: everest,es8316
+ then:
properties:
avdd-supply: false
cpvdd-supply: false
---
base-commit: 79a883d53960fb2eaf02f72a37182078b4fc938e
change-id: 20260813-b4-es8316-binding-conditional-fix-0bbc9151fef2
Best regards,
--
Hongyang Zhao <hongyang.zhao@thundersoft.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ASoC: dt-bindings: es8316: Fix supply property constraints
2026-08-13 11:53 [PATCH] ASoC: dt-bindings: es8316: Fix supply property constraints Hongyang Zhao
@ 2026-08-13 16:49 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-08-13 16:49 UTC (permalink / raw)
To: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Daniel Drake, Katsuhiro Suzuki, Matteo Martelli, Binbin Zhou,
Hongyang Zhao
Cc: linux-sound, devicetree, linux-kernel, Roger Shimizu
On Thu, 13 Aug 2026 19:53:34 +0800, Hongyang Zhao wrote:
> ASoC: dt-bindings: es8316: Fix supply property constraints
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3
Thanks!
[1/1] ASoC: dt-bindings: es8316: Fix supply property constraints
https://git.kernel.org/broonie/sound/c/bc34c37ed826
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:[~2026-08-14 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 11:53 [PATCH] ASoC: dt-bindings: es8316: Fix supply property constraints Hongyang Zhao
2026-08-13 16:49 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox