Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753803AbbKBOxp (ORCPT ); Mon, 2 Nov 2015 09:53:45 -0500 Received: from mail.kernel.org ([198.145.29.136]:33424 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbbKBOxn (ORCPT ); Mon, 2 Nov 2015 09:53:43 -0500 MIME-Version: 1.0 In-Reply-To: <1446440483-6948-5-git-send-email-milo.kim@ti.com> References: <1446440483-6948-1-git-send-email-milo.kim@ti.com> <1446440483-6948-2-git-send-email-milo.kim@ti.com> <1446440483-6948-3-git-send-email-milo.kim@ti.com> <1446440483-6948-4-git-send-email-milo.kim@ti.com> <1446440483-6948-5-git-send-email-milo.kim@ti.com> From: Rob Herring Date: Mon, 2 Nov 2015 08:53:16 -0600 Message-ID: Subject: Re: [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information To: Milo Kim Cc: "devicetree@vger.kernel.org" , Lee Jones , "linux-kernel@vger.kernel.org" , Jacek Anaszewski , Linux LED Subsystem Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2608 Lines: 69 On Sun, Nov 1, 2015 at 11:01 PM, Milo Kim wrote: > LM3633 LED device is one of TI LMU device list. > > Cc: devicetree@vger.kernel.org > Cc: Jacek Anaszewski > Cc: Lee Jones > Cc: linux-kernel@vger.kernel.org > Cc: linux-leds@vger.kernel.org > Signed-off-by: Milo Kim > --- > .../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 . > + Please describe which output LED string is used. What is "LED string"? 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//. > + If this property is empty, then default name is set to > + "indicator:" by the driver. I believe "label" already provides this function. > + - led-max-microamp: Max current setting. Type is . > + 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 devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/