* [PATCH 0/4] X1P42100 bindings + common driver bits
@ 2024-12-21 12:35 Konrad Dybcio
2024-12-21 12:36 ` [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P Konrad Dybcio
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Konrad Dybcio @ 2024-12-21 12:35 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
This series brings the board/platform compatibles for X1P42100 & the
CRD based on it and adds them to various match tables.
The DT itself will come in a separate series, as it depends on some
more changes across the tree.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
Konrad Dybcio (4):
dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P
dt-bindings: arm: qcom: Add X1P42100 SoC & CRD
soc: qcom: pd-mapper: Add X1P42100
firmware: qcom: scm: Allow QSEECOM on X1P42100 CRD
Documentation/devicetree/bindings/arm/qcom-soc.yaml | 8 ++++----
Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
drivers/firmware/qcom/qcom_scm.c | 1 +
drivers/soc/qcom/qcom_pd_mapper.c | 1 +
4 files changed, 12 insertions(+), 4 deletions(-)
---
base-commit: 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2
change-id: 20241221-topic-x1p4_soc-f38506252795
Best regards,
--
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P
2024-12-21 12:35 [PATCH 0/4] X1P42100 bindings + common driver bits Konrad Dybcio
@ 2024-12-21 12:36 ` Konrad Dybcio
2024-12-21 20:39 ` Krzysztof Kozlowski
2024-12-21 12:36 ` [PATCH 2/4] dt-bindings: arm: qcom: Add X1P42100 SoC & CRD Konrad Dybcio
` (3 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Konrad Dybcio @ 2024-12-21 12:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
The X1 series includes SoCs like X1P42100. Extend the pattern x1e match
to x1[ep] to also include these.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
Documentation/devicetree/bindings/arm/qcom-soc.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/qcom-soc.yaml b/Documentation/devicetree/bindings/arm/qcom-soc.yaml
index 2ea6d3f65478157a1a373a8d1fdf35497f30e7c3..a77d68dcad4e52e4fee43729ac8dc1caf957262e 100644
--- a/Documentation/devicetree/bindings/arm/qcom-soc.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom-soc.yaml
@@ -23,7 +23,7 @@ description: |
select:
properties:
compatible:
- pattern: "^qcom,.*(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sar|sc|sd[amx]|sm|x1e)[0-9]+.*$"
+ pattern: "^qcom,.*(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sar|sc|sd[amx]|sm|x1[ep])[0-9]+.*$"
required:
- compatible
@@ -31,7 +31,7 @@ properties:
compatible:
oneOf:
# Preferred naming style for compatibles of SoC components:
- - pattern: "^qcom,(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+(pro)?-.*$"
+ - pattern: "^qcom,(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1[ep])[0-9]+(pro)?-.*$"
- pattern: "^qcom,sar[0-9]+[a-z]?-.*$"
- pattern: "^qcom,(sa|sc)8[0-9]+[a-z][a-z]?-.*$"
@@ -40,9 +40,9 @@ properties:
- pattern: "^qcom,[ak]pss-wdt-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"
- pattern: "^qcom,gcc-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"
- pattern: "^qcom,mmcc-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"
- - pattern: "^qcom,pcie-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+.*$"
+ - pattern: "^qcom,pcie-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1[ep])[0-9]+.*$"
- pattern: "^qcom,rpm-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"
- - pattern: "^qcom,scm-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+.*$"
+ - pattern: "^qcom,scm-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1[ep])[0-9]+.*$"
- enum:
- qcom,dsi-ctrl-6g-qcm2290
- qcom,gpucc-sdm630
--
2.47.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/4] dt-bindings: arm: qcom: Add X1P42100 SoC & CRD
2024-12-21 12:35 [PATCH 0/4] X1P42100 bindings + common driver bits Konrad Dybcio
2024-12-21 12:36 ` [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P Konrad Dybcio
@ 2024-12-21 12:36 ` Konrad Dybcio
2024-12-21 20:39 ` Krzysztof Kozlowski
2024-12-21 12:36 ` [PATCH 3/4] soc: qcom: pd-mapper: Add X1P42100 Konrad Dybcio
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Konrad Dybcio @ 2024-12-21 12:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
The X1 family is split into two parts: the 10- and 12-core parts are
variants of the same silicon with different fusing, whereas the 8-core
ones are a separate design. Thankfully, the software interface is only
barely different, letting us reuse much of the existing X1 work.
Add X1P42100 SoC (and the CRD based on it) as a representative of the
8-core series.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index d394dffe3fba5a396b85a6093f34e9ef62b6f9cc..c5b7268cd9407c1e8a33b291d541d33c1e5cb6eb 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -99,6 +99,7 @@ description: |
sm8650
x1e78100
x1e80100
+ x1p42100
There are many devices in the list below that run the standard ChromeOS
bootloader setup and use the open source depthcharge bootloader to boot the
@@ -1122,6 +1123,11 @@ properties:
- qcom,x1e80100-qcp
- const: qcom,x1e80100
+ - items:
+ - enum:
+ - qcom,x1p42100-crd
+ - const: qcom,x1p42100
+
# Board compatibles go above
qcom,msm-id:
--
2.47.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/4] soc: qcom: pd-mapper: Add X1P42100
2024-12-21 12:35 [PATCH 0/4] X1P42100 bindings + common driver bits Konrad Dybcio
2024-12-21 12:36 ` [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P Konrad Dybcio
2024-12-21 12:36 ` [PATCH 2/4] dt-bindings: arm: qcom: Add X1P42100 SoC & CRD Konrad Dybcio
@ 2024-12-21 12:36 ` Konrad Dybcio
2024-12-21 16:04 ` Dmitry Baryshkov
2024-12-21 12:36 ` [PATCH 4/4] firmware: qcom: scm: Allow QSEECOM on X1P42100 CRD Konrad Dybcio
2024-12-26 18:26 ` (subset) [PATCH 0/4] X1P42100 bindings + common driver bits Bjorn Andersson
4 siblings, 1 reply; 9+ messages in thread
From: Konrad Dybcio @ 2024-12-21 12:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
X1P42100 is a cousin of X1E80100, and hence can make use of the
latter's configuration. Do so.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
drivers/soc/qcom/qcom_pd_mapper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c
index 6e30f08761aa43da131a00885b2cc5e95960bc7c..50aa54996901f328146aac0197adfa8d71e4ef41 100644
--- a/drivers/soc/qcom/qcom_pd_mapper.c
+++ b/drivers/soc/qcom/qcom_pd_mapper.c
@@ -561,6 +561,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = {
{ .compatible = "qcom,sm8550", .data = sm8550_domains, },
{ .compatible = "qcom,sm8650", .data = sm8550_domains, },
{ .compatible = "qcom,x1e80100", .data = x1e80100_domains, },
+ { .compatible = "qcom,x1p42100", .data = x1e80100_domains, },
{},
};
--
2.47.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/4] firmware: qcom: scm: Allow QSEECOM on X1P42100 CRD
2024-12-21 12:35 [PATCH 0/4] X1P42100 bindings + common driver bits Konrad Dybcio
` (2 preceding siblings ...)
2024-12-21 12:36 ` [PATCH 3/4] soc: qcom: pd-mapper: Add X1P42100 Konrad Dybcio
@ 2024-12-21 12:36 ` Konrad Dybcio
2024-12-26 18:26 ` (subset) [PATCH 0/4] X1P42100 bindings + common driver bits Bjorn Andersson
4 siblings, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2024-12-21 12:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Add this board to the list to allow e.g. efivars access.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
drivers/firmware/qcom/qcom_scm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 72bf87ddcd969834609cda2aa915b67505e93943..4ef219684a2dc7cb93b4812b656bf11cdea5da1c 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -1780,6 +1780,7 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
{ .compatible = "qcom,x1e001de-devkit" },
{ .compatible = "qcom,x1e80100-crd" },
{ .compatible = "qcom,x1e80100-qcp" },
+ { .compatible = "qcom,x1p42100-crd" },
{ }
};
--
2.47.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 3/4] soc: qcom: pd-mapper: Add X1P42100
2024-12-21 12:36 ` [PATCH 3/4] soc: qcom: pd-mapper: Add X1P42100 Konrad Dybcio
@ 2024-12-21 16:04 ` Dmitry Baryshkov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2024-12-21 16:04 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
On Sat, Dec 21, 2024 at 01:36:02PM +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> X1P42100 is a cousin of X1E80100, and hence can make use of the
> latter's configuration. Do so.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> drivers/soc/qcom/qcom_pd_mapper.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P
2024-12-21 12:36 ` [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P Konrad Dybcio
@ 2024-12-21 20:39 ` Krzysztof Kozlowski
0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2024-12-21 20:39 UTC (permalink / raw)
To: Konrad Dybcio, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
On 21/12/2024 13:36, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> The X1 series includes SoCs like X1P42100. Extend the pattern x1e match
> to x1[ep] to also include these.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/4] dt-bindings: arm: qcom: Add X1P42100 SoC & CRD
2024-12-21 12:36 ` [PATCH 2/4] dt-bindings: arm: qcom: Add X1P42100 SoC & CRD Konrad Dybcio
@ 2024-12-21 20:39 ` Krzysztof Kozlowski
0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2024-12-21 20:39 UTC (permalink / raw)
To: Konrad Dybcio, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
On 21/12/2024 13:36, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> The X1 family is split into two parts: the 10- and 12-core parts are
> variants of the same silicon with different fusing, whereas the 8-core
> ones are a separate design. Thankfully, the software interface is only
> barely different, letting us reuse much of the existing X1 work.
>
> Add X1P42100 SoC (and the CRD based on it) as a representative of the
> 8-core series.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH 0/4] X1P42100 bindings + common driver bits
2024-12-21 12:35 [PATCH 0/4] X1P42100 bindings + common driver bits Konrad Dybcio
` (3 preceding siblings ...)
2024-12-21 12:36 ` [PATCH 4/4] firmware: qcom: scm: Allow QSEECOM on X1P42100 CRD Konrad Dybcio
@ 2024-12-26 18:26 ` Bjorn Andersson
4 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2024-12-26 18:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Konrad Dybcio
On Sat, 21 Dec 2024 13:35:59 +0100, Konrad Dybcio wrote:
> This series brings the board/platform compatibles for X1P42100 & the
> CRD based on it and adds them to various match tables.
>
> The DT itself will come in a separate series, as it depends on some
> more changes across the tree.
>
>
> [...]
Applied, thanks!
[3/4] soc: qcom: pd-mapper: Add X1P42100
commit: e7282bf8a0e9bb8a4cb1be406674ff7bb7b264f2
[4/4] firmware: qcom: scm: Allow QSEECOM on X1P42100 CRD
commit: 6994c655e1252049007973fd641e6a26f94c420b
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-12-26 18:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-21 12:35 [PATCH 0/4] X1P42100 bindings + common driver bits Konrad Dybcio
2024-12-21 12:36 ` [PATCH 1/4] dt-bindings: arm: qcom-soc: Extend X1E prefix match for X1P Konrad Dybcio
2024-12-21 20:39 ` Krzysztof Kozlowski
2024-12-21 12:36 ` [PATCH 2/4] dt-bindings: arm: qcom: Add X1P42100 SoC & CRD Konrad Dybcio
2024-12-21 20:39 ` Krzysztof Kozlowski
2024-12-21 12:36 ` [PATCH 3/4] soc: qcom: pd-mapper: Add X1P42100 Konrad Dybcio
2024-12-21 16:04 ` Dmitry Baryshkov
2024-12-21 12:36 ` [PATCH 4/4] firmware: qcom: scm: Allow QSEECOM on X1P42100 CRD Konrad Dybcio
2024-12-26 18:26 ` (subset) [PATCH 0/4] X1P42100 bindings + common driver bits 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).