Re: [PATCH v2 1/2] dt-binding: leds: Document leds-multi-gpio bindings

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

 



On 3/28/21 2:12 AM, Rob Herring wrote:
>> +
>> +  led-gpios:
>> +    description: Array of one or more GPIOs pins used to control the LED.
>> +    minItems: 1
>> +    maxItems: 8  # Should be enough
>> +
>> +  led-states:
>> +    description: |
>> +      The array list the supported states here which will map to brightness
>> +      from 0 to maximum. Each item in the array will present all the GPIOs
>> +      value by bit.
>> +    $ref: /schemas/types.yaml#/definitions/uint8-array
>> +    minItems: 1
>> +    maxItems: 256 # Should be enough
> Isn't this the same as the standard 'brightness-levels' from backlight 
> binding? The index is the level and the value is the h/w specific 
> setting.

Yes, it seems same.


Best Regards,

Hermes





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux