2023-11-23 10:01:35

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V2 0/2] pmdomain: qcom: Update part number to X1E80100

Our v1 post of the patchsets adding support for Snapdragon X Elite SoC had
the part number sc8380xp which is now updated to the new part number x1e80100
based on the new branding scheme and refers to the exact same SoC.

V2:
* Add more details to the commit message on both the patches. [Krzysztof/Konrad]

Sibi Sankar (2):
dt-bindings: power: rpmpd: Update part number to X1E80100
pmdomain: qcom: rpmhpd: Update part number to X1E80100

.../devicetree/bindings/power/qcom,rpmpd.yaml | 2 +-
drivers/pmdomain/qcom/rpmhpd.c | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)

--
2.17.1


2023-11-23 10:01:47

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V2 2/2] pmdomain: qcom: rpmhpd: Update part number to X1E80100

There was a recent part number update from SC8380XP to X1E80100 and as
a result of which SC8380xp prefix introduced in the rpmhpd driver is no
longer correct. Update it to X1E80100, to reflect the bindings change.

Signed-off-by: Sibi Sankar <[email protected]>
---

v2:
* Add more details to the commit message. [Krzysztof/Konrad]

drivers/pmdomain/qcom/rpmhpd.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
index f2e64324deb8..3078896b1300 100644
--- a/drivers/pmdomain/qcom/rpmhpd.c
+++ b/drivers/pmdomain/qcom/rpmhpd.c
@@ -598,8 +598,8 @@ static const struct rpmhpd_desc sc8280xp_desc = {
.num_pds = ARRAY_SIZE(sc8280xp_rpmhpds),
};

-/* SC8380xp RPMH powerdomains */
-static struct rpmhpd *sc8380xp_rpmhpds[] = {
+/* X1E80100 RPMH powerdomains */
+static struct rpmhpd *x1e80100_rpmhpds[] = {
[RPMHPD_CX] = &cx,
[RPMHPD_CX_AO] = &cx_ao,
[RPMHPD_EBI] = &ebi,
@@ -615,9 +615,9 @@ static struct rpmhpd *sc8380xp_rpmhpds[] = {
[RPMHPD_GMXC] = &gmxc,
};

-static const struct rpmhpd_desc sc8380xp_desc = {
- .rpmhpds = sc8380xp_rpmhpds,
- .num_pds = ARRAY_SIZE(sc8380xp_rpmhpds),
+static const struct rpmhpd_desc x1e80100_desc = {
+ .rpmhpds = x1e80100_rpmhpds,
+ .num_pds = ARRAY_SIZE(x1e80100_rpmhpds),
};

static const struct of_device_id rpmhpd_match_table[] = {
@@ -629,7 +629,6 @@ static const struct of_device_id rpmhpd_match_table[] = {
{ .compatible = "qcom,sc7280-rpmhpd", .data = &sc7280_desc },
{ .compatible = "qcom,sc8180x-rpmhpd", .data = &sc8180x_desc },
{ .compatible = "qcom,sc8280xp-rpmhpd", .data = &sc8280xp_desc },
- { .compatible = "qcom,sc8380xp-rpmhpd", .data = &sc8380xp_desc },
{ .compatible = "qcom,sdm670-rpmhpd", .data = &sdm670_desc },
{ .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
{ .compatible = "qcom,sdx55-rpmhpd", .data = &sdx55_desc},
@@ -643,6 +642,7 @@ static const struct of_device_id rpmhpd_match_table[] = {
{ .compatible = "qcom,sm8450-rpmhpd", .data = &sm8450_desc },
{ .compatible = "qcom,sm8550-rpmhpd", .data = &sm8550_desc },
{ .compatible = "qcom,sm8650-rpmhpd", .data = &sm8650_desc },
+ { .compatible = "qcom,x1e80100-rpmhpd", .data = &x1e80100_desc },
{ }
};
MODULE_DEVICE_TABLE(of, rpmhpd_match_table);
--
2.17.1

2023-11-23 10:02:16

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V2 1/2] dt-bindings: power: rpmpd: Update part number to X1E80100

There was a recent part number update from SC8380XP to X1E80100 and as
a result of which the SC8380xp rpmpd bindings introduced is no longer
correct. Given that it currently has no users, it was agreed that it
can be updated to the correct part number (X1E80100) without causing
any binding breakage.

Signed-off-by: Sibi Sankar <[email protected]>
---

v2:
* Add more details to the commit message. [Krzysztof/Konrad]

Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index da9c5846f4e1..2ff246cf8b81 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -39,7 +39,6 @@ properties:
- qcom,sc7280-rpmhpd
- qcom,sc8180x-rpmhpd
- qcom,sc8280xp-rpmhpd
- - qcom,sc8380xp-rpmhpd
- qcom,sdm660-rpmpd
- qcom,sdm670-rpmhpd
- qcom,sdm845-rpmhpd
@@ -57,6 +56,7 @@ properties:
- qcom,sm8450-rpmhpd
- qcom,sm8550-rpmhpd
- qcom,sm8650-rpmhpd
+ - qcom,x1e80100-rpmhpd
- items:
- enum:
- qcom,msm8937-rpmpd
--
2.17.1

2023-11-23 10:18:44

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V2 1/2] dt-bindings: power: rpmpd: Update part number to X1E80100

On 23/11/2023 11:00, Sibi Sankar wrote:
> There was a recent part number update from SC8380XP to X1E80100 and as
> a result of which the SC8380xp rpmpd bindings introduced is no longer
> correct. Given that it currently has no users, it was agreed that it
> can be updated to the correct part number (X1E80100) without causing
> any binding breakage.
>
> Signed-off-by: Sibi Sankar <[email protected]>
> ---

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2023-11-23 10:18:50

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V2 2/2] pmdomain: qcom: rpmhpd: Update part number to X1E80100

On 23/11/2023 11:00, Sibi Sankar wrote:
> There was a recent part number update from SC8380XP to X1E80100 and as
> a result of which SC8380xp prefix introduced in the rpmhpd driver is no
> longer correct. Update it to X1E80100, to reflect the bindings change.
>
> Signed-off-by: Sibi Sankar <[email protected]>
> ---
>

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2023-11-23 16:39:30

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH V2 0/2] pmdomain: qcom: Update part number to X1E80100

On Thu, 23 Nov 2023 at 11:00, Sibi Sankar <[email protected]> wrote:
>
> Our v1 post of the patchsets adding support for Snapdragon X Elite SoC had
> the part number sc8380xp which is now updated to the new part number x1e80100
> based on the new branding scheme and refers to the exact same SoC.
>
> V2:
> * Add more details to the commit message on both the patches. [Krzysztof/Konrad]
>
> Sibi Sankar (2):
> dt-bindings: power: rpmpd: Update part number to X1E80100
> pmdomain: qcom: rpmhpd: Update part number to X1E80100
>
> .../devicetree/bindings/power/qcom,rpmpd.yaml | 2 +-
> drivers/pmdomain/qcom/rpmhpd.c | 12 ++++++------
> 2 files changed, 7 insertions(+), 7 deletions(-)
>

Applied for next, thanks!

Note the DT patch is shared via the immutable "dt" branch.

Kind regards
Uffe