* [PATCH 0/2] Add SM7635 RPMHPD power domains
@ 2025-06-25 9:13 Luca Weiss
2025-06-25 9:13 ` [PATCH 1/2] dt-bindings: power: qcom,rpmpd: document the SM7635 RPMh Power Domains Luca Weiss
2025-06-25 9:13 ` [PATCH 2/2] pmdomain: qcom: rpmhpd: Add SM7635 power domains Luca Weiss
0 siblings, 2 replies; 4+ messages in thread
From: Luca Weiss @ 2025-06-25 9:13 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Ulf Hansson
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel, linux-pm, Luca Weiss
Add support for the rpmhpd power domains in the SM7635 SoC.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Luca Weiss (2):
dt-bindings: power: qcom,rpmpd: document the SM7635 RPMh Power Domains
pmdomain: qcom: rpmhpd: Add SM7635 power domains
.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
drivers/pmdomain/qcom/rpmhpd.c | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
---
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
change-id: 20250620-sm7635-rpmhpd-dcb5dc066ce2
Best regards,
--
Luca Weiss <luca.weiss@fairphone.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] dt-bindings: power: qcom,rpmpd: document the SM7635 RPMh Power Domains
2025-06-25 9:13 [PATCH 0/2] Add SM7635 RPMHPD power domains Luca Weiss
@ 2025-06-25 9:13 ` Luca Weiss
2025-06-25 9:13 ` [PATCH 2/2] pmdomain: qcom: rpmhpd: Add SM7635 power domains Luca Weiss
1 sibling, 0 replies; 4+ messages in thread
From: Luca Weiss @ 2025-06-25 9:13 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Ulf Hansson
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel, linux-pm, Luca Weiss
Document the RPMh Power Domains on the SM7635 Platform.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.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 1bf65f2a583ab70ac313309f917aaabb75dc3f85..5a698392c657330d7d188c33c0bda46be5aae690 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -56,6 +56,7 @@ properties:
- qcom,sm6350-rpmhpd
- qcom,sm6375-rpmpd
- qcom,sm7150-rpmhpd
+ - qcom,sm7635-rpmhpd
- qcom,sm8150-rpmhpd
- qcom,sm8250-rpmhpd
- qcom,sm8350-rpmhpd
--
2.50.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] pmdomain: qcom: rpmhpd: Add SM7635 power domains
2025-06-25 9:13 [PATCH 0/2] Add SM7635 RPMHPD power domains Luca Weiss
2025-06-25 9:13 ` [PATCH 1/2] dt-bindings: power: qcom,rpmpd: document the SM7635 RPMh Power Domains Luca Weiss
@ 2025-06-25 9:13 ` Luca Weiss
2025-06-29 23:30 ` Dmitry Baryshkov
1 sibling, 1 reply; 4+ messages in thread
From: Luca Weiss @ 2025-06-25 9:13 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Ulf Hansson
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel, linux-pm, Luca Weiss
Add the power domains exposed by RPMH in the Qualcomm SM7635 platform.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
drivers/pmdomain/qcom/rpmhpd.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
index 078323b85b5648e33dd89e08cf31bdc5ab76d553..1a747b6a604c5c66e75abce10b337874e15df030 100644
--- a/drivers/pmdomain/qcom/rpmhpd.c
+++ b/drivers/pmdomain/qcom/rpmhpd.c
@@ -407,6 +407,24 @@ static const struct rpmhpd_desc sm7150_desc = {
.num_pds = ARRAY_SIZE(sm7150_rpmhpds),
};
+/* SM7635 RPMH powerdomains */
+static struct rpmhpd *sm7635_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,
+};
+
+static const struct rpmhpd_desc sm7635_desc = {
+ .rpmhpds = sm7635_rpmhpds,
+ .num_pds = ARRAY_SIZE(sm7635_rpmhpds),
+};
+
/* SM8150 RPMH powerdomains */
static struct rpmhpd *sm8150_rpmhpds[] = {
[SM8150_CX] = &cx_w_mx_parent,
@@ -742,6 +760,7 @@ static const struct of_device_id rpmhpd_match_table[] = {
{ .compatible = "qcom,sm4450-rpmhpd", .data = &sm4450_desc },
{ .compatible = "qcom,sm6350-rpmhpd", .data = &sm6350_desc },
{ .compatible = "qcom,sm7150-rpmhpd", .data = &sm7150_desc },
+ { .compatible = "qcom,sm7635-rpmhpd", .data = &sm7635_desc },
{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
{ .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc },
{ .compatible = "qcom,sm8350-rpmhpd", .data = &sm8350_desc },
--
2.50.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] pmdomain: qcom: rpmhpd: Add SM7635 power domains
2025-06-25 9:13 ` [PATCH 2/2] pmdomain: qcom: rpmhpd: Add SM7635 power domains Luca Weiss
@ 2025-06-29 23:30 ` Dmitry Baryshkov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2025-06-29 23:30 UTC (permalink / raw)
To: Luca Weiss
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Ulf Hansson, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, devicetree, linux-kernel, linux-pm
On Wed, Jun 25, 2025 at 11:13:24AM +0200, Luca Weiss wrote:
> Add the power domains exposed by RPMH in the Qualcomm SM7635 platform.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> drivers/pmdomain/qcom/rpmhpd.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
If there are no renamings involved:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-06-29 23:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 9:13 [PATCH 0/2] Add SM7635 RPMHPD power domains Luca Weiss
2025-06-25 9:13 ` [PATCH 1/2] dt-bindings: power: qcom,rpmpd: document the SM7635 RPMh Power Domains Luca Weiss
2025-06-25 9:13 ` [PATCH 2/2] pmdomain: qcom: rpmhpd: Add SM7635 power domains Luca Weiss
2025-06-29 23:30 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).