diff mbox

[2/5] ARM: dts: twl6030: Add PWM support

Message ID 1358519794-13214-3-git-send-email-peter.ujfalusi@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Ujfalusi Jan. 18, 2013, 2:36 p.m. UTC
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(+)

Comments

Benoit Cousson Jan. 22, 2013, 10:39 a.m. UTC | #1
Hi Peter,

Just one minor typo here.

On 01/18/2013 03:36 PM, Peter Ujfalusi wrote:
> 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) */

typo: charging.

Regards,
Benoit

> +		compatible = "ti,twl6030-pwmled";
> +		#pwm-cells = <2>;
> +	};
>  };
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Peter Ujfalusi Jan. 22, 2013, 10:49 a.m. UTC | #2
HI Benoit,

On 01/22/2013 11:39 AM, Benoit Cousson wrote:
>> +
>> +	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) */
> 
> typo: charging.

Aargh. Corrected in the branch.

Thanks,
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Benoit Cousson Jan. 22, 2013, 10:54 a.m. UTC | #3
On 01/22/2013 11:49 AM, Peter Ujfalusi wrote:
> HI Benoit,
> 
> On 01/22/2013 11:39 AM, Benoit Cousson wrote:
>>> +
>>> +	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) */
>>
>> typo: charging.
> 
> Aargh. Corrected in the branch.

Thanks,

Pulled and pushed into git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.9/dts

Regards,
Benoit

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>;
+	};
 };