Re: [PATCH 22/36] dt-bindings: arm: Convert FSL board/soc bindings to json-schema

From
Rob Herring <robh@kernel.org>
Date
2018-10-08 13:30:54
Also in
linux-arm-kernel, linux-devicetree, lkml
Reply to
Shawn Guo, 2018-10-08
On Mon, Oct 8, 2018 at 2:02 AM Shawn Guo [off-list ref] wrote:
On Fri, Oct 05, 2018 at 11:58:34AM -0500, Rob Herring wrote:
quoted
Convert Freescale SoC bindings to DT schema format using json-schema.
quoted
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: i.MX23 based Boards
+        items:
+          - enum:
+              - fsl,imx23-evk
+              - olimex,imx23-olinuxino
+          - const: fsl,imx23
+
+      - description: i.MX25 Product Development Kit
+        items:
+          - enum:
+              - fsl,imx25-pdk
+          - const: fsl,imx25
+
+      - description: i.MX27 Product Development Kit
+        items:
+          - enum:
+              - fsl,imx27-pdk
+          - const: fsl,imx27
+
+      - description: i.MX28 based Boards
+        items:
+          - enum:
+              - fsl,imx28-evk
+              - i2se,duckbill
+              - i2se,duckbill-2
+              - technologic,imx28-ts4600
+          - const: fsl,imx28
+      - items:
The schema is new to me.  This line looks unusual to me, so you may want
to double check.
It's fine. There's just no description schema on this one as it's a
continuation of the previous one (logically, but not from a schema
perspective). Perhaps add "i.MX28 I2SE Duckbill 2 based boards".
quoted
+          - enum:
+              - i2se,duckbill-2-485
+              - i2se,duckbill-2-enocean
+              - i2se,duckbill-2-spi
+          - const: i2se,duckbill-2
+          - const: fsl,imx28
+
+      - description: i.MX51 Babbage Board
Thread (79 messages) 79 messages, 15 authors, last reply 2018-12-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help