pmdomain: qcom: rpmhpd: Add NMXC power domain for Nord

Add the nmxc.lvl RPMh resource and register it in the Nord power domain
table. Nord supplies the NSP memory rail from this dedicated resource
rather than from the shared MX rail, so consumers need it exposed as its
own power domain.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
This commit is contained in:
Anurag Pateriya 2026-08-26 21:54:54 +08:00 committed by Ulf Hansson
parent 470ad75101
commit 16d52b4e59

View File

@ -198,6 +198,11 @@ static struct rpmhpd mxc_ao = {
.res_name = "mxc.lvl",
};
static struct rpmhpd nmxc = {
.pd = { .name = "nmxc", },
.res_name = "nmxc.lvl",
};
static struct rpmhpd nsp = {
.pd = { .name = "nsp", },
.res_name = "nsp.lvl",
@ -327,6 +332,7 @@ static struct rpmhpd *nord_rpmhpds[] = {
[RPMHPD_MX_AO] = &mx_ao,
[RPMHPD_MXC] = &mxc,
[RPMHPD_MXC_AO] = &mxc_ao,
[RPMHPD_NMXC] = &nmxc,
[RPMHPD_NSP0] = &nsp0,
[RPMHPD_NSP1] = &nsp1,
[RPMHPD_NSP2] = &nsp2,