mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 06:41:39 -04:00
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 <taniya.das@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user