[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f29fa789cef74d869db6728f90f28d50@XBOX01.axis.com>
Date: Mon, 29 Mar 2021 06:03:05 +0000
From: Hermes Zhang <Hermes.Zhang@...s.com>
To: Rob Herring <robh@...nel.org>, Hermes Zhang <Hermes.Zhang@...s.com>
CC: "pavel@....cz" <pavel@....cz>, "dmurphy@...com" <dmurphy@...com>,
"linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"lkml@...s.com" <lkml@...s.com>, kernel <kernel@...s.com>
Subject: Re: [PATCH v2 1/2] dt-binding: leds: Document leds-multi-gpio
bindings
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
Powered by blists - more mailing lists