From: Peter Ujfalusi Date: Wed, 7 Nov 2012 14:05:20 +0000 (+0100) Subject: ARM: dts: twl6030: Add PWM support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50ff6b1d8c1df8f6bfb9f632f3ff02e98ea0c544;p=linux-beck.git ARM: dts: twl6030: Add PWM support Enable support for the PWMs and LED as PWM drivers. Signed-off-by: Peter Ujfalusi Signed-off-by: Benoit Cousson --- 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 @@ 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 Charging indicator LED) */ + compatible = "ti,twl6030-pwmled"; + #pwm-cells = <2>; + }; };