clk: qcom: gcc-msm8994: Remove the inexistent GDSC_PCIE
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Thu, 23 Sep 2021 16:26:39 +0000 (18:26 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 Oct 2021 22:20:23 +0000 (15:20 -0700)
This GDSC is not present on msm8994.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210923162645.23257-6-konrad.dybcio@somainline.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8994.c

index 98b2fd4..2ed206e 100644 (file)
@@ -2485,14 +2485,6 @@ static struct clk_branch gcc_prng_ahb_clk = {
        },
 };
 
-static struct gdsc pcie_gdsc = {
-               .gdscr = 0x1e18,
-               .pd = {
-                       .name = "pcie",
-               },
-               .pwrsts = PWRSTS_OFF_ON,
-};
-
 static struct gdsc pcie_0_gdsc = {
                .gdscr = 0x1ac4,
                .pd = {
@@ -2682,7 +2674,8 @@ static struct clk_regmap *gcc_msm8994_clocks[] = {
 };
 
 static struct gdsc *gcc_msm8994_gdscs[] = {
-       [PCIE_GDSC] = &pcie_gdsc,
+       /* This GDSC does not exist, but ABI has to remain intact */
+       [PCIE_GDSC] = NULL,
        [PCIE_0_GDSC] = &pcie_0_gdsc,
        [PCIE_1_GDSC] = &pcie_1_gdsc,
        [USB30_GDSC] = &usb30_gdsc,