clk: clk: Add functions to save/restore clock context en-masse
authorRuss Dill <Russ.Dill@ti.com>
Fri, 2 Nov 2018 10:28:01 +0000 (15:58 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:03:46 +0000 (15:03 +0200)
commite82ce46eba1c23d74145f13f18d3ce33066e7962
tree3fdc88ea23a4391605563fac065b4463283bb727
parentb3d1d3a304e126647ae161e1613226bdb41e04f3
clk: clk: Add functions to save/restore clock context en-masse

commit 8b95d1ce3300c411728954473316bd04d0ba9883 upstream

Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Russ Dill <Russ.Dill@ti.com>
drivers/clk/clk.c
include/linux/clk-provider.h
include/linux/clk.h