dt-bindings: media: i2c: max9286: Specify 'type'
diff mbox series

Message ID 20191211090038.5971-1-jacopo+renesas@jmondi.org
State New
Delegated to: Kieran Bingham
Headers show
Series
  • dt-bindings: media: i2c: max9286: Specify 'type'
Related show

Commit Message

Jacopo Mondi Dec. 11, 2019, 9 a.m. UTC
Add the 'type' tag to a few entries to fix the warning reported by the
most recent dtschema validator

Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml:
properties:i2c-mux: 'type' is a dependency of 'properties'

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
---
Hi Kieran,
   I know you're collecting patches to re-submit max9286 support.

Please squash this on top of the dt bindings documentation patch to fix
an issue reported by recent version of the dtschema validator.

Thanks
  j

---
 Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml | 3 +++
 1 file changed, 3 insertions(+)

--
2.24.0

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml
index 731e317ef4ce..d37ea2c432f6 100644
--- a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml
@@ -73,6 +73,7 @@  properties:
         const: 0

       port@[0-3]:
+        type: object
         properties:
           reg:
             enum: [ 0, 1, 2, 3 ]
@@ -97,6 +98,7 @@  properties:
         additionalProperties: false

       port@4:
+        type: object
         properties:
           reg:
             const: 4
@@ -126,6 +128,7 @@  properties:
       - port@4

   i2c-mux:
+    type: object
     description: -|
       Each GMSL link is modelled as a child bus of an i2c bus
       multiplexer/switch, in accordance with bindings described in