clk: qcom: videocc: Add gdsc mmcx-reg supply hook
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 4 Feb 2021 15:01:20 +0000 (15:01 +0000)
committerStephen Boyd <sboyd@kernel.org>
Mon, 8 Feb 2021 18:12:29 +0000 (10:12 -0800)
This commit adds a regulator supply hook to mmcx-reg missing from

- mvs0c_gdsc
- mvs1c_gdsc
- mvs0_gdsc
- mvs1_gdsc

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210204150120.1521959-5-bryan.odonoghue@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/videocc-sm8250.c

index 3ade240..b0efadc 100644 (file)
@@ -278,6 +278,7 @@ static struct gdsc mvs0c_gdsc = {
        },
        .flags = 0,
        .pwrsts = PWRSTS_OFF_ON,
+       .supply = "mmcx",
 };
 
 static struct gdsc mvs1c_gdsc = {
@@ -287,6 +288,7 @@ static struct gdsc mvs1c_gdsc = {
        },
        .flags = 0,
        .pwrsts = PWRSTS_OFF_ON,
+       .supply = "mmcx",
 };
 
 static struct gdsc mvs0_gdsc = {
@@ -296,6 +298,7 @@ static struct gdsc mvs0_gdsc = {
        },
        .flags = HW_CTRL,
        .pwrsts = PWRSTS_OFF_ON,
+       .supply = "mmcx",
 };
 
 static struct gdsc mvs1_gdsc = {
@@ -305,6 +308,7 @@ static struct gdsc mvs1_gdsc = {
        },
        .flags = HW_CTRL,
        .pwrsts = PWRSTS_OFF_ON,
+       .supply = "mmcx",
 };
 
 static struct clk_regmap *video_cc_sm8250_clocks[] = {