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


Groups > linux.kernel > #1260384 > unrolled thread

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

Started byMilo Kim <milo.kim@ti.com>
First post2015-11-02 06:30 +0100
Last post2015-11-10 08:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:30 +0100
    Re: [PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633  LED binding information Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-11-03 17:20 +0100
      Re: [PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633  LED binding information "Kim, Milo" <milo.kim@ti.com> - 2015-11-10 08:10 +0100

#1260384 — [PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information

FromMilo Kim <milo.kim@ti.com>
Date2015-11-02 06:30 +0100
Subject[PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information
Message-ID<qqfQR-1lO-9@gated-at.bofh.it>
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.
+
+  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.
+  - led-max-microamp: Max current setting. Type is <u32>.
+                      Unit is microampere. Range is from 5000 to 30000.
+
+Examples: Please refer to ti-lmu dt-bindings [2].
+
+[1] http://www.ti.com/product/LM3633/datasheet
+[2] Documentation/devicetree/bindings/mfd/ti-lmu.txt
-- 
1.9.1

--
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/

[toc] | [next] | [standalone]


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

FromJacek Anaszewski <j.anaszewski@samsung.com>
Date2015-11-03 17:20 +0100
SubjectRe: [PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information
Message-ID<qqMts-57V-13@gated-at.bofh.it>
In reply to#1260384
Hi Milo,

Thanks for the patch. Apart from the issues
pointed out by Rob, I have one more suggestion below.

On 11/02/2015 06:24 AM, Milo Kim 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.
> +
> +  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.
> +  - led-max-microamp: Max current setting. Type is <u32>.
> +                      Unit is microampere. Range is from 5000 to 30000.

Could you specify also a step?

> +Examples: Please refer to ti-lmu dt-bindings [2].
> +
> +[1] http://www.ti.com/product/LM3633/datasheet
> +[2] Documentation/devicetree/bindings/mfd/ti-lmu.txt
>


-- 
Best Regards,
Jacek Anaszewski
--
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/

[toc] | [prev] | [next] | [standalone]


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

From"Kim, Milo" <milo.kim@ti.com>
Date2015-11-10 08:10 +0100
SubjectRe: [PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information
Message-ID<qtbe1-1T5-5@gated-at.bofh.it>
In reply to#1261681
Hi Jacek,

On 11/4/2015 1:15 AM, Jacek Anaszewski wrote:
>> +  - led-max-microamp: Max current setting. Type is <u32>.
>> >+                      Unit is microampere. Range is from 5000 to 30000.
> Could you specify also a step?
>

Yep, step is 1000. Thanks for catching this.
I'll update the binding in the next patch.

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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web