Commit e7fe73fc authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

clk: qcom: gcc-sm8550: Mark the PCIe GDSCs votable

The PCIe GDSCs on most Qualcomm platforms expect the OS to always
consider collapse requests as successful. This also concerns SM8550.

Add the VOTABLE flag to the GDSCs in question to comply with these
expectations.

Fixes: 955f2ea3 ("clk: qcom: Add GCC driver for SM8550")
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231218-topic-8550_fixes-v1-4-ce1272d77540@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 1fe8273c
...@@ -3002,7 +3002,7 @@ static struct gdsc pcie_0_gdsc = { ...@@ -3002,7 +3002,7 @@ static struct gdsc pcie_0_gdsc = {
.name = "pcie_0_gdsc", .name = "pcie_0_gdsc",
}, },
.pwrsts = PWRSTS_OFF_ON, .pwrsts = PWRSTS_OFF_ON,
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, .flags = VOTABLE | POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
}; };
static struct gdsc pcie_0_phy_gdsc = { static struct gdsc pcie_0_phy_gdsc = {
...@@ -3011,7 +3011,7 @@ static struct gdsc pcie_0_phy_gdsc = { ...@@ -3011,7 +3011,7 @@ static struct gdsc pcie_0_phy_gdsc = {
.name = "pcie_0_phy_gdsc", .name = "pcie_0_phy_gdsc",
}, },
.pwrsts = PWRSTS_OFF_ON, .pwrsts = PWRSTS_OFF_ON,
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, .flags = VOTABLE | POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
}; };
static struct gdsc pcie_1_gdsc = { static struct gdsc pcie_1_gdsc = {
...@@ -3020,7 +3020,7 @@ static struct gdsc pcie_1_gdsc = { ...@@ -3020,7 +3020,7 @@ static struct gdsc pcie_1_gdsc = {
.name = "pcie_1_gdsc", .name = "pcie_1_gdsc",
}, },
.pwrsts = PWRSTS_OFF_ON, .pwrsts = PWRSTS_OFF_ON,
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, .flags = VOTABLE | POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
}; };
static struct gdsc pcie_1_phy_gdsc = { static struct gdsc pcie_1_phy_gdsc = {
...@@ -3029,7 +3029,7 @@ static struct gdsc pcie_1_phy_gdsc = { ...@@ -3029,7 +3029,7 @@ static struct gdsc pcie_1_phy_gdsc = {
.name = "pcie_1_phy_gdsc", .name = "pcie_1_phy_gdsc",
}, },
.pwrsts = PWRSTS_OFF_ON, .pwrsts = PWRSTS_OFF_ON,
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, .flags = VOTABLE | POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
}; };
static struct gdsc ufs_phy_gdsc = { static struct gdsc ufs_phy_gdsc = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment