[PATCH 2/4] ARM: imx: add imx5x usbmisc clock lookups

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 16 09:19:57 EST 2012


On Fri, Nov 16, 2012 at 10:28:48PM +0800, Shawn Guo wrote:
> On Fri, Nov 16, 2012 at 10:25:15AM +0100, Sascha Hauer wrote:
> > On Thu, Nov 15, 2012 at 03:00:12PM +0100, Michael Grzeschik wrote:
> > > Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
> > > ---
> > >  arch/arm/mach-imx/clk-imx51-imx53.c |    6 ++++++
> > >  1 file changed, 6 insertions(+)
> > > 
> > > diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c
> > > index 3edd11c..33c3c9b 100644
> > > --- a/arch/arm/mach-imx/clk-imx51-imx53.c
> > > +++ b/arch/arm/mach-imx/clk-imx51-imx53.c
> > > @@ -365,6 +365,9 @@ int __init mx51_clocks_init(unsigned long rate_ckil, unsigned long rate_osc,
> > >  	clk_register_clkdev(clk[usboh3_per_gate], "per", "73f80000.usb");
> > >  	clk_register_clkdev(clk[usboh3_gate], "ipg", "73f80000.usb");
> > >  	clk_register_clkdev(clk[usboh3_gate], "ahb", "73f80000.usb");
> > > +	clk_register_clkdev(clk[usboh3_per_gate], "per", "73f80800.usbmisc");
> > > +	clk_register_clkdev(clk[usboh3_gate], "ipg", "73f80800.usbmisc");
> > > +	clk_register_clkdev(clk[usboh3_gate], "ahb", "73f80800.usbmisc");
> > 
> > Shawn, do you have plans to move the clock lookups to devicetree like
> > you did on i.MX6? It would be nice to get rid of patches like this.
> > 
> Right.  But I will not be able to resume the IMX cleanup work like this
> any soon, as I have some FSL internal stuff to sort out.  So please go
> ahead to do it.

I didn't have the intention to volunteer for this job ;)
Anyway, I'll see if I find time for this.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list