]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: mxs: add clkdev lookup for pwm
authorShawn Guo <shawn.guo@linaro.org>
Mon, 25 Jun 2012 12:56:03 +0000 (20:56 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 27 Jun 2012 13:04:29 +0000 (21:04 +0800)
Add pwm clock lookup for imx23 and imx28 booting from device tree.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
drivers/clk/mxs/clk-imx23.c
drivers/clk/mxs/clk-imx28.c

index 40ad638dbe6c7f1e919c2bef10790c303e3af8a5..c14b021c4a681ee6560c88aa676a8a9a6f4bb821 100644 (file)
@@ -189,6 +189,7 @@ int __init mx23_clocks_init(void)
                }
 
        clk_register_clkdev(clks[clk32k], NULL, "timrot");
+       clk_register_clkdev(clks[pwm], NULL, "80064000.pwm");
        clk_register_clkdevs(clks[hbus], hbus_lookups, ARRAY_SIZE(hbus_lookups));
        clk_register_clkdevs(clks[xbus], xbus_lookups, ARRAY_SIZE(xbus_lookups));
        clk_register_clkdevs(clks[uart], uart_lookups, ARRAY_SIZE(uart_lookups));
index 003b0f31c1baf686d18c8990b4dd6b891373eea1..365053f052cd2c04e05cb4b0470cfa1a27fdeefa 100644 (file)
@@ -314,6 +314,7 @@ int __init mx28_clocks_init(void)
 
        clk_register_clkdev(clks[clk32k], NULL, "timrot");
        clk_register_clkdev(clks[enet_out], NULL, "enet_out");
+       clk_register_clkdev(clks[pwm], NULL, "80064000.pwm");
        clk_register_clkdevs(clks[hbus], hbus_lookups, ARRAY_SIZE(hbus_lookups));
        clk_register_clkdevs(clks[xbus], xbus_lookups, ARRAY_SIZE(xbus_lookups));
        clk_register_clkdevs(clks[uart], uart_lookups, ARRAY_SIZE(uart_lookups));