devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 4/5] ARM: dts: omap4-sdp: Add support for pwm-leds (keypad and charging LED)
Date: Fri, 18 Jan 2013 15:36:33 +0100	[thread overview]
Message-ID: <1358519794-13214-5-git-send-email-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <1358519794-13214-1-git-send-email-peter.ujfalusi@ti.com>

Sections to describe the pwm-leds in the system.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 arch/arm/boot/dts/omap4-sdp.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts
index 43e5258..8101a94 100644
--- a/arch/arm/boot/dts/omap4-sdp.dts
+++ b/arch/arm/boot/dts/omap4-sdp.dts
@@ -80,6 +80,21 @@
 		};
 	};
 
+	pwmleds {
+		compatible = "pwm-leds";
+		kpad {
+			label = "omap4::keypad";
+			pwms = <&twl_pwm 0 7812500>;
+			max-brightness = <127>;
+		};
+
+		charging {
+			label = "omap4:green:chrg";
+			pwms = <&twl_pwmled 0 7812500>;
+			max-brightness = <255>;
+		};
+	};
+
 	sound {
 		compatible = "ti,abe-twl6040";
 		ti,model = "SDP4430";
-- 
1.8.1


  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 ` [PATCH 3/5] ARM: dts: omap3-beagle-xm: Use pwm-leds for pmu_stat LED Peter Ujfalusi
2013-01-18 14:36 ` Peter Ujfalusi [this message]
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-5-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).