[PATCH v2 11/12] ARM: mxs: clk_register_clkdev mx28 usb clocks

Shawn Guo shawn.guo at linaro.org
Tue May 22 00:48:48 EDT 2012


On Mon, May 21, 2012 at 05:23:56PM +0800, Richard Zhao wrote:
> Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
> ---
>  drivers/clk/mxs/clk-imx28.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
> index 2826a26..5330b27 100644
> --- a/drivers/clk/mxs/clk-imx28.c
> +++ b/drivers/clk/mxs/clk-imx28.c
> @@ -328,6 +328,10 @@ int __init mx28_clocks_init(void)
>  	clk_register_clkdevs(clks[fec], fec_lookups, ARRAY_SIZE(fec_lookups));
>  	clk_register_clkdevs(clks[can0], can0_lookups, ARRAY_SIZE(can0_lookups));
>  	clk_register_clkdevs(clks[can1], can1_lookups, ARRAY_SIZE(can1_lookups));
> +	clk_register_clkdev(clks[usb0_pwr], NULL, "8007c000.usbphy");
> +	clk_register_clkdev(clks[usb1_pwr], NULL, "8007e000.usbphy");
> +	clk_register_clkdev(clks[usb0], NULL, "80080000.usbctrl");
> +	clk_register_clkdev(clks[usb1], NULL, "80090000.usbctrl");
>  
You changed usb node name from "usbctrl" to "usb".  The clk lookup
needs to be updated correspondingly.

-- 
Regards,
Shawn



More information about the linux-arm-kernel mailing list