Skip to content

Commit 466c8c4

Browse files
geertubroonie
authored andcommitted
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: d6e792e ("ASoC: dt-bindings: renesas: add R8A779H0 V4M") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/b3a6cf12c46b23a501b0d54c6892b969e2a55145.1713874657.git.geert+renesas@glider.be Signed-off-by: Mark Brown <[email protected]>
1 parent fe2a841 commit 466c8c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/sound/renesas,rsnd.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ properties:
4848
- const: renesas,rcar_sound-gen3
4949
# for Gen4 SoC
5050
- 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
5354
- const: renesas,rcar_sound-gen4
5455
# for Generic
5556
- enum:

0 commit comments

Comments
 (0)