Re: [PATCH v2 07/11] dt-bindings: net: stmmac: Convert the binding to a schemas

From
Maxime Ripard <hidden>
Date
2019-06-11 11:28:28
Also in
linux-arm-kernel, netdev
Reply to
Rob Herring, 2019-06-10
On Mon, Jun 10, 2019 at 01:13:25PM -0600, Rob Herring wrote:
On Mon, Jun 10, 2019 at 3:26 AM Maxime Ripard [off-list ref] wrote:
quoted
+    then:
+      properties:
+        snps,pbl:
+          allOf:
+            - $ref: /schemas/types.yaml#definitions/uint32-array
+            - enum: [2, 4, 8]
As this is an array, I think this needs to be:

- items:
    enum: [2, 4, 8]


And the next 2, too.
This was actually an error on the types, those properties are not
arrays. I've changed the type, thanks!

maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Thread (35 messages) 35 messages, 5 authors, last reply 2019-06-14
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