mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] pmdomain: qcom: Add support for Eliza SoC
@ 2026-02-24  9:49 Abel Vesa
  2026-02-24  9:49 ` [PATCH v3 1/2] dt-bindings: power: qcom,rpmpd: document the Eliza RPMh Power Domains Abel Vesa
  2026-02-24  9:49 ` [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add " Abel Vesa
  0 siblings, 2 replies; 5+ messages in thread
From: Abel Vesa @ 2026-02-24  9:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Ulf Hansson
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-pm, Abel Vesa,
	Krzysztof Kozlowski, Taniya Das, Konrad Dybcio, Dmitry Baryshkov

Document the SoC specific compatible in the devicetree bindings
and add the driver support for this SoC.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Changes in v3:
- Picked up Dmitry's R-b tag for the driver patch.
- Re-worded the commit messages with better explanations.
- Dropped the MMCX and MXC entries as they are not described
  in downstream and not used. Consensus reached off-list.
- Link to v2: https://patch.msgid.link/20260223-eliza-pmdomain-v2-0-23fb87eb70ef@oss.qualcomm.com

Changes in v2:
- Changed the MMCX and MMCX_AO to the PDs with CX parent.
- Picked up Krzysztof's R-b tag for the bindings.
- Picked up Konrad's and Taniya's R-b tags for the driver patch.
- Link to v1: https://patch.msgid.link/20260216-eliza-pmdomain-v1-0-c51260a47d6d@oss.qualcomm.com

---
Abel Vesa (2):
      dt-bindings: power: qcom,rpmpd: document the Eliza RPMh Power Domains
      pmdomain: qcom: rpmhpd: Add Eliza RPMh Power Domains

 .../devicetree/bindings/power/qcom,rpmpd.yaml      |  1 +
 drivers/pmdomain/qcom/rpmhpd.c                     | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260216-eliza-pmdomain-dd10911bd4e4

Best regards,
--  
Abel Vesa <abel.vesa@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v3 1/2] dt-bindings: power: qcom,rpmpd: document the Eliza RPMh Power Domains
  2026-02-24  9:49 [PATCH v3 0/2] pmdomain: qcom: Add support for Eliza SoC Abel Vesa
@ 2026-02-24  9:49 ` Abel Vesa
  2026-02-24  9:49 ` [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add " Abel Vesa
  1 sibling, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2026-02-24  9:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Ulf Hansson
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-pm, Abel Vesa,
	Krzysztof Kozlowski

Document the RPMh Power Domains on the Eliza Platform. It is not
compatible with any of the previous platforms, so dedicated compatible
string is needed.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 27af5b8aa134..8174ceeab572 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -17,6 +17,7 @@ properties:
   compatible:
     oneOf:
       - enum:
+          - qcom,eliza-rpmhpd
           - qcom,glymur-rpmhpd
           - qcom,kaanapali-rpmhpd
           - qcom,mdm9607-rpmpd

-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add Eliza RPMh Power Domains
  2026-02-24  9:49 [PATCH v3 0/2] pmdomain: qcom: Add support for Eliza SoC Abel Vesa
  2026-02-24  9:49 ` [PATCH v3 1/2] dt-bindings: power: qcom,rpmpd: document the Eliza RPMh Power Domains Abel Vesa
@ 2026-02-24  9:49 ` Abel Vesa
  2026-02-24 13:38   ` Konrad Dybcio
  1 sibling, 1 reply; 5+ messages in thread
From: Abel Vesa @ 2026-02-24  9:49 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Ulf Hansson
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-pm, Abel Vesa,
	Taniya Das, Konrad Dybcio, Dmitry Baryshkov

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>
---
 drivers/pmdomain/qcom/rpmhpd.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
index 19849703be4a..ef2e08c6b454 100644
--- a/drivers/pmdomain/qcom/rpmhpd.c
+++ b/drivers/pmdomain/qcom/rpmhpd.c
@@ -217,6 +217,27 @@ 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_GMXC] = &gmxc,
+	[RPMHPD_LCX] = &lcx,
+	[RPMHPD_LMX] = &lmx,
+	[RPMHPD_MSS] = &mss,
+	[RPMHPD_MX] = &mx,
+	[RPMHPD_MX_AO] = &mx_ao,
+	[RPMHPD_NSP] = &nsp,
+	[RPMHPD_NSP2] = &nsp2,
+};
+
+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 +816,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 },

-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add Eliza RPMh Power Domains
  2026-02-24  9:49 ` [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add " Abel Vesa
@ 2026-02-24 13:38   ` Konrad Dybcio
  2026-02-24 13:41     ` Abel Vesa
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2026-02-24 13:38 UTC (permalink / raw)
  To: Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bjorn Andersson, Ulf Hansson
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-pm, Taniya Das,
	Dmitry Baryshkov

On 2/24/26 10:49 AM, Abel Vesa wrote:
> 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>
> ---
>  drivers/pmdomain/qcom/rpmhpd.c | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
> index 19849703be4a..ef2e08c6b454 100644
> --- a/drivers/pmdomain/qcom/rpmhpd.c
> +++ b/drivers/pmdomain/qcom/rpmhpd.c
> @@ -217,6 +217,27 @@ 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_GMXC] = &gmxc,

GMXC should be removed as well

> +	[RPMHPD_LCX] = &lcx,
> +	[RPMHPD_LMX] = &lmx,
> +	[RPMHPD_MSS] = &mss,
> +	[RPMHPD_MX] = &mx,
> +	[RPMHPD_MX_AO] = &mx_ao,
> +	[RPMHPD_NSP] = &nsp,
> +	[RPMHPD_NSP2] = &nsp2,

And this one too

Both are OFF by default ICYWW

Konrad

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add Eliza RPMh Power Domains
  2026-02-24 13:38   ` Konrad Dybcio
@ 2026-02-24 13:41     ` Abel Vesa
  0 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2026-02-24 13:41 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Ulf Hansson, linux-arm-msm, devicetree, linux-kernel, linux-pm,
	Taniya Das, Dmitry Baryshkov

On 26-02-24 14:38:29, Konrad Dybcio wrote:
> On 2/24/26 10:49 AM, Abel Vesa wrote:
> > 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>
> > ---
> >  drivers/pmdomain/qcom/rpmhpd.c | 22 ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> > 
> > diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
> > index 19849703be4a..ef2e08c6b454 100644
> > --- a/drivers/pmdomain/qcom/rpmhpd.c
> > +++ b/drivers/pmdomain/qcom/rpmhpd.c
> > @@ -217,6 +217,27 @@ 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_GMXC] = &gmxc,
> 
> GMXC should be removed as well
> 
> > +	[RPMHPD_LCX] = &lcx,
> > +	[RPMHPD_LMX] = &lmx,
> > +	[RPMHPD_MSS] = &mss,
> > +	[RPMHPD_MX] = &mx,
> > +	[RPMHPD_MX_AO] = &mx_ao,
> > +	[RPMHPD_NSP] = &nsp,
> > +	[RPMHPD_NSP2] = &nsp2,
> 
> And this one too
> 
> Both are OFF by default ICYWW

Will do.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-24 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-24  9:49 [PATCH v3 0/2] pmdomain: qcom: Add support for Eliza SoC Abel Vesa
2026-02-24  9:49 ` [PATCH v3 1/2] dt-bindings: power: qcom,rpmpd: document the Eliza RPMh Power Domains Abel Vesa
2026-02-24  9:49 ` [PATCH v3 2/2] pmdomain: qcom: rpmhpd: Add " Abel Vesa
2026-02-24 13:38   ` Konrad Dybcio
2026-02-24 13:41     ` Abel Vesa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®