* [PATCH 0/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC
@ 2026-04-14 3:59 Shawn Guo
2026-04-14 3:59 ` [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines Shawn Guo
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Shawn Guo @ 2026-04-14 3:59 UTC (permalink / raw)
To: Ulf Hansson
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski,
Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel,
Shawn Guo
This series adds RPMh power domain support for the Qualcomm Nord SoC.
The Nord SoC introduces two new power domains beyond the existing set: GFX1
for the second GFX subsystem and NSP3 for the fourth NSP subsystem. Patch 1
is a preparatory cleanup that fixes inconsistent whitespace in the RPMHPD
define block before the new entries are added. Patches 2-3 add the DT
bindings and driver support for Nord respectively.
Kamal Wadhwa (2):
dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC
pmdomain: qcom: rpmhpd: Add power domains for Nord SoC
Shawn Guo (1):
dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines
.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
drivers/pmdomain/qcom/rpmhpd.c | 35 +++++++++++++++++++
include/dt-bindings/power/qcom,rpmhpd.h | 18 +++++-----
3 files changed, 46 insertions(+), 8 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines 2026-04-14 3:59 [PATCH 0/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC Shawn Guo @ 2026-04-14 3:59 ` Shawn Guo 2026-04-21 17:22 ` Rob Herring (Arm) 2026-04-14 3:59 ` [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC Shawn Guo 2026-04-14 3:59 ` [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains " Shawn Guo 2 siblings, 1 reply; 9+ messages in thread From: Shawn Guo @ 2026-04-14 3:59 UTC (permalink / raw) To: Ulf Hansson Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski, Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel, Shawn Guo Some RPMHPD_* defines in the Generic RPMH Power Domain Indexes section were using spaces instead of tabs for alignment. Fix them to be consistent with the rest of the file. Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> --- include/dt-bindings/power/qcom,rpmhpd.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/dt-bindings/power/qcom,rpmhpd.h b/include/dt-bindings/power/qcom,rpmhpd.h index 67e2634fdc99..74e910150956 100644 --- a/include/dt-bindings/power/qcom,rpmhpd.h +++ b/include/dt-bindings/power/qcom,rpmhpd.h @@ -7,7 +7,7 @@ #define _DT_BINDINGS_POWER_QCOM_RPMHPD_H /* Generic RPMH Power Domain Indexes */ -#define RPMHPD_CX 0 +#define RPMHPD_CX 0 #define RPMHPD_CX_AO 1 #define RPMHPD_EBI 2 #define RPMHPD_GFX 3 @@ -19,14 +19,14 @@ #define RPMHPD_MX_AO 9 #define RPMHPD_MXC 10 #define RPMHPD_MXC_AO 11 -#define RPMHPD_MSS 12 +#define RPMHPD_MSS 12 #define RPMHPD_NSP 13 -#define RPMHPD_NSP0 14 -#define RPMHPD_NSP1 15 -#define RPMHPD_QPHY 16 -#define RPMHPD_DDR 17 -#define RPMHPD_XO 18 -#define RPMHPD_NSP2 19 +#define RPMHPD_NSP0 14 +#define RPMHPD_NSP1 15 +#define RPMHPD_QPHY 16 +#define RPMHPD_DDR 17 +#define RPMHPD_XO 18 +#define RPMHPD_NSP2 19 #define RPMHPD_GMXC 20 #define RPMHPD_DCX 21 #define RPMHPD_GBX 22 -- 2.43.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines 2026-04-14 3:59 ` [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines Shawn Guo @ 2026-04-21 17:22 ` Rob Herring (Arm) 0 siblings, 0 replies; 9+ messages in thread From: Rob Herring (Arm) @ 2026-04-21 17:22 UTC (permalink / raw) To: Shawn Guo Cc: devicetree, Bjorn Andersson, Deepti Jaggi, Konrad Dybcio, Bartosz Golaszewski, linux-arm-msm, Kamal Wadhwa, Conor Dooley, linux-pm, Ulf Hansson, Taniya Das, linux-kernel, Krzysztof Kozlowski On Tue, 14 Apr 2026 11:59:07 +0800, Shawn Guo wrote: > Some RPMHPD_* defines in the Generic RPMH Power Domain Indexes section > were using spaces instead of tabs for alignment. Fix them to be > consistent with the rest of the file. > > Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> > --- > include/dt-bindings/power/qcom,rpmhpd.h | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > Acked-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC 2026-04-14 3:59 [PATCH 0/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC Shawn Guo 2026-04-14 3:59 ` [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines Shawn Guo @ 2026-04-14 3:59 ` Shawn Guo 2026-04-14 9:26 ` Konrad Dybcio 2026-04-21 17:22 ` Rob Herring (Arm) 2026-04-14 3:59 ` [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains " Shawn Guo 2 siblings, 2 replies; 9+ messages in thread From: Shawn Guo @ 2026-04-14 3:59 UTC (permalink / raw) To: Ulf Hansson Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski, Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel, Shawn Guo From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> Document the RPMh power domain for Nord SoC, and add definitions for the new power domains present on Nord SoC. - RPMHPD_NSP3: power domain for the 4th NSP subsystem - RPMHPD_GFX1: power domain for the 2nd GFX subsystem Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom,rpmhpd.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index 0bf1e13a9964..779380cc7e44 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -35,6 +35,7 @@ properties: - qcom,msm8994-rpmpd - qcom,msm8996-rpmpd - qcom,msm8998-rpmpd + - qcom,nord-rpmhpd - qcom,qcm2290-rpmpd - qcom,qcs404-rpmpd - qcom,qcs615-rpmhpd diff --git a/include/dt-bindings/power/qcom,rpmhpd.h b/include/dt-bindings/power/qcom,rpmhpd.h index 74e910150956..07bd2a7b0150 100644 --- a/include/dt-bindings/power/qcom,rpmhpd.h +++ b/include/dt-bindings/power/qcom,rpmhpd.h @@ -30,6 +30,8 @@ #define RPMHPD_GMXC 20 #define RPMHPD_DCX 21 #define RPMHPD_GBX 22 +#define RPMHPD_NSP3 23 +#define RPMHPD_GFX1 24 /* RPMh Power Domain performance levels */ #define RPMH_REGULATOR_LEVEL_RETENTION 16 -- 2.43.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC 2026-04-14 3:59 ` [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC Shawn Guo @ 2026-04-14 9:26 ` Konrad Dybcio 2026-04-21 17:22 ` Rob Herring (Arm) 1 sibling, 0 replies; 9+ messages in thread From: Konrad Dybcio @ 2026-04-14 9:26 UTC (permalink / raw) To: Shawn Guo, Ulf Hansson Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski, Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel On 4/14/26 5:59 AM, Shawn Guo wrote: > From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > > Document the RPMh power domain for Nord SoC, and add definitions for > the new power domains present on Nord SoC. > > - RPMHPD_NSP3: power domain for the 4th NSP subsystem > - RPMHPD_GFX1: power domain for the 2nd GFX subsystem > > Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC 2026-04-14 3:59 ` [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC Shawn Guo 2026-04-14 9:26 ` Konrad Dybcio @ 2026-04-21 17:22 ` Rob Herring (Arm) 1 sibling, 0 replies; 9+ messages in thread From: Rob Herring (Arm) @ 2026-04-21 17:22 UTC (permalink / raw) To: Shawn Guo Cc: Taniya Das, Krzysztof Kozlowski, Konrad Dybcio, Kamal Wadhwa, Ulf Hansson, Bartosz Golaszewski, linux-pm, Bjorn Andersson, Deepti Jaggi, linux-kernel, linux-arm-msm, Conor Dooley, devicetree On Tue, 14 Apr 2026 11:59:08 +0800, Shawn Guo wrote: > From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > > Document the RPMh power domain for Nord SoC, and add definitions for > the new power domains present on Nord SoC. > > - RPMHPD_NSP3: power domain for the 4th NSP subsystem > - RPMHPD_GFX1: power domain for the 2nd GFX subsystem > > Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> > --- > Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + > include/dt-bindings/power/qcom,rpmhpd.h | 2 ++ > 2 files changed, 3 insertions(+) > Acked-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC 2026-04-14 3:59 [PATCH 0/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC Shawn Guo 2026-04-14 3:59 ` [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines Shawn Guo 2026-04-14 3:59 ` [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC Shawn Guo @ 2026-04-14 3:59 ` Shawn Guo 2026-04-14 9:27 ` Konrad Dybcio 2026-04-14 19:27 ` Dmitry Baryshkov 2 siblings, 2 replies; 9+ messages in thread From: Shawn Guo @ 2026-04-14 3:59 UTC (permalink / raw) To: Ulf Hansson Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski, Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel, Shawn Guo From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> Add RPMh power domains required for Nord SoC. This includes new definitions for power domains supplying GFX1 and NSP3 subsystem. Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> --- drivers/pmdomain/qcom/rpmhpd.c | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index ba0cf4694435..63120e703923 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -122,6 +122,11 @@ static struct rpmhpd gfx = { .res_name = "gfx.lvl", }; +static struct rpmhpd gfx1 = { + .pd = { .name = "gfx1", }, + .res_name = "gfx1.lvl", +}; + static struct rpmhpd lcx = { .pd = { .name = "lcx", }, .res_name = "lcx.lvl", @@ -217,6 +222,11 @@ static struct rpmhpd nsp2 = { .res_name = "nsp2.lvl", }; +static struct rpmhpd nsp3 = { + .pd = { .name = "nsp3", }, + .res_name = "nsp3.lvl", +}; + static struct rpmhpd qphy = { .pd = { .name = "qphy", }, .res_name = "qphy.lvl", @@ -308,6 +318,30 @@ static const struct rpmhpd_desc sa8775p_desc = { .num_pds = ARRAY_SIZE(sa8775p_rpmhpds), }; +/* Nord RPMH powerdomains */ +static struct rpmhpd *nord_rpmhpds[] = { + [RPMHPD_CX] = &cx, + [RPMHPD_CX_AO] = &cx_ao, + [RPMHPD_EBI] = &ebi, + [RPMHPD_GFX] = &gfx, + [RPMHPD_GFX1] = &gfx1, + [RPMHPD_MX] = &mx, + [RPMHPD_MX_AO] = &mx_ao, + [RPMHPD_MMCX] = &mmcx, + [RPMHPD_MMCX_AO] = &mmcx_ao, + [RPMHPD_MXC] = &mxc, + [RPMHPD_MXC_AO] = &mxc_ao, + [RPMHPD_NSP0] = &nsp0, + [RPMHPD_NSP1] = &nsp1, + [RPMHPD_NSP2] = &nsp2, + [RPMHPD_NSP3] = &nsp3, +}; + +static const struct rpmhpd_desc nord_desc = { + .rpmhpds = nord_rpmhpds, + .num_pds = ARRAY_SIZE(nord_rpmhpds), +}; + /* SAR2130P RPMH powerdomains */ static struct rpmhpd *sar2130p_rpmhpds[] = { [RPMHPD_CX] = &cx, @@ -856,6 +890,7 @@ static const struct of_device_id rpmhpd_match_table[] = { { .compatible = "qcom,hawi-rpmhpd", .data = &hawi_desc }, { .compatible = "qcom,kaanapali-rpmhpd", .data = &kaanapali_desc }, { .compatible = "qcom,milos-rpmhpd", .data = &milos_desc }, + { .compatible = "qcom,nord-rpmhpd", .data = &nord_desc }, { .compatible = "qcom,qcs615-rpmhpd", .data = &qcs615_desc }, { .compatible = "qcom,qcs8300-rpmhpd", .data = &qcs8300_desc }, { .compatible = "qcom,qdu1000-rpmhpd", .data = &qdu1000_desc }, -- 2.43.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC 2026-04-14 3:59 ` [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains " Shawn Guo @ 2026-04-14 9:27 ` Konrad Dybcio 2026-04-14 19:27 ` Dmitry Baryshkov 1 sibling, 0 replies; 9+ messages in thread From: Konrad Dybcio @ 2026-04-14 9:27 UTC (permalink / raw) To: Shawn Guo, Ulf Hansson Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski, Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel On 4/14/26 5:59 AM, Shawn Guo wrote: > From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > > Add RPMh power domains required for Nord SoC. This includes > new definitions for power domains supplying GFX1 and NSP3 subsystem. > > Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC 2026-04-14 3:59 ` [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains " Shawn Guo 2026-04-14 9:27 ` Konrad Dybcio @ 2026-04-14 19:27 ` Dmitry Baryshkov 1 sibling, 0 replies; 9+ messages in thread From: Dmitry Baryshkov @ 2026-04-14 19:27 UTC (permalink / raw) To: Shawn Guo Cc: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio, Kamal Wadhwa, Taniya Das, Bartosz Golaszewski, Deepti Jaggi, linux-arm-msm, linux-pm, devicetree, linux-kernel On Tue, Apr 14, 2026 at 11:59:09AM +0800, Shawn Guo wrote: > From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > > Add RPMh power domains required for Nord SoC. This includes > new definitions for power domains supplying GFX1 and NSP3 subsystem. > > Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> > Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> > --- > drivers/pmdomain/qcom/rpmhpd.c | 35 ++++++++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-04-21 17:22 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-04-14 3:59 [PATCH 0/3] pmdomain: qcom: rpmhpd: Add power domains for Nord SoC Shawn Guo 2026-04-14 3:59 ` [PATCH 1/3] dt-bindings: power: qcom,rpmhpd: Fix whitespace in RPMHPD defines Shawn Guo 2026-04-21 17:22 ` Rob Herring (Arm) 2026-04-14 3:59 ` [PATCH 2/3] dt-bindings: power: qcom,rpmhpd: Add RPMh power domain for Nord SoC Shawn Guo 2026-04-14 9:26 ` Konrad Dybcio 2026-04-21 17:22 ` Rob Herring (Arm) 2026-04-14 3:59 ` [PATCH 3/3] pmdomain: qcom: rpmhpd: Add power domains " Shawn Guo 2026-04-14 9:27 ` Konrad Dybcio 2026-04-14 19:27 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox