* [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 [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 [flat|nested] 4+ messages in thread