Re: [PATCH 2/2] ARM: dts: omap: n900: drop enable-gpios from LED nodes

From: Krzysztof Kozlowski
Date: Sat Nov 26 2022 - 09:21:19 EST


On 25/11/2022 18:36, Sebastian Reichel wrote:
> Hi,
>
> On Fri, Nov 25, 2022 at 03:41:50PM +0100, Krzysztof Kozlowski wrote:
>> LP5523 LED controller does not take enable-gpios property:
>>
>> omap3-n900.dtb: lp5523@32: 'enable-gpios' does not match any of the regexes: '^led@[0-8]$', '^multi-led@[0-8]$', 'pinctrl-[0-9]+'
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>> ---
>
> The drivers uses it via devm_gpiod_get_optional() and the binding has this:
>
> grep -A3 enable-gpio Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
> enable-gpio:
> maxItems: 1
> description: |
> GPIO attached to the chip's enable pin
>
> -- Sebastian

Oh, thanks, I am pretty sure i was checking it but maybe I looked at
wrong driver :(.

I'll fix it in different way.


Best regards,
Krzysztof