OSDN Git Service

dt-bindings: arm: sunxi: Default to the full MBUS binding
authorSamuel Holland <samuel@sholland.org>
Sat, 2 Jul 2022 04:24:46 +0000 (23:24 -0500)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Fri, 8 Jul 2022 16:48:24 +0000 (18:48 +0200)
Some older SoCs use a deprecated MBUS binding with some clocks missing.
Currently, new SoCs must opt in to the complete binding. This should be
the default, so new SoCs do not accidentally use the deprecated version.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220702042447.26734-1-samuel@sholland.org
Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml

index 8eee312..2b018fe 100644 (file)
@@ -81,13 +81,13 @@ required:
   - dma-ranges
 
 if:
-  properties:
-    compatible:
-      contains:
-        enum:
-          - allwinner,sun8i-h3-mbus
-          - allwinner,sun50i-a64-mbus
-          - allwinner,sun50i-h5-mbus
+  not:
+    properties:
+      compatible:
+        contains:
+          enum:
+            - allwinner,sun5i-a13-mbus
+            - allwinner,sun8i-r40-mbus
 
 then:
   properties: