Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1261235

Re: [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information

From "Kim, Milo" <milo.kim@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information
Date 2015-11-03 08:10 +0100
Message-ID <qqDTc-7Wb-17@gated-at.bofh.it> (permalink)
References (1 earlier) <qqfxv-1df-5@gated-at.bofh.it> <qqfxv-1df-7@gated-at.bofh.it> <qqfxv-1df-9@gated-at.bofh.it> <qqfxv-1df-11@gated-at.bofh.it> <qqoKu-6yI-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Rob,

On 11/2/2015 11:53 PM, Rob Herring wrote:
> On Sun, Nov 1, 2015 at 11:01 PM, Milo Kim <milo.kim@ti.com> wrote:
>> LM3633 LED device is one of TI LMU device list.
>>
>> Cc: devicetree@vger.kernel.org
>> Cc: Jacek Anaszewski <j.anaszewski@samsung.com>
>> Cc: Lee Jones <lee.jones@linaro.org>
>> Cc: linux-kernel@vger.kernel.org
>> Cc: linux-leds@vger.kernel.org
>> Signed-off-by: Milo Kim <milo.kim@ti.com>
>> ---
>>   .../devicetree/bindings/leds/leds-lm3633.txt       | 28 ++++++++++++++++++++++
>>   1 file changed, 28 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3633.txt
>>
>> diff --git a/Documentation/devicetree/bindings/leds/leds-lm3633.txt b/Documentation/devicetree/bindings/leds/leds-lm3633.txt
>> new file mode 100644
>> index 0000000..bb7f213
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/leds/leds-lm3633.txt
>> @@ -0,0 +1,28 @@
>> +TI LMU LM3633 LED device tree bindings
>> +
>> +Required properties:
>> +  - compatible: "ti,lm3633-leds"
>> +
>> +Child nodes:
>> +  Each node matches with LED control bank.
>> +  Please refer to the datasheet [1].
>> +
>> +  Required properties of a child node:
>> +  - lvled1-used, lvled2-used, lvled3-used,
>> +    lvled4-used, lvled5-used, lvled6-used:
>> +    Low voltage LED string configuration. Type is <boolean>.
>> +    Please describe which output LED string is used.
>
> What is "LED string"?

Let me replace these properties with 'led-sources'.

>
> We have properties for which LED driver/channel of the parent to use
> and "status" can be used to disable child nodes.
>
>> +
>> +  Optional properties of a child node:
>> +  - channel-name: Name string for LED channel identification
>> +                  It is used for creating LED sysfs,
>> +                  /sys/class/leds/<channel-name>/.
>> +                  If this property is empty, then default name is set to
>> +                  "indicator:<id>" by the driver.
>
> I believe "label" already provides this function.
>

Yep, got it. Thanks!

Best regards,
Milo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/16] Support TI LMU devices Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
  [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
    [PATCH 06/16] mfd: add TI LMU driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
      [PATCH 10/16] backlight: ti-lmu-backlight: add LM3632 driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
      [PATCH 08/16] backlight: ti-lmu-backlight: add LM3532 driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
        [PATCH 09/16] backlight: ti-lmu-backlight: add LM3631 driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
      [PATCH 07/16] backlight: add TI LMU backlight common driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
    [PATCH 05/16] Documentation: dt-bindings: regulator: add LM363x regulator binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
    Re: [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED  binding information Rob Herring <robh@kernel.org> - 2015-11-02 16:00 +0100
      Re: [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED  binding information "Kim, Milo" <milo.kim@ti.com> - 2015-11-03 08:10 +0100
  [PATCH 01/16] Documentation: dt-bindings: mfd: add TI LMU device binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
    [PATCH 03/16] Documentation: dt-bindings: hwmon: add TI LMU HWMON binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
    [PATCH 02/16] Documentation: dt-bindings: backlight: add TI LMU backlight binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:10 +0100
  Re: [PATCH 00/16] Support TI LMU devices "Kim, Milo" <milo.kim@ti.com> - 2015-11-02 06:40 +0100

csiph-web