* Hemanth V <hemanthv@xxxxxx> [100701 15:11]: > ----- Original Message ----- From: "Tony Lindgren" > <tony@xxxxxxxxxxx> > To: "Hemanth V" <hemanthv@xxxxxx> > Cc: <linux-omap@xxxxxxxxxxxxxxx> > Sent: Thursday, July 01, 2010 4:07 PM > Subject: Re: [PATCH 2/2] OMAP4: Add support for PWM LED > > > >* Hemanth V <hemanthv@xxxxxx> [100630 17:12]: > >>From 713727188b99465341767eedaa42004862261211 Mon Sep 17 00:00:00 2001 > >>From: Hemanth V <hemanthv@xxxxxx> > >>Date: Wed, 30 Jun 2010 18:16:33 +0530 > >>Subject: [PATCH] OMAP4: Add support for PWM LED > >> > >>TWL6030 supports PWM (Pulse Width Modulator) which is used > >>to control charging LED. This allows for controlling brightness > >>This patch implements the APIs needed by leds-pwm driver. > > > ><snip> > > > >>--- /dev/null > >>+++ b/arch/arm/mach-omap2/twl6030_pwm.c > >>@@ -0,0 +1,168 @@ > >>+/* > >>+ * twl6030_pwm.c > >>+ * Driver for PHOENIX (TWL6030) Pulse Width Modulator > > > >This should go to somewhere under drivers instead of > >arch/arm/mach-omap2. > > Tony, since PWM is specific to each platform, they are typically > under platform folder. Some examples below > > arch/arm/plat-mxc/pwm.c > arch/arm/plat-pxa/pwm.c > arch/arm/plat-samsung/pwm.c But this is related to an external PM chip that can be potentially used for other chips than omaps. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html