summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/clk-rcg2.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2020-04-17 10:00:41 +0300
committerStephen Boyd <sboyd@kernel.org>2020-05-15 00:23:38 +0300
commit37416e554961b34451f3a160acd1e27656103e9f (patch)
treed8db74f65ba1b265c5be8dcd855cc0eeaa42e6c3 /drivers/clk/qcom/clk-rcg2.c
parentf47ab3c2f5338828a67e89d5f688d2cef9605245 (diff)
downloadlinux-37416e554961b34451f3a160acd1e27656103e9f.tar.xz
clk: qcom: gdsc: Handle GDSC regulator supplies
Certain GDSCs, such as the GPU_GX on MSM8996, requires that the upstream regulator supply is powered in order to be turned on. It's not guaranteed that the bootloader will leave these supplies on and the driver core will attempt to enable any GDSCs before allowing the individual drivers to probe defer on the PMIC regulator driver not yet being present. So the gdsc driver needs to be made aware of supplying regulators and probe defer on their absence, and it needs to enable and disable the regulator accordingly. Voltage adjustments of the supplying regulator are deferred to the client drivers themselves. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lkml.kernel.org/r/20200417070044.1376212-2-bjorn.andersson@linaro.org Reviewed-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/clk-rcg2.c')
0 files changed, 0 insertions, 0 deletions