]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
clk: qcom: gdsc: Add support for ALWAYS_ON gdscs
authorRajendra Nayak <rnayak@codeaurora.org>
Fri, 23 Mar 2018 08:26:14 +0000 (13:56 +0530)
committerStephen Boyd <sboyd@kernel.org>
Fri, 1 Jun 2018 18:14:48 +0000 (11:14 -0700)
commitfb55bea1fe436b2b00a8bcc0bad69c76409270e8
tree29dd1271dbb7cdc584d5742880f72d4d2400f482
parent60cc43fc888428bb2f18f08997432d426a243338
clk: qcom: gdsc: Add support for ALWAYS_ON gdscs

Some GDSCs might have software control to turn them off, but we might
want to keep them enabled always, in some cases because of lack of
support in kernel to handle a graceful turning off/on of such GDSCs.
Most common instances would be the GDCSs which power up the noc/bus
fabrics, which need bus drivers to handle them and atleast support for
which is missing on all qcom SoCs.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gdsc.c
drivers/clk/qcom/gdsc.h