lkml.org 
[lkml]   [2015]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/3] leds: ktd2692: add device tree bindings for ktd2692
Date
This patch adds the device tree bindings for ktd2692 flash LEDs

Signed-off-by: Ingi Kim <ingi2.kim@samsung.com>
---
.../devicetree/bindings/leds/leds-ktd2692.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/leds-ktd2692.txt

diff --git a/Documentation/devicetree/bindings/leds/leds-ktd2692.txt b/Documentation/devicetree/bindings/leds/leds-ktd2692.txt
new file mode 100644
index 0000000..b68faa6
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/leds-ktd2692.txt
@@ -0,0 +1,19 @@
+* Kinetic Technologies - KTD2692 Flash LED Driver
+
+KTD2692 is the ideal power solution for high-power flash LEDs.
+It uses ExpressWire single-wire programming for maximum flexibility.
+
+Required properties:
+ - compatible: "kinetic,ktd2692"
+ - strobe-gpio: gpio pin to control movie mode current level.
+ - torch-gpio: gpio pin to control ON/OFF flash mode
+ as a higher priority over strobe-gpio.
+
+Example:
+
+flash-led {
+ compatible = "kinetic,ktd2692";
+ strobe-gpio = <&gpc0 1 0>;
+ torch-gpio = <&gpc0 2 0>;
+ status = "okay";
+};
--
1.7.9.5


\
 
 \ /
  Last update: 2015-02-27 02:21    [W:0.058 / U:1.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site