devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SMMUv2 support for SM7150
@ 2023-09-13 18:45 Danila Tikhonov
  2023-09-13 18:45 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2 Danila Tikhonov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Danila Tikhonov @ 2023-09-13 18:45 UTC (permalink / raw)
  To: will, robin.murphy, joro, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, dmitry.baryshkov, konrad.dybcio, quic_saipraka,
	quic_bjorande, a39.skl, robdclark, mani
  Cc: linux-arm-kernel, iommu, devicetree, linux-kernel,
	Danila Tikhonov

This series adds SMMUv2 support for Qualcomm SM7150 SoC.

Danila Tikhonov (2):
  dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2
  iommu/arm-smmu-qcom: Add SM7150 SMMUv2

 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c            | 1 +
 2 files changed, 3 insertions(+)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2
  2023-09-13 18:45 [PATCH 0/2] Add SMMUv2 support for SM7150 Danila Tikhonov
@ 2023-09-13 18:45 ` Danila Tikhonov
  2023-09-14  6:11   ` Krzysztof Kozlowski
  2023-09-13 18:45 ` [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2 Danila Tikhonov
  2023-10-12 18:06 ` [PATCH 0/2] Add SMMUv2 support for SM7150 Will Deacon
  2 siblings, 1 reply; 6+ messages in thread
From: Danila Tikhonov @ 2023-09-13 18:45 UTC (permalink / raw)
  To: will, robin.murphy, joro, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, dmitry.baryshkov, konrad.dybcio, quic_saipraka,
	quic_bjorande, a39.skl, robdclark, mani
  Cc: linux-arm-kernel, iommu, devicetree, linux-kernel,
	Danila Tikhonov

SM7150 has a qcom,smmu-v2-style SMMU just for Adreno and friends.
Document it.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
---
 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 cf29ab10501c..54c333ddf916 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -110,6 +110,7 @@ properties:
               - qcom,sdm630-smmu-v2
               - qcom,sdm845-smmu-v2
               - qcom,sm6350-smmu-v2
+              - qcom,sm7150-smmu-v2
           - const: qcom,adreno-smmu
           - const: qcom,smmu-v2
       - description: Qcom Adreno GPUs on Google Cheza platform
@@ -409,6 +410,7 @@ allOf:
           contains:
             enum:
               - qcom,sm6350-smmu-v2
+              - qcom,sm7150-smmu-v2
               - qcom,sm8150-smmu-500
               - qcom,sm8250-smmu-500
     then:
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2
  2023-09-13 18:45 [PATCH 0/2] Add SMMUv2 support for SM7150 Danila Tikhonov
  2023-09-13 18:45 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2 Danila Tikhonov
@ 2023-09-13 18:45 ` Danila Tikhonov
  2023-09-27 11:33   ` Konrad Dybcio
  2023-10-12 18:06 ` [PATCH 0/2] Add SMMUv2 support for SM7150 Will Deacon
  2 siblings, 1 reply; 6+ messages in thread
From: Danila Tikhonov @ 2023-09-13 18:45 UTC (permalink / raw)
  To: will, robin.murphy, joro, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, dmitry.baryshkov, konrad.dybcio, quic_saipraka,
	quic_bjorande, a39.skl, robdclark, mani
  Cc: linux-arm-kernel, iommu, devicetree, linux-kernel,
	Danila Tikhonov

SM7150 uses a qcom,smmu-v2-style SMMU just for Adreno and friends.
Add a compatible for it.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index 7f52ac67495f..47e28945a8a0 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -532,6 +532,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
 	{ .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm6375-smmu-v2", .data = &qcom_smmu_v2_data },
 	{ .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data },
+	{ .compatible = "qcom,sm7150-smmu-v2", .data = &qcom_smmu_v2_data },
 	{ .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm8250-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm8350-smmu-500", .data = &qcom_smmu_500_impl0_data },
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2
  2023-09-13 18:45 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2 Danila Tikhonov
@ 2023-09-14  6:11   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-14  6:11 UTC (permalink / raw)
  To: Danila Tikhonov, will, robin.murphy, joro, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, dmitry.baryshkov, konrad.dybcio,
	quic_saipraka, quic_bjorande, a39.skl, robdclark, mani
  Cc: linux-arm-kernel, iommu, devicetree, linux-kernel

On 13/09/2023 20:45, Danila Tikhonov wrote:
> SM7150 has a qcom,smmu-v2-style SMMU just for Adreno and friends.
> Document it.
> 
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2
  2023-09-13 18:45 ` [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2 Danila Tikhonov
@ 2023-09-27 11:33   ` Konrad Dybcio
  0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-09-27 11:33 UTC (permalink / raw)
  To: Danila Tikhonov, will, robin.murphy, joro, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, dmitry.baryshkov, quic_saipraka,
	quic_bjorande, a39.skl, robdclark, mani
  Cc: linux-arm-kernel, iommu, devicetree, linux-kernel

On 13.09.2023 20:45, Danila Tikhonov wrote:
> SM7150 uses a qcom,smmu-v2-style SMMU just for Adreno and friends.
> Add a compatible for it.
> 
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] Add SMMUv2 support for SM7150
  2023-09-13 18:45 [PATCH 0/2] Add SMMUv2 support for SM7150 Danila Tikhonov
  2023-09-13 18:45 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2 Danila Tikhonov
  2023-09-13 18:45 ` [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2 Danila Tikhonov
@ 2023-10-12 18:06 ` Will Deacon
  2 siblings, 0 replies; 6+ messages in thread
From: Will Deacon @ 2023-10-12 18:06 UTC (permalink / raw)
  To: robh+dt, mani, a39.skl, joro, dmitry.baryshkov, Danila Tikhonov,
	robdclark, conor+dt, konrad.dybcio, krzysztof.kozlowski+dt,
	quic_bjorande, quic_saipraka, robin.murphy
  Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel, iommu,
	devicetree, linux-arm-kernel

On Wed, 13 Sep 2023 21:45:23 +0300, Danila Tikhonov wrote:
> This series adds SMMUv2 support for Qualcomm SM7150 SoC.
> 
> Danila Tikhonov (2):
>   dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2
>   iommu/arm-smmu-qcom: Add SM7150 SMMUv2
> 
> Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
>  drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c            | 1 +
>  2 files changed, 3 insertions(+)
> 
> [...]

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2
      (no commit info)
[2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2
      https://git.kernel.org/will/c/70c613602b55

Cheers,
-- 
Will

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-12 18:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 18:45 [PATCH 0/2] Add SMMUv2 support for SM7150 Danila Tikhonov
2023-09-13 18:45 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2 Danila Tikhonov
2023-09-14  6:11   ` Krzysztof Kozlowski
2023-09-13 18:45 ` [PATCH 2/2] iommu/arm-smmu-qcom: Add SM7150 SMMUv2 Danila Tikhonov
2023-09-27 11:33   ` Konrad Dybcio
2023-10-12 18:06 ` [PATCH 0/2] Add SMMUv2 support for SM7150 Will Deacon

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).