clk: qcom: gdsc: Add support to enable retention of GSDCR
authorTaniya Das <tdas@codeaurora.org>
Fri, 24 Jul 2020 16:07:55 +0000 (21:37 +0530)
committerStephen Boyd <sboyd@kernel.org>
Fri, 24 Jul 2020 20:04:48 +0000 (13:04 -0700)
commit173722995cdb7c22d21abd484a5001c903df1e20
treefed0c85756139d4883b5c24564cab0c4775b2d7e
parent413d84b88bee08ed59713e782053ff38d206c606
clk: qcom: gdsc: Add support to enable retention of GSDCR

Add support for the RETAIN_FF_ENABLE feature which enables the
usage of retention registers. These registers maintain their
state after disabling and re-enabling a GDSC.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lore.kernel.org/r/1595606878-2664-2-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gdsc.c
drivers/clk/qcom/gdsc.h