From: Abel Vesa Date: Mon, 2 Mar 2026 13:29:32 +0000 (+0200) Subject: pmdomain: qcom: rpmhpd: Add Eliza RPMh Power Domains X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f387ecdd492f64b6c4ab561095fbc02666262ef3;p=thirdparty%2Flinux.git pmdomain: qcom: rpmhpd: Add Eliza RPMh Power Domains Add RPMh Power Domains support for the Eliza platform. The list of power domains is taken from downstream. Even though the cmd-db does list MMCX and MXC, they are not used, so they should not be describe. Reviewed-by: Taniya Das Reviewed-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa Signed-off-by: Ulf Hansson --- diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index 19849703be4a..b0c80e4bd86c 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -217,6 +217,25 @@ static struct rpmhpd gmxc = { .res_name = "gmxc.lvl", }; +/* Eliza RPMH powerdomains */ +static struct rpmhpd *eliza_rpmhpds[] = { + [RPMHPD_CX] = &cx, + [RPMHPD_CX_AO] = &cx_ao, + [RPMHPD_EBI] = &ebi, + [RPMHPD_GFX] = &gfx, + [RPMHPD_LCX] = &lcx, + [RPMHPD_LMX] = &lmx, + [RPMHPD_MSS] = &mss, + [RPMHPD_MX] = &mx, + [RPMHPD_MX_AO] = &mx_ao, + [RPMHPD_NSP] = &nsp, +}; + +static const struct rpmhpd_desc eliza_desc = { + .rpmhpds = eliza_rpmhpds, + .num_pds = ARRAY_SIZE(eliza_rpmhpds), +}; + /* Milos RPMH powerdomains */ static struct rpmhpd *milos_rpmhpds[] = { [RPMHPD_CX] = &cx, @@ -795,6 +814,7 @@ static const struct rpmhpd_desc qcs615_desc = { }; static const struct of_device_id rpmhpd_match_table[] = { + { .compatible = "qcom,eliza-rpmhpd", .data = &eliza_desc }, { .compatible = "qcom,glymur-rpmhpd", .data = &glymur_desc }, { .compatible = "qcom,kaanapali-rpmhpd", .data = &kaanapali_desc }, { .compatible = "qcom,milos-rpmhpd", .data = &milos_desc },