linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2
       [not found] <20221117094422.11000-1-konrad.dybcio@linaro.org>
@ 2022-11-17  9:44 ` Konrad Dybcio
  2022-11-17 12:55   ` Krzysztof Kozlowski
  2022-11-17  9:44 ` [PATCH 2/2] iommu/arm-smmu-qcom: Add SM6350 SMMUv2 Konrad Dybcio
  1 sibling, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2022-11-17  9:44 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross, krzysztof.kozlowski
  Cc: patches, Konrad Dybcio, Will Deacon, Robin Murphy, Joerg Roedel,
	Rob Herring, Krzysztof Kozlowski, linux-arm-kernel, iommu,
	devicetree, linux-kernel

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

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 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 348a73f3e5f0..895ec8418465 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -94,6 +94,7 @@ properties:
               - qcom,sc7180-smmu-v2
               - qcom,sdm630-smmu-v2
               - qcom,sdm845-smmu-v2
+              - qcom,sm6350-smmu-v2
           - const: qcom,adreno-smmu
           - const: qcom,smmu-v2
       - description: Qcom Adreno GPUs on Google Cheza platform
@@ -347,6 +348,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,sm6350-smmu-v2
               - qcom,sm8150-smmu-500
               - qcom,sm8250-smmu-500
     then:
-- 
2.38.1


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

* [PATCH 2/2] iommu/arm-smmu-qcom: Add SM6350 SMMUv2
       [not found] <20221117094422.11000-1-konrad.dybcio@linaro.org>
  2022-11-17  9:44 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2 Konrad Dybcio
@ 2022-11-17  9:44 ` Konrad Dybcio
  1 sibling, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2022-11-17  9:44 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross, krzysztof.kozlowski
  Cc: patches, Konrad Dybcio, Will Deacon, Robin Murphy, Joerg Roedel,
	Konrad Dybcio, Rob Clark, Emma Anholt, Vinod Koul,
	Sai Prakash Ranjan, linux-arm-kernel, iommu, linux-kernel

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

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 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 fd97db178696..fa84a69b9439 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -513,6 +513,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
 	{ .compatible = "qcom,sdm845-smmu-500", .data = &sdm845_smmu_500_data },
 	{ .compatible = "qcom,sm6115-smmu-500", .data = &qcom_smmu_500_impl0_data},
 	{ .compatible = "qcom,sm6125-smmu-500", .data = &qcom_smmu_500_impl0_data },
+	{ .compatible = "qcom,sm6350-smmu-v2", .data = &qcom_smmu_v2_data },
 	{ .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data },
-- 
2.38.1


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

* Re: [PATCH 1/2] dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2
  2022-11-17  9:44 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2 Konrad Dybcio
@ 2022-11-17 12:55   ` Krzysztof Kozlowski
  2022-11-17 13:07     ` Konrad Dybcio
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-17 12:55 UTC (permalink / raw)
  To: Konrad Dybcio, linux-arm-msm, andersson, agross
  Cc: patches, Will Deacon, Robin Murphy, Joerg Roedel, Rob Herring,
	Krzysztof Kozlowski, linux-arm-kernel, iommu, devicetree,
	linux-kernel

On 17/11/2022 10:44, Konrad Dybcio wrote:
> SM6350 has a qcom,smmu-v2-style SMMU just for Adreno and friends.
> Document it.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>


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

(although this might need rebase later on Dmitry's refactoring)


Best regards,
Krzysztof


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

* Re: [PATCH 1/2] dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2
  2022-11-17 12:55   ` Krzysztof Kozlowski
@ 2022-11-17 13:07     ` Konrad Dybcio
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2022-11-17 13:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-arm-msm, andersson, agross
  Cc: patches, Will Deacon, Robin Murphy, Joerg Roedel, Rob Herring,
	Krzysztof Kozlowski, linux-arm-kernel, iommu, devicetree,
	linux-kernel



On 17/11/2022 13:55, Krzysztof Kozlowski wrote:
> On 17/11/2022 10:44, Konrad Dybcio wrote:
>> SM6350 has a qcom,smmu-v2-style SMMU just for Adreno and friends.
>> Document it.
>>
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> 
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> (although this might need rebase later on Dmitry's refactoring)
Oh, I forgot to mention this patch was made on top of Dmitry's work. But 
it's good that you pointed that out!

Konrad
> 
> 
> Best regards,
> Krzysztof
> 

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

end of thread, other threads:[~2022-11-17 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221117094422.11000-1-konrad.dybcio@linaro.org>
2022-11-17  9:44 ` [PATCH 1/2] dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2 Konrad Dybcio
2022-11-17 12:55   ` Krzysztof Kozlowski
2022-11-17 13:07     ` Konrad Dybcio
2022-11-17  9:44 ` [PATCH 2/2] iommu/arm-smmu-qcom: Add SM6350 SMMUv2 Konrad Dybcio

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