[PATCH 2/3] leds: ktd2692: add device tree bindings for ktd2692

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This patch adds the device tree bindings for ktd2692 flash LEDs

Signed-off-by: Ingi Kim <ingi2.kim@xxxxxxxxxxx>
---
 .../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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux