clk: qcom: gpucc-sc8280xp: Add external supply for GX gdsc
authorBjorn Andersson <quic_bjorande@quicinc.com>
Thu, 25 Jan 2024 21:05:09 +0000 (13:05 -0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 30 Jan 2024 20:48:06 +0000 (14:48 -0600)
On SA8295P and SA8540P the GFX rail is powered by a dedicated external
regulator, instead of the rpmh-controlled "gfx.lvl".

Define the "vdd-gfx" as the supply regulator for the GDSC, to cause the
gdsc logic to look for, and control, this external power supply.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20240125-sa8295p-gpu-v4-3-7011c2a63037@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gpucc-sc8280xp.c

index 8e147ee294eefcef7e40a53079c1c26b9edff431..e2b3bc000c71e9d154f10534822892f510c195b4 100644 (file)
@@ -399,6 +399,7 @@ static struct gdsc gx_gdsc = {
        },
        .pwrsts = PWRSTS_OFF_ON,
        .flags = CLAMP_IO | RETAIN_FF_ENABLE,
+       .supply = "vdd-gfx",
 };
 
 static struct gdsc *gpu_cc_sc8280xp_gdscs[] = {
This page took 0.059689 seconds and 4 git commands to generate.