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

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 16 04:25:15 EST 2012


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.

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