Skip to contentSkip to conversation

iommu: SMMU for SDM670

PATCH RESEND Superseded Richard Acayan 1 participant 3 messages Oct 18, 2022

Subsystems (4)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v2 cover iommu: SMMU for SDM670

Changes since v1 (no emails related to this series since last week):
- accumulate tags (both were added because it seems like the discussion ended in agreement to keep adding compatible strings to the driver)

This adds the compatible string for the Qualcomm Snapdragon 670's SMMU. The SMMU is necessary for GENI I2C, included in initial bringup because it doesn't need non-trivial patches except for patches conventionally added before the initial device tree (global clock controller and pinctrl).

Richard Acayan (2):
dt-bindings: iommu: arm-smmu: add sdm670 compatible
iommu: arm-smmu-qcom: add sdm670 compatible

 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c            | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.38.0
#1 lore raw

PATCH RESEND v2 1/2 dt-bindings: iommu: arm-smmu: add sdm670 compatible

The Snapdragon 670 needs the IOMMU for GENI I2C. Add a compatible string in the documentation to represent its support.

---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iommu/arm,smmu.yaml +1 -0
index 9066e6df1ba1..5ad6dc64e1c4 100644
@@ -38,6 +38,7 @@ properties:
               - qcom,sc7280-smmu-500
               - qcom,sc8180x-smmu-500
               - qcom,sc8280xp-smmu-500
+              - qcom,sdm670-smmu-500
               - qcom,sdm845-smmu-500
               - qcom,sdx55-smmu-500
               - qcom,sdx65-smmu-500
Signature · 1 line
2.38.0
#2 lore raw

PATCH RESEND v2 2/2 iommu: arm-smmu-qcom: add sdm670 compatible

In reply to Richard Acayan

The Snapdragon 670 needs the IOMMU for GENI I2C. Add a compatible string to support it.

---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +1 -0
index b2708de25ea3..bf9653b9eb89 100644
@@ -431,6 +431,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
 	{ .compatible = "qcom,sc8180x-smmu-500" },
 	{ .compatible = "qcom,sc8280xp-smmu-500" },
 	{ .compatible = "qcom,sdm630-smmu-v2" },
+	{ .compatible = "qcom,sdm670-smmu-500" },
 	{ .compatible = "qcom,sdm845-smmu-500" },
 	{ .compatible = "qcom,sm6125-smmu-500" },
 	{ .compatible = "qcom,sm6350-smmu-500" },
Signature · 1 line
2.38.0