From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Tony Lindgren <tony@atomide.com>, Benoit Cousson <b-cousson@ti.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
devicetree-discuss@lists.ozlabs.org
Subject: [PATCH 3/5] ARM: dts: omap3-beagle-xm: Use pwm-leds for pmu_stat LED
Date: Fri, 18 Jan 2013 15:36:32 +0100 [thread overview]
Message-ID: <1358519794-13214-4-git-send-email-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <1358519794-13214-1-git-send-email-peter.ujfalusi@ti.com>
We have proper driver stack to handle the pmu_stat LED which is connected
PWMB of twl4030.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
arch/arm/boot/dts/omap3-beagle-xm.dts | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts
index 3705a81..1c85e0f 100644
--- a/arch/arm/boot/dts/omap3-beagle-xm.dts
+++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
@@ -20,10 +20,6 @@
leds {
compatible = "gpio-leds";
- pmu_stat {
- label = "beagleboard::pmu_stat";
- gpios = <&twl_gpio 19 0>; /* LEDB */
- };
heartbeat {
label = "beagleboard::usr0";
@@ -38,6 +34,16 @@
};
};
+ pwmleds {
+ compatible = "pwm-leds";
+
+ pmu_stat {
+ label = "beagleboard::pmu_stat";
+ pwms = <&twl_pwmled 1 7812500>;
+ max-brightness = <127>;
+ };
+ };
+
sound {
compatible = "ti,omap-twl4030";
ti,model = "omap3beagle";
--
1.8.1
next prev parent reply other threads:[~2013-01-18 14:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 14:36 [PATCH 0/5] ARM: dts: OMAP3+: PWM support for TWL and selected boards Peter Ujfalusi
2013-01-18 14:36 ` [PATCH 1/5] ARM: dts: twl4030: Add PWM support Peter Ujfalusi
2013-01-18 14:36 ` [PATCH 2/5] ARM: dts: twl6030: " Peter Ujfalusi
2013-01-22 10:39 ` Benoit Cousson
2013-01-22 10:49 ` Peter Ujfalusi
2013-01-22 10:54 ` Benoit Cousson
2013-01-18 14:36 ` Peter Ujfalusi [this message]
2013-01-18 14:36 ` [PATCH 4/5] ARM: dts: omap4-sdp: Add support for pwm-leds (keypad and charging LED) Peter Ujfalusi
2013-01-18 14:36 ` [PATCH 5/5] ARM: dts: omap4-sdp: Add support for pwm-backlight Peter Ujfalusi
2013-01-22 10:11 ` [PATCH 0/5] ARM: dts: OMAP3+: PWM support for TWL and selected boards Peter Ujfalusi
2013-01-22 10:23 ` Benoit Cousson
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=1358519794-13214-4-git-send-email-peter.ujfalusi@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=b-cousson@ti.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).