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

commit d6e7bbc148f9fbec8a0117b0d0f420c9710e6d81 upstream

SoCs like AM43XX lose clock registers context during RTC-only
suspend. Hence add functions to save/restore the clock registers
context.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clock.h
drivers/clk/ti/divider.c
drivers/clk/ti/dpll.c
drivers/clk/ti/dpll3xxx.c
drivers/clk/ti/gate.c
drivers/clk/ti/mux.c
include/linux/clk/ti.h