dt-bindings: media: csi: Add interconnects properties
authorMaxime Ripard <maxime@cerno.tech>
Mon, 10 Feb 2020 10:04:16 +0000 (11:04 +0100)
committerRob Herring <robh@kernel.org>
Thu, 20 Feb 2020 01:03:44 +0000 (19:03 -0600)
The Allwinner CSI controller is sitting beside the MBUS that is represented
as an interconnect.

Make sure that the interconnect properties are valid in the binding.

Fixes: 7866d6903ce8 ("media: dt-bindings: media: sun4i-csi: Add compatible for CSI0 on R40")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml

index 9af873b43acd8742ade8ed944e2cfea4ec045369..afde17d9dab185f110f6e15c4811f643942c243b 100644 (file)
@@ -51,6 +51,16 @@ properties:
   resets:
     maxItems: 1
 
+  # FIXME: This should be made required eventually once every SoC will
+  # have the MBUS declared.
+  interconnects:
+    maxItems: 1
+
+  # FIXME: This should be made required eventually once every SoC will
+  # have the MBUS declared.
+  interconnect-names:
+    const: dma-mem
+
   # See ./video-interfaces.txt for details
   port:
     type: object