Commit 12d2a476 authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Andersson
Browse files

clk: gcc-sc8280xp: keep PCIe power-domains always-on



The Qualcomm PCIe driver does not yet implement suspend so to keep the
PCIe power domains always-on for now to avoid crashing during resume.

Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220805121250.10347-2-johan+linaro@kernel.org
parent 568035b0
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -6768,6 +6768,10 @@ static struct gdsc pcie_1_tunnel_gdsc = {
	.flags = VOTABLE,
};

/*
 * The Qualcomm PCIe driver does not yet implement suspend so to keep the
 * PCIe power domains always-on for now.
 */
static struct gdsc pcie_2a_gdsc = {
	.gdscr = 0x9d004,
	.collapse_ctrl = 0x52128,
@@ -6776,7 +6780,7 @@ static struct gdsc pcie_2a_gdsc = {
		.name = "pcie_2a_gdsc",
	},
	.pwrsts = PWRSTS_OFF_ON,
	.flags = VOTABLE,
	.flags = VOTABLE | ALWAYS_ON,
};

static struct gdsc pcie_2b_gdsc = {
@@ -6787,7 +6791,7 @@ static struct gdsc pcie_2b_gdsc = {
		.name = "pcie_2b_gdsc",
	},
	.pwrsts = PWRSTS_OFF_ON,
	.flags = VOTABLE,
	.flags = VOTABLE | ALWAYS_ON,
};

static struct gdsc pcie_3a_gdsc = {
@@ -6798,7 +6802,7 @@ static struct gdsc pcie_3a_gdsc = {
		.name = "pcie_3a_gdsc",
	},
	.pwrsts = PWRSTS_OFF_ON,
	.flags = VOTABLE,
	.flags = VOTABLE | ALWAYS_ON,
};

static struct gdsc pcie_3b_gdsc = {
@@ -6809,7 +6813,7 @@ static struct gdsc pcie_3b_gdsc = {
		.name = "pcie_3b_gdsc",
	},
	.pwrsts = PWRSTS_OFF_ON,
	.flags = VOTABLE,
	.flags = VOTABLE | ALWAYS_ON,
};

static struct gdsc pcie_4_gdsc = {
@@ -6820,7 +6824,7 @@ static struct gdsc pcie_4_gdsc = {
		.name = "pcie_4_gdsc",
	},
	.pwrsts = PWRSTS_OFF_ON,
	.flags = VOTABLE,
	.flags = VOTABLE | ALWAYS_ON,
};

static struct gdsc ufs_card_gdsc = {