Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: renesas: Fix R-Car Gen4 SoC-specific compatibles

make dtbs_check:

arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dtb: sound@ec5a0000: compatible: 'oneOf' conditional failed, one must be fixed:
['renesas,rcar_sound-r8a779g0', 'renesas,rcar_sound-gen4'] is too short
...
'renesas,rcar_sound-r8a779h0' was expected

The list of SoC-specific compatible values for R-Car Gen4 SoCs is
mutually-exclusive, just like for other R-Car SoC generations, so it
should use an enum.

Fixes: d6e792ed7dd022a1 ("ASoC: dt-bindings: renesas: add R8A779H0 V4M")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/b3a6cf12c46b23a501b0d54c6892b969e2a55145.1713874657.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Geert Uytterhoeven and committed by
Mark Brown
466c8c46 fe2a8413

+3 -2
+3 -2
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
··· 48 48 - const: renesas,rcar_sound-gen3 49 49 # for Gen4 SoC 50 50 - items: 51 - - const: renesas,rcar_sound-r8a779g0 # R-Car V4H 52 - - const: renesas,rcar_sound-r8a779h0 # R-Car V4M 51 + - enum: 52 + - renesas,rcar_sound-r8a779g0 # R-Car V4H 53 + - renesas,rcar_sound-r8a779h0 # R-Car V4M 53 54 - const: renesas,rcar_sound-gen4 54 55 # for Generic 55 56 - enum: