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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux