diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2018-03-06 16:10:17 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-03-18 10:29:14 +0200 |
commit | 3f373a344e960ee4b6a1c03f283d5818b616fa63 (patch) | |
tree | f0509365fa68a6da75a1c0f4b0436494e05c84f7 /include | |
parent | 265bb293c57b7cddab72863f4f004233bdf68071 (diff) |
drivers: marvell: ccu: Add API for save and restore windows
Add API for saving and restoring CCU windows on a specific AP.
The main reason for this API addition is the BLE code cleanup
and switching from direct access of the CCU registers to usage
of the dedicated driver APIs.
Change-Id: I73dfeeccd614a3d8d3c5243848f6f12d92eba52e
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/51392
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/marvell/ccu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drivers/marvell/ccu.h b/include/drivers/marvell/ccu.h index d052d4ac..c7fce878 100644 --- a/include/drivers/marvell/ccu.h +++ b/include/drivers/marvell/ccu.h @@ -65,6 +65,8 @@ void ccu_temp_win_insert(int ap_index, struct addr_map_win *win, int size); void ccu_temp_win_remove(int ap_index, struct addr_map_win *win, int size); void ccu_dram_win_config(int ap_index, struct addr_map_win *win); void ccu_dram_target_set(int ap_index, uint32_t target); +void ccu_save_win_all(int ap_id); +void ccu_restore_win_all(int ap_id); #endif #endif /* _CCU_H_ */ |