Skip to content

arm64/qcom: Switch Nord CDSPs from MX to NMXC power domain - #988

Merged
Komal Bajaj (Komal-Bajaj) merged 4 commits into
qualcomm-linux:staging/nordfrom
apateriy-qcom:nord-staging-cdsp_nmxc
Aug 20, 2026
Merged

arm64/qcom: Switch Nord CDSPs from MX to NMXC power domain#988
Komal Bajaj (Komal-Bajaj) merged 4 commits into
qualcomm-linux:staging/nordfrom
apateriy-qcom:nord-staging-cdsp_nmxc

Conversation

@apateriy-qcom

Copy link
Copy Markdown

The CDSP subsystems on Nord keep their memory rail on a dedicated NMXC resource rather than the shared MX rail used by other subsystems. Keeping the driver's proxy power-domain list and the DT power-domain references in sync with this dedicated rail is required for correct power sequencing during PAS authentication/boot of the four CDSP remoteprocs.

Dependency ordering

Binding → pmdomain driver → PAS driver → DT, so that each consumer of RPMHPD_NMXC/"nmxc" builds against a tree where the index/resource already exists.

Nord routes the NSP (compute DSP) memory rail through a dedicated NMXC
resource instead of the shared MX rail. Add the index so device trees can
reference it.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
Comment thread drivers/pmdomain/qcom/rpmhpd.c Outdated
.res_name = "gmxc.lvl",
};

static struct rpmhpd nmxc = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add in alphabetical order

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated. Thanks.

@apateriy-qcom
apateriy-qcom force-pushed the nord-staging-cdsp_nmxc branch 2 times, most recently from 307e1a7 to f402f3b Compare August 20, 2026 08:58
Anurag Pateriya added 3 commits August 20, 2026 14:30
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>
The Nord CDSP subsystems keep their memory rail on the dedicated NMXC
resource, not on the shared MX rail. Replace "mx" with "nmxc" in the proxy
power domain list of all four CDSP resources so the correct rail is held
during PAS authentication and boot.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
… domain

Point the CDSP0-3 remoteproc nodes at the dedicated NMXC power domain
instead of the shared MX rail, matching the power topology of the Nord
NSP subsystems and the proxy power domain list in the PAS driver.

Include <dt-bindings/power/qcom,rpmhpd.h> in place of the legacy
qcom-rpmpd.h, as that is where the RPMHPD_* indices used here are defined.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
@apateriy-qcom
apateriy-qcom force-pushed the nord-staging-cdsp_nmxc branch from f402f3b to 241cfc6 Compare August 20, 2026 09:00
@Komal-Bajaj
Komal Bajaj (Komal-Bajaj) merged commit f5b6d13 into qualcomm-linux:staging/nord Aug 20, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants