2023-11-24 10:09:12

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V3 0/5] dt-bindings: Document gpi/pdc/scm/smmu for X1E80100

This series documents gpi/pdc/scm/smmu/soc for the Qualcomm X1E80100
platform, aka Snapdragon X Elite.

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.

v3:
* Extend pattern matching support for the X1E platform. [Konrad]
* Rebased to the latest lnext. [Krzysztof]
* Pickup Rbs.

v2:
* Update the part number from sc8380xp to x1e80100.
* Document PDC bindings as well.
* List the interconnect requirements in bindings. [Krzysztof]
* Pickup Rbs.

Dependencies: https://lore.kernel.org/lkml/[email protected]/
Release Link: https://www.qualcomm.com/news/releases/2023/10/qualcomm-unleashes-snapdragon-x-elite--the-ai-super-charged-plat

Rajendra Nayak (1):
dt-bindings: arm-smmu: Add compatible for X1E80100 SoC

Sibi Sankar (4):
dt-bindings: arm: qcom-soc: extend pattern matching for X1E80100 SoC
dt-bindings: dma: qcom: gpi: add compatible for X1E80100
dt-bindings: firmware: qcom,scm: document SCM on X1E80100 SoCs
dt-bindings: interrupt-controller: qcom,pdc: document pdc on X1E80100

Documentation/devicetree/bindings/arm/qcom-soc.yaml | 8 ++++----
Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 +
Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 2 ++
.../bindings/interrupt-controller/qcom,pdc.yaml | 1 +
Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
5 files changed, 10 insertions(+), 4 deletions(-)

--
2.17.1


2023-11-24 10:09:53

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V3 1/5] dt-bindings: arm: qcom-soc: extend pattern matching for X1E80100 SoC

Extend pattern matching to support the X1E platform name.

Signed-off-by: Sibi Sankar <[email protected]>
---
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 09db42456c12..d0751a572af3 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|sc|sd[amx]|sm)[0-9]+.*$"
+ pattern: "^qcom,.*(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[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)[0-9]+(pro)?-.*$"
+ - pattern: "^qcom,(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+(pro)?-.*$"
- pattern: "^qcom,(sa|sc)8[0-9]+[a-z][a-z]?-.*$"

# Legacy namings - variations of existing patterns/compatibles are OK,
@@ -39,9 +39,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)[0-9]+.*$"
+ - pattern: "^qcom,pcie-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[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)[0-9]+.*$"
+ - pattern: "^qcom,scm-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+.*$"
- enum:
- qcom,dsi-ctrl-6g-qcm2290
- qcom,gpucc-sdm630
--
2.17.1

2023-11-24 10:09:57

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V3 5/5] dt-bindings: interrupt-controller: qcom,pdc: document pdc on X1E80100

The X1E80100 SoC includes a PDC, document it.

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

v3
* Rebased to the latest lnext. [Krzysztof]

.../devicetree/bindings/interrupt-controller/qcom,pdc.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml
index 8473afffce63..2f7320a5537e 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml
@@ -42,6 +42,7 @@ properties:
- qcom,sm8350-pdc
- qcom,sm8450-pdc
- qcom,sm8550-pdc
+ - qcom,x1e80100-pdc
- const: qcom,pdc

reg:
--
2.17.1

2023-11-24 10:10:08

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V3 2/5] dt-bindings: arm-smmu: Add compatible for X1E80100 SoC

From: Rajendra Nayak <[email protected]>

Add the SoC specific compatible for X1E80100 implementing arm,mmu-500.

Signed-off-by: Rajendra Nayak <[email protected]>
Co-developed-by: Sibi Sankar <[email protected]>
Signed-off-by: Sibi Sankar <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---

v3:
* Pickup Rbs.

Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index aa9e1c0895a5..7ae4f65fe236 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -56,6 +56,7 @@ properties:
- qcom,sm8350-smmu-500
- qcom,sm8450-smmu-500
- qcom,sm8550-smmu-500
+ - qcom,x1e80100-smmu-500
- const: qcom,smmu-500
- const: arm,mmu-500

@@ -475,6 +476,7 @@ allOf:
- qcom,sm8350-smmu-500
- qcom,sm8450-smmu-500
- qcom,sm8550-smmu-500
+ - qcom,x1e80100-smmu-500
then:
properties:
clock-names: false
--
2.17.1

2023-11-24 10:10:19

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V3 4/5] dt-bindings: firmware: qcom,scm: document SCM on X1E80100 SoCs

Document scm compatible for X1E80100 SoCs.

Signed-off-by: Sibi Sankar <[email protected]>
Reviewed-by: Guru Das Srinagesh <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
index 0613a37a851a..0a07c6c76720 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
@@ -64,6 +64,7 @@ properties:
- qcom,scm-sm8450
- qcom,scm-sm8550
- qcom,scm-qcs404
+ - qcom,scm-x1e80100
- const: qcom,scm

clocks:
@@ -189,6 +190,7 @@ allOf:
- qcom,scm-sc8280xp
- qcom,scm-sm8450
- qcom,scm-sm8550
+ - qcom,scm-x1e80100
then:
properties:
interconnects: false
--
2.17.1

2023-11-24 10:10:27

by Sibi Sankar

[permalink] [raw]
Subject: [PATCH V3 3/5] dt-bindings: dma: qcom: gpi: add compatible for X1E80100

The Qualcomm X1E80100 uses GPI DMA for its GENI interface. Add a compatible
string for it in the documentation by using the SM6350 as fallback.

Signed-off-by: Sibi Sankar <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
index 88d0de3d1b46..d06db2cc931e 100644
--- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
+++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml
@@ -32,6 +32,7 @@ properties:
- qcom,sm8350-gpi-dma
- qcom,sm8450-gpi-dma
- qcom,sm8550-gpi-dma
+ - qcom,x1e80100-gpi-dma
- const: qcom,sm6350-gpi-dma
- items:
- enum:
--
2.17.1

2023-11-24 10:19:17

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V3 5/5] dt-bindings: interrupt-controller: qcom,pdc: document pdc on X1E80100

On 24/11/2023 11:06, Sibi Sankar wrote:
> The X1E80100 SoC includes a PDC, document it.
>
> Signed-off-by: Sibi Sankar <[email protected]>
> ---

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

Best regards,
Krzysztof

2023-11-24 10:19:21

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V3 1/5] dt-bindings: arm: qcom-soc: extend pattern matching for X1E80100 SoC

On 24/11/2023 11:06, Sibi Sankar wrote:
> Extend pattern matching to support the X1E platform name.
>
> Signed-off-by: Sibi Sankar <[email protected]>
> ---
> Documentation/devicetree/bindings/arm/qcom-soc.yaml | 8 ++++----

Depends on:
https://lore.kernel.org/lkml/[email protected]/

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

Best regards,
Krzysztof

2023-11-24 13:33:41

by Vinod Koul

[permalink] [raw]
Subject: Re: (subset) [PATCH V3 0/5] dt-bindings: Document gpi/pdc/scm/smmu for X1E80100


On Fri, 24 Nov 2023 15:36:03 +0530, Sibi Sankar wrote:
> This series documents gpi/pdc/scm/smmu/soc for the Qualcomm X1E80100
> platform, aka Snapdragon X Elite.
>
> 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.
>
> [...]

Applied, thanks!

[3/5] dt-bindings: dma: qcom: gpi: add compatible for X1E80100
commit: 66fb6eb6fab63ee80fd26cd5bdd9164aead0d207

Best regards,
--
~Vinod


2023-11-27 17:56:08

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH V3 5/5] dt-bindings: interrupt-controller: qcom,pdc: document pdc on X1E80100

On Fri, Nov 24, 2023 at 03:36:08PM +0530, Sibi Sankar wrote:
> The X1E80100 SoC includes a PDC, document it.
>
> Signed-off-by: Sibi Sankar <[email protected]>
> ---
>
> v3
> * Rebased to the latest lnext. [Krzysztof]
>
> .../devicetree/bindings/interrupt-controller/qcom,pdc.yaml | 1 +
> 1 file changed, 1 insertion(+)

Applied, thanks.

2023-12-08 14:53:06

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH V3 0/5] dt-bindings: Document gpi/pdc/scm/smmu for X1E80100


On Fri, 24 Nov 2023 15:36:03 +0530, Sibi Sankar wrote:
> This series documents gpi/pdc/scm/smmu/soc for the Qualcomm X1E80100
> platform, aka Snapdragon X Elite.
>
> 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.
>
> [...]

Applied, thanks!

[4/5] dt-bindings: firmware: qcom,scm: document SCM on X1E80100 SoCs
commit: 696945e427e63ebbabad656893fb82da1ee2a980

Best regards,
--
Bjorn Andersson <[email protected]>

2023-12-12 17:22:14

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH V3 0/5] dt-bindings: Document gpi/pdc/scm/smmu for X1E80100

On Fri, 24 Nov 2023 15:36:03 +0530, Sibi Sankar wrote:
> This series documents gpi/pdc/scm/smmu/soc for the Qualcomm X1E80100
> platform, aka Snapdragon X Elite.
>
> 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.
>
> [...]

Applied SMMU binding change to will (for-joerg/arm-smmu/bindings), thanks!

[2/5] dt-bindings: arm-smmu: Add compatible for X1E80100 SoC
https://git.kernel.org/will/c/fa27b35c9102

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev