mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingi Kim <ingi2.kim@samsung.com>
To: robh+dt@kerner.org, pawel.moll@arm.com, mark.rutland@arm.com,
	ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
	cooloney@gmail.com, rpurdie@rpsys.net, treding@nvidia.com,
	p.zabel@pengutronix.de, andrew@lunn.ch,
	gregkh@linuxfoundation.org, florian.vaussard@epfl.ch,
	arno@natisbad.org, kuninori.morimoto.gx@renesas.com,
	hytszk@gmail.com, antonynpavlov@gmail.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-leds@vger.kernel.org, Ingi Kim <ingi2.kim@samsung.com>
Subject: [PATCH 2/3] leds: ktd2692: add device tree bindings for ktd2692
Date: Fri, 27 Feb 2015 10:01:30 +0900	[thread overview]
Message-ID: <1424998891-25591-3-git-send-email-ingi2.kim@samsung.com> (raw)
In-Reply-To: <1424998891-25591-1-git-send-email-ingi2.kim@samsung.com>

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


  parent reply	other threads:[~2015-02-27  1:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27  1:01 [PATCH 0/3] Add ktd2692 Flash LED driver Ingi Kim
2015-02-27  1:01 ` [PATCH 1/3] of: Add vendor prefix for Kinetic technologies Ingi Kim
2015-02-27  1:01 ` Ingi Kim [this message]
2015-02-27  1:01 ` [PATCH 3/3] leds: Add ktd2692 flash LED driver Ingi Kim
2015-02-27  3:36   ` Varka Bhadram
2015-02-27  6:55     ` Ingi Kim
2015-02-27  8:42 ` [PATCH 0/3] Add ktd2692 Flash " Jacek Anaszewski
2015-03-02  7:14   ` Ingi Kim
2015-03-02  9:15     ` Sakari Ailus
2015-03-02 20:07       ` Bryan Wu
2015-03-02 22:03         ` Sakari Ailus
2015-03-03  2:55           ` Ingi Kim
2015-03-03  7:48         ` Jacek Anaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424998891-25591-3-git-send-email-ingi2.kim@samsung.com \
    --to=ingi2.kim@samsung.com \
    --cc=andrew@lunn.ch \
    --cc=antonynpavlov@gmail.com \
    --cc=arno@natisbad.org \
    --cc=cooloney@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.vaussard@epfl.ch \
    --cc=galak@codeaurora.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hytszk@gmail.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kerner.org \
    --cc=rpurdie@rpsys.net \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®