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.h | |
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.h')
-rw-r--r-- | drivers/clk/rockchip/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rockchip/clk.h index f4791fbb3da9..ca009ab0a33a 100644 --- a/drivers/clk/rockchip/clk.h +++ b/drivers/clk/rockchip/clk.h @@ -367,6 +367,7 @@ void rockchip_clk_register_armclk(unsigned int lookup_id, const char *name, const struct rockchip_cpuclk_rate_table *rates, int nrates); void rockchip_clk_protect_critical(const char *clocks[], int nclocks); +void rockchip_register_restart_notifier(unsigned int reg); #define ROCKCHIP_SOFTRST_HIWORD_MASK BIT(0) |