2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-12 23:54:19 +08:00

clk: qcom: mmcc-msm8996: Properly describe GPU_GX gdsc

The GPU_GX GDSC depends on both GPU GDSC being enabled and that the
VDD_GX rail is powered, so update the description of the node to cover
these requirements.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lkml.kernel.org/r/20200417070044.1376212-3-bjorn.andersson@linaro.org
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Bjorn Andersson 2020-04-17 00:00:42 -07:00 committed by Stephen Boyd
parent 37416e5549
commit 90a3691e0b
2 changed files with 6 additions and 0 deletions

View File

@ -67,6 +67,10 @@ properties:
description: description:
Protected clock specifier list as per common clock binding Protected clock specifier list as per common clock binding
vdd-gfx-supply:
description:
Regulator supply for the GPU_GX GDSC
required: required:
- compatible - compatible
- reg - reg

View File

@ -3064,7 +3064,9 @@ static struct gdsc gpu_gx_gdsc = {
.name = "gpu_gx", .name = "gpu_gx",
}, },
.pwrsts = PWRSTS_OFF_ON, .pwrsts = PWRSTS_OFF_ON,
.parent = &gpu_gdsc.pd,
.flags = CLAMP_IO, .flags = CLAMP_IO,
.supply = "vdd-gfx",
}; };
static struct clk_regmap *mmcc_msm8996_clocks[] = { static struct clk_regmap *mmcc_msm8996_clocks[] = {