Re: [PATCH 1/2] dt-bindings: leds: backlight: add Kinetic KTD3137

From: Krzysztof Kozlowski

Date: Wed Nov 11 2026 - 07:34:43 EST


On 03/11/2026 18:10, Daniel Thompson wrote:
> On Tue, Nov 03, 2026 at 03:21:45PM +0000, Roman Vivchar wrote:
>>
>> In the driver I've used devm_regulator_get_enable(), rather than _optional(),
>> since my understanding is that the non-optional helper is a standard kernel
>> API for required supplies (with regulator core warning and fallback to dummy
>> regulator in case DT omits it).
>
> That dummy fallback essentially makes it optional. On a board with an
> always-on supply then there is no need to include vin-supply in the
> DTB. The driver will work just fine without it.

There is a need, because this device needs a supply. How you describe
that supply in DTS is a different story - can be always-on, can be
missing etc.



Best regards,
Krzysztof