aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/qcom
diff options
context:
space:
mode:
authorRajendra Nayak <quic_rjendra@quicinc.com>2021-12-09 21:01:56 +0530
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-12-20 19:10:11 -0600
commit7d6a0a4dcf148681bb7760f9aad100ee3d3ce836 (patch)
tree3fa8d804db808df5bb9b93d7bb4779e5f8391952 /drivers/soc/qcom
parentsoc: qcom: rpmhpd: Rename rpmhpd struct names (diff)
downloadlinux-dev-7d6a0a4dcf148681bb7760f9aad100ee3d3ce836.tar.xz
linux-dev-7d6a0a4dcf148681bb7760f9aad100ee3d3ce836.zip
soc: qcom: rpmhpd: Remove mx/cx relationship on sc7280
The requirement to specify the active + sleep and active-only MX power-domains as the parents of the corresponding CX power domains is not applicable on sc7280. Fix it by using the cx/cx_ao structs for sc7280 instead of the _w_mx_parent ones. Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/1639063917-9011-4-git-send-email-quic_rjendra@quicinc.com
Diffstat (limited to 'drivers/soc/qcom')
-rw-r--r--drivers/soc/qcom/rpmhpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
index a12db32433c5..63602049eaa0 100644
--- a/drivers/soc/qcom/rpmhpd.c
+++ b/drivers/soc/qcom/rpmhpd.c
@@ -325,8 +325,8 @@ static const struct rpmhpd_desc sc7180_desc = {
/* SC7280 RPMH powerdomains */
static struct rpmhpd *sc7280_rpmhpds[] = {
- [SC7280_CX] = &cx_w_mx_parent,
- [SC7280_CX_AO] = &cx_ao_w_mx_parent,
+ [SC7280_CX] = &cx,
+ [SC7280_CX_AO] = &cx_ao,
[SC7280_EBI] = &ebi,
[SC7280_GFX] = &gfx,
[SC7280_MX] = &mx,