Thread (26 messages) 26 messages, 5 authors, 2023-03-02

Re: [PATCH v2 1/8] dt-bindings: gpio: rockchip,gpio-bank: add compatible string per SoC

From: Krzysztof Kozlowski <hidden>
Date: 2023-02-15 20:15:20
Also in: linux-arm-kernel, linux-gpio, linux-rockchip, lkml

On 15/02/2023 17:14, Johan Jonker wrote:
quoted
Johan, please address the enum issue and resend just this patch.
I changed to oneOf, because with enum I didn't get it working.
With 2 enum's it complains about: is not of type 'string'.
I'm out of ideas...
Maybe it's something simple that I overlook.
Could Krzysztof give an example?
Documentation/devicetree/bindings/arm/l2c2x0.yaml

It should look like this, if my email did not mess up indents:

+    oneOf:
+      - enum:
+          - rockchip,gpio-bank
+          - rockchip,rk3188-gpio-bank0
+      - items:
+          - enum:

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help