Messages in this thread | | | Date | Wed, 15 Feb 2023 21:15:08 +0100 | Subject | Re: [PATCH v2 1/8] dt-bindings: gpio: rockchip,gpio-bank: add compatible string per SoC | From | Krzysztof Kozlowski <> |
| |
On 15/02/2023 17:14, Johan Jonker wrote:
> >> 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
| |