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 2/5] ARM: dts: twl6030: Add PWM support
Date: Fri, 18 Jan 2013 15:36:31 +0100	[thread overview]
Message-ID: <1358519794-13214-3-git-send-email-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <1358519794-13214-1-git-send-email-peter.ujfalusi@ti.com>

Enable support for the PWMs and LED as PWM drivers.

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

diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi
index 9996cfc..d9b8b21 100644
--- a/arch/arm/boot/dts/twl6030.dtsi
+++ b/arch/arm/boot/dts/twl6030.dtsi
@@ -91,4 +91,16 @@
 		compatible = "ti,twl6030-usb";
 		interrupts = <4>, <10>;
 	};
+
+	twl_pwm: pwm {
+		/* provides two PWMs (id 0, 1 for PWM1 and PWM2) */
+		compatible = "ti,twl6030-pwm";
+		#pwm-cells = <2>;
+	};
+
+	twl_pwmled: pwmled {
+		/* provides one PWM (id 0 for Charing indicator LED) */
+		compatible = "ti,twl6030-pwmled";
+		#pwm-cells = <2>;
+	};
 };
-- 
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 ` Peter Ujfalusi [this message]
2013-01-22 10:39   ` [PATCH 2/5] ARM: dts: twl6030: " 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 ` [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-3-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).