[PATCH] dt-bindings: media: i2c: max9286: Specify 'type'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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(+)

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
--
2.24.0




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux