diff options
author | Heiko Stübner <heiko@sntech.de> | 2014-08-20 04:45:38 +0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-10-01 16:11:42 +0400 |
commit | 6f1294b5a87238c2f87f74a9942faf2f4ffa63b2 (patch) | |
tree | 25c78581a04c4d0bbfabed3ff6116a6e54952efe /drivers/clk/rockchip/clk-rk3188.c | |
parent | aec1d96c530674f634730bbc604a807f1ba65bfb (diff) | |
download | linux-6f1294b5a87238c2f87f74a9942faf2f4ffa63b2.tar.xz |
clk: rockchip: add restart handler
Add infrastructure to write the correct value to the restart register and
register the restart notifier for both rk3188 (including rk3066) and rk3288.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/clk/rockchip/clk-rk3188.c')
-rw-r--r-- | drivers/clk/rockchip/clk-rk3188.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index ceabce595498..beed49c79126 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -735,6 +735,8 @@ static void __init rk3188_common_clk_init(struct device_node *np) rockchip_register_softrst(np, 9, reg_base + RK2928_SOFTRST_CON(0), ROCKCHIP_SOFTRST_HIWORD_MASK); + + rockchip_register_restart_notifier(RK2928_GLB_SRST_FST); } static void __init rk3066a_clk_init(struct device_node *np) |