Re: [PATCH v2 1/8] dt-bindings: gpio: rockchip,gpio-bank: add compatible string per SoC
From: Krzysztof Kozlowski
Date: Wed Feb 15 2023 - 15:15:20 EST
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