* [PATCH v4 0/2] Add rpmhpd support for SDX75
@ 2023-07-31 11:30 Rohit Agarwal
2023-07-31 11:30 ` [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75 Rohit Agarwal
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Rohit Agarwal @ 2023-07-31 11:30 UTC (permalink / raw)
To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt
Cc: linux-arm-msm, devicetree, linux-kernel, Rohit Agarwal
Hi,
Changes in v4:
- Moved the generic bindings patch to a separate series [4].
- Corrected the subject of dt-bindings patch.
Changes in v3:
- Removed the macros from rpmpd.h and created new generic
bindings in patch [1/3] for rpmhpd only.
- Corrected the versioning in this version of patch series.
- Updated the patch series subject.
- Updated the drivers change according to the new binding in
patch [3/3]
Changes in v2:
- Link to v2 series [1] (Added because of versioning mismatch).
- Breaking the original series [2] into smaller series.
- Added new generic bindings for rpmpd and rpmhpd keeping the
older ones intact as removing them would break ABI [3].
This series adds the support of rpmhpd for sdx75 and also
adds the generic bindings for the PD to be used henceforth.
[1] https://lore.kernel.org/all/1688647793-20950-1-git-send-email-quic_rohiagar@quicinc.com/
[2] https://lore.kernel.org/all/1688395346-3126-1-git-send-email-quic_rohiagar@quicinc.com/
[3] https://lore.kernel.org/all/1688635218-23779-1-git-send-email-quic_rohiagar@quicinc.com/
[4] https://lore.kernel.org/all/1689744162-9421-1-git-send-email-quic_rohiagar@quicinc.com/
Thanks,
Rohit.
Rohit Agarwal (2):
dt-bindings: power: qcom,rpmpd: Add compatible for sdx75
soc: qcom: rpmhpd: Add SDX75 power domains
Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
drivers/soc/qcom/rpmhpd.c | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75
2023-07-31 11:30 [PATCH v4 0/2] Add rpmhpd support for SDX75 Rohit Agarwal
@ 2023-07-31 11:30 ` Rohit Agarwal
2023-07-31 15:45 ` Conor Dooley
2023-07-31 11:30 ` [PATCH v4 2/2] soc: qcom: rpmhpd: Add SDX75 power domains Rohit Agarwal
2023-07-31 23:52 ` [PATCH v4 0/2] Add rpmhpd support for SDX75 Bjorn Andersson
2 siblings, 1 reply; 5+ messages in thread
From: Rohit Agarwal @ 2023-07-31 11:30 UTC (permalink / raw)
To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt
Cc: linux-arm-msm, devicetree, linux-kernel, Rohit Agarwal
Add a compatible string for power domains in sdx75.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.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 f9c211a..9b03c41 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -41,6 +41,7 @@ properties:
- qcom,sdm845-rpmhpd
- qcom,sdx55-rpmhpd
- qcom,sdx65-rpmhpd
+ - qcom,sdx75-rpmhpd
- qcom,sm6115-rpmpd
- qcom,sm6125-rpmpd
- qcom,sm6350-rpmhpd
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v4 2/2] soc: qcom: rpmhpd: Add SDX75 power domains
2023-07-31 11:30 [PATCH v4 0/2] Add rpmhpd support for SDX75 Rohit Agarwal
2023-07-31 11:30 ` [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75 Rohit Agarwal
@ 2023-07-31 11:30 ` Rohit Agarwal
2023-07-31 23:52 ` [PATCH v4 0/2] Add rpmhpd support for SDX75 Bjorn Andersson
2 siblings, 0 replies; 5+ messages in thread
From: Rohit Agarwal @ 2023-07-31 11:30 UTC (permalink / raw)
To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt
Cc: linux-arm-msm, devicetree, linux-kernel, Rohit Agarwal
Add the power domains exposed by RPMH in the Qualcomm SDX75 platform.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
---
drivers/soc/qcom/rpmhpd.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
index 18d8544..f02a24a 100644
--- a/drivers/soc/qcom/rpmhpd.c
+++ b/drivers/soc/qcom/rpmhpd.c
@@ -308,6 +308,21 @@ static const struct rpmhpd_desc sdx65_desc = {
.num_pds = ARRAY_SIZE(sdx65_rpmhpds),
};
+/* SDX75 RPMH powerdomains */
+static struct rpmhpd *sdx75_rpmhpds[] = {
+ [RPMHPD_CX] = &cx,
+ [RPMHPD_CX_AO] = &cx_ao,
+ [RPMHPD_MSS] = &mss,
+ [RPMHPD_MX] = &mx,
+ [RPMHPD_MX_AO] = &mx_ao,
+ [RPMHPD_MXC] = &mxc,
+};
+
+static const struct rpmhpd_desc sdx75_desc = {
+ .rpmhpds = sdx75_rpmhpds,
+ .num_pds = ARRAY_SIZE(sdx75_rpmhpds),
+};
+
/* SM6350 RPMH powerdomains */
static struct rpmhpd *sm6350_rpmhpds[] = {
[SM6350_CX] = &cx_w_mx_parent,
@@ -546,6 +561,7 @@ static const struct of_device_id rpmhpd_match_table[] = {
{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
{ .compatible = "qcom,sdx55-rpmhpd", .data = &sdx55_desc},
{ .compatible = "qcom,sdx65-rpmhpd", .data = &sdx65_desc},
+ { .compatible = "qcom,sdx75-rpmhpd", .data = &sdx75_desc},
{ .compatible = "qcom,sm6350-rpmhpd", .data = &sm6350_desc },
{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
{ .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc },
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75
2023-07-31 11:30 ` [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75 Rohit Agarwal
@ 2023-07-31 15:45 ` Conor Dooley
0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2023-07-31 15:45 UTC (permalink / raw)
To: Rohit Agarwal
Cc: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, linux-arm-msm, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
On Mon, Jul 31, 2023 at 05:00:06PM +0530, Rohit Agarwal wrote:
> Add a compatible string for power domains in sdx75.
>
> Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v4 0/2] Add rpmhpd support for SDX75
2023-07-31 11:30 [PATCH v4 0/2] Add rpmhpd support for SDX75 Rohit Agarwal
2023-07-31 11:30 ` [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75 Rohit Agarwal
2023-07-31 11:30 ` [PATCH v4 2/2] soc: qcom: rpmhpd: Add SDX75 power domains Rohit Agarwal
@ 2023-07-31 23:52 ` Bjorn Andersson
2 siblings, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2023-07-31 23:52 UTC (permalink / raw)
To: agross, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
Rohit Agarwal
Cc: linux-arm-msm, devicetree, linux-kernel
On Mon, 31 Jul 2023 17:00:05 +0530, Rohit Agarwal wrote:
> Changes in v4:
> - Moved the generic bindings patch to a separate series [4].
> - Corrected the subject of dt-bindings patch.
>
> Changes in v3:
> - Removed the macros from rpmpd.h and created new generic
> bindings in patch [1/3] for rpmhpd only.
> - Corrected the versioning in this version of patch series.
> - Updated the patch series subject.
> - Updated the drivers change according to the new binding in
> patch [3/3]
>
> [...]
Applied, thanks!
[1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75
commit: 0b9d94e1f19acd19613386096d924af2333b620a
[2/2] soc: qcom: rpmhpd: Add SDX75 power domains
commit: 668e08c2e7b02124da573e29a67e013627ebf9ea
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-31 23:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 11:30 [PATCH v4 0/2] Add rpmhpd support for SDX75 Rohit Agarwal
2023-07-31 11:30 ` [PATCH v4 1/2] dt-bindings: power: qcom,rpmpd: Add compatible for sdx75 Rohit Agarwal
2023-07-31 15:45 ` Conor Dooley
2023-07-31 11:30 ` [PATCH v4 2/2] soc: qcom: rpmhpd: Add SDX75 power domains Rohit Agarwal
2023-07-31 23:52 ` [PATCH v4 0/2] Add rpmhpd support for SDX75 Bjorn Andersson
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).