ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3
authorTobias Schramm <t.schramm@manjaro.org>
Fri, 14 May 2021 13:44:02 +0000 (15:44 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 18 May 2021 15:17:58 +0000 (17:17 +0200)
The analog codec frontend of the Allwinner V3 is compatible with the
analog codec frontend used on the Allwinner H3.
This patch adds a compatible string for the analog codec frontend on the
Allwinner V3 SoC.

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210514134405.2097464-5-t.schramm@manjaro.org
Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml

index 9718358826abdaebd02260385519c7a5b7d34898..26eca21e1f0f5daf8a6cb63016db7496251ded1e 100644 (file)
@@ -12,12 +12,15 @@ maintainers:
 
 properties:
   compatible:
-    enum:
+    oneOf:
       # FIXME: This is documented in the PRCM binding, but needs to be
       # migrated here at some point
       # - allwinner,sun8i-a23-codec-analog
-      - allwinner,sun8i-h3-codec-analog
-      - allwinner,sun8i-v3s-codec-analog
+      - const: allwinner,sun8i-h3-codec-analog
+      - items:
+          - const: allwinner,sun8i-v3-codec-analog
+          - const: allwinner,sun8i-h3-codec-analog
+      - const: allwinner,sun8i-v3s-codec-analog
 
   reg:
     maxItems: 1