RE: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling ofpwm-tiehrpwm driver

From: Philip, Avinash
Date: Thu Jan 17 2013 - 23:19:19 EST


On Thu, Jan 17, 2013 at 21:22:18, Thierry Reding wrote:
> On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote:
> > From: "Philip, Avinash" <avinashphilip@xxxxxx>
> >
> > The clock framework has changed and it's now better to invoke
> > clock_prepare_enable() and clk_disable_unprepare() rather than the
> > legacy clk_enable() and clk_disable() calls. This patch converts the
> > pwm-tiehrpwm driver to the new framework.
> >
> > Signed-off-by: Philip Avinash <avinashphilip@xxxxxx>
> > ---
> > Changes Since v1:
> > - Check the return value of TBCLK enable in .pwm_enable()
> >
> > In 3.8-rc1, common clock frame work support added to AM335x.
> >
> > drivers/pwm/pwm-tiehrpwm.c | 10 ++++++++--
> > 1 file changed, 8 insertions(+), 2 deletions(-)
>
> I had applied this to my for-next branch, but reading the commit message
> again it would seem that this should actually go into 3.8, right?

Common clock framework support added for am335x in 3.8 only, still EHRPWM
tbclk not present in clock tree. I expect this to be in 3.9. So this patch
also requires to be in 3.9 only.

Thanks
Avinash

>
> Thierry
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/