diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-11-07 09:05:20 -0500 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-04-08 18:16:50 -0400 |
commit | 50ff6b1d8c1df8f6bfb9f632f3ff02e98ea0c544 (patch) | |
tree | 6cbacf58fffe40045dfac606e783ee22a6026e8d | |
parent | ac31a88195c662151cce7771f31e89736eb1d089 (diff) |
ARM: dts: twl6030: Add PWM support
Enable support for the PWMs and LED as PWM drivers.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/twl6030.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index 9996cfc5ee80..2e3bd3172b23 100644 --- a/arch/arm/boot/dts/twl6030.dtsi +++ b/arch/arm/boot/dts/twl6030.dtsi | |||
@@ -91,4 +91,16 @@ | |||
91 | compatible = "ti,twl6030-usb"; | 91 | compatible = "ti,twl6030-usb"; |
92 | interrupts = <4>, <10>; | 92 | interrupts = <4>, <10>; |
93 | }; | 93 | }; |
94 | |||
95 | twl_pwm: pwm { | ||
96 | /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */ | ||
97 | compatible = "ti,twl6030-pwm"; | ||
98 | #pwm-cells = <2>; | ||
99 | }; | ||
100 | |||
101 | twl_pwmled: pwmled { | ||
102 | /* provides one PWM (id 0 for Charging indicator LED) */ | ||
103 | compatible = "ti,twl6030-pwmled"; | ||
104 | #pwm-cells = <2>; | ||
105 | }; | ||
94 | }; | 106 | }; |