Re: [PATCH V1 1/1] regulator: Add awinic,aw3750x.yaml

From: Krzysztof Kozlowski
Date: Wed Jul 05 2023 - 13:20:15 EST


On 05/07/2023 13:52, Mark Brown wrote:
> On Wed, Jul 05, 2023 at 11:20:16AM +0200, Krzysztof Kozlowski wrote:
>> On 05/07/2023 10:19, like@xxxxxxxxxx wrote:
>>> From: Ke Li <like@xxxxxxxxxx>
>
>>> +properties:
>>> + compatible:
>>> + const: awinic,aw3750x_led
>
>> I don't understand why there is _led suffix. Isn't this regulator? Can
>> it be anything else?
>
> Boost regulators are almost always used to drive LEDs for things like
> backlights.

Let me be a bit more precise - if this device can have multiple
functions, then the compatible usually has some suffixes (although no
underscores). If this device has only one feature - regardless whether
for backlight or for anything else - the compatible has only model.

Best regards,
Krzysztof