summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mxs/clk-imx23.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-25 14:56:03 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-06-27 15:04:29 +0200
commit275d58025f8d59c493384e1e9660c9c5b7b28d2d (patch)
treeaa4e24d9c38409251c4005f41079fe13cdb8c9a7 /drivers/clk/mxs/clk-imx23.c
parentclk: mxs: Fix the GPMI clock name (diff)
downloadlinux-275d58025f8d59c493384e1e9660c9c5b7b28d2d.tar.xz
linux-275d58025f8d59c493384e1e9660c9c5b7b28d2d.zip
clk: mxs: add clkdev lookup for pwm
Add pwm clock lookup for imx23 and imx28 booting from device tree. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/clk/mxs/clk-imx23.c')
-rw-r--r--drivers/clk/mxs/clk-imx23.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
index 40ad638dbe6c..c14b021c4a68 100644
--- a/drivers/clk/mxs/clk-imx23.c
+++ b/drivers/clk/mxs/clk-imx23.c
@@ -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));