From: srinivas.kandagatla@linaro.org (Srinivas Kandagatla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.
Date: Tue, 18 Aug 2015 14:10:09 +0100 [thread overview]
Message-ID: <1439903409-20233-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <1439903069-19752-1-git-send-email-srinivas.kandagatla@linaro.org>
This patch adds notify led support on IFC6410, whose trigger can be
configured from userspace.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index b1f9ddb..08daafe 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -221,6 +221,18 @@
status = "okay";
};
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <¬ify_led>;
+
+ led at 1 {
+ label = "apq8064:green:user1";
+ gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+
qcom,ssbi at 500000 {
pmic at 0 {
gpio at 150 {
@@ -232,6 +244,15 @@
power-source = <PM8921_GPIO_S4>;
};
};
+
+ notify_led: nled {
+ pios {
+ pins = "gpio18";
+ function = "normal";
+ bias-disable;
+ power-source = <PM8921_GPIO_S4>;
+ };
+ };
};
};
};
--
1.9.1
next prev parent reply other threads:[~2015-08-18 13:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-18 13:04 [PATCH v2 0/6] DT: APQ8064 for qcom-dt-next Srinivas Kandagatla
2015-08-18 13:06 ` [PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Srinivas Kandagatla
2015-08-25 21:33 ` Stephen Boyd
2015-09-03 15:45 ` Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN Srinivas Kandagatla
2015-08-18 13:10 ` Srinivas Kandagatla [this message]
2015-08-25 21:36 ` [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support Stephen Boyd
2015-09-03 15:49 ` Srinivas Kandagatla
2015-08-18 13:10 ` [PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file Srinivas Kandagatla
2015-08-25 21:24 ` Andy Gross
2015-08-18 13:10 ` [PATCH v2 5/6] ARM: dts: qs600: add alias to serial0 Srinivas Kandagatla
2015-08-25 21:39 ` Stephen Boyd
2015-08-25 21:46 ` Andy Gross
2015-08-27 4:53 ` Andy Gross
2015-08-18 13:10 ` [PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support Srinivas Kandagatla
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=1439903409-20233-1-git-send-email-srinivas.kandagatla@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).