Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1239444
| From | Ingi Kim <ingi2.kim@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] leds: rt5033: add DT binding for RT5033 |
| Date | 2015-10-05 12:50 +0200 |
| Message-ID | <qgbvc-4Vf-19@gated-at.bofh.it> (permalink) |
| References | <qf58t-83i-5@gated-at.bofh.it> <qf58u-83i-17@gated-at.bofh.it> <qf9F8-690-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello, Rob Herring
I'll push ver2 patch soon with your acked
because other patch has some issues.
Thanks for the review.
On 2015년 10월 02일 23:31, Rob Herring wrote:
> On Fri, Oct 2, 2015 at 4:41 AM, Ingi Kim <ingi2.kim@samsung.com> wrote:
>> This patch adds the device tree bindings for RT5033 flash LEDs.
>>
>> Signed-off-by: Ingi Kim <ingi2.kim@samsung.com>
>
> Acked-by: Rob Herring <robh@kernel.org>
>
>> ---
>> .../devicetree/bindings/leds/leds-rt5033.txt | 38 ++++++++++++++++++++++
>> 1 file changed, 38 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/leds/leds-rt5033.txt
>>
>> diff --git a/Documentation/devicetree/bindings/leds/leds-rt5033.txt b/Documentation/devicetree/bindings/leds/leds-rt5033.txt
>> new file mode 100644
>> index 0000000..2ef7bdc
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/leds/leds-rt5033.txt
>> @@ -0,0 +1,38 @@
>> +* Richtek Technology Corporation - RT5033 Flash LED Driver
>> +
>> +The RT5033 Flash LED Circuit is designed for one or two LEDs driving
>> +for torch and strobe applications, it provides an I2C software command
>> +to trigger the torch and strobe operation.
>> +
>> +Required properties:
>> +- compatible : Must be "richtek,rt5033-led".
>> +
>> +A discrete LED element connected to the device must be represented by a child
>> +node - see Documentation/devicetree/bindings/leds/common.txt.
>> +
>> +Required properties of the LED child node:
>> + See Documentation/devicetree/bindings/leds/common.txt
>> +- led-max-microamp : Minimum Threshold for Timer protection
>> + is defined internally (Maximum 200mA).
>> +- flash-max-microamp : Flash LED maximum current
>> +- flash-max-timeout-us : Flash LED maximum timeout
>> +
>> +Optional properties of the LED child node:
>> +- label : see Documentation/devicetree/bindings/leds/common.txt
>> +
>> +Example:
>> +
>> +rt5033 {
>> + compatible = "richtek,rt5033";
>> +
>> + led {
>> + compatible = "richtek,rt5033-led";
>> +
>> + flash-led {
>> + label = "rt5033-flash";
>> + led-max-microamp = <200000>;
>> + flash-max-microamp = <800000>;
>> + flash-max-timeout-us = <1216000>;
>> + };
>> + };
>> +}
>> --
>> 2.0.5
>>
>
--
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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Add RT5033 Flash LED driver Ingi Kim <ingi2.kim@samsung.com> - 2015-10-02 11:50 +0200
[PATCH 1/2] leds: rt5033: add DT binding for RT5033 Ingi Kim <ingi2.kim@samsung.com> - 2015-10-02 11:50 +0200
Re: [PATCH 1/2] leds: rt5033: add DT binding for RT5033 Rob Herring <robh@kernel.org> - 2015-10-02 16:40 +0200
Re: [PATCH 1/2] leds: rt5033: add DT binding for RT5033 Ingi Kim <ingi2.kim@samsung.com> - 2015-10-05 12:50 +0200
[PATCH 2/2] leds: rt5033: Add RT5033 Flash led device driver Ingi Kim <ingi2.kim@samsung.com> - 2015-10-02 11:50 +0200
Re: [PATCH 2/2] leds: rt5033: Add RT5033 Flash led device driver Lee Jones <lee.jones@linaro.org> - 2015-10-05 09:30 +0200
Re: [PATCH 2/2] leds: rt5033: Add RT5033 Flash led device driver Ingi Kim <ingi2.kim@samsung.com> - 2015-10-05 12:40 +0200
Re: [PATCH 0/2] Add RT5033 Flash LED driver Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-10-02 17:00 +0200
Re: [PATCH 0/2] Add RT5033 Flash LED driver Ingi Kim <ingi2.kim@samsung.com> - 2015-10-05 04:20 +0200
csiph-web