ASoC: dt-bindings: sun4i-spdif: Fix dma-names warning
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Aug 2019 12:52:05 +0000 (14:52 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 30 Aug 2019 16:05:30 +0000 (17:05 +0100)
Even though the H6 compatible has been properly added, the exeption for the
number of DMA channels hasn't been updated, leading in a validation
warning.

Fix this.

Fixes: b20453031472 ("dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible")
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://lore.kernel.org/r/20190828125209.28173-1-mripard@kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml

index e0284d8c3b636f0db2097cb3bdf316bb53c95ef5..38d4cede0860dd5aed5402e4cdb34dff5f39a677 100644 (file)
@@ -70,7 +70,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: allwinner,sun8i-h3-spdif
+            enum:
+              - allwinner,sun8i-h3-spdif
+              - allwinner,sun50i-h6-spdif
 
     then:
       properties: