linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iommu: SMMU for SDM670
@ 2022-10-04 22:46 Richard Acayan
  2022-10-04 22:46 ` [PATCH v2 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible Richard Acayan
  2022-10-04 22:46 ` [PATCH v2 2/2] iommu: arm-smmu-qcom: " Richard Acayan
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Acayan @ 2022-10-04 22:46 UTC (permalink / raw)
  To: iommu
  Cc: Will Deacon, Robin Murphy, Joerg Roedel, Rob Herring,
	Krzysztof Kozlowski, Konrad Dybcio, Sai Prakash Ranjan,
	Bjorn Andersson, Richard Acayan, Emma Anholt, Sibi Sankar,
	Rob Clark, linux-arm-kernel, devicetree

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(+)

-- 
2.38.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v2 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible
  2022-10-04 22:46 [PATCH v2 0/2] iommu: SMMU for SDM670 Richard Acayan
@ 2022-10-04 22:46 ` Richard Acayan
  2022-10-04 22:46 ` [PATCH v2 2/2] iommu: arm-smmu-qcom: " Richard Acayan
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Acayan @ 2022-10-04 22:46 UTC (permalink / raw)
  To: iommu
  Cc: Will Deacon, Robin Murphy, Joerg Roedel, Rob Herring,
	Krzysztof Kozlowski, Konrad Dybcio, Sai Prakash Ranjan,
	Bjorn Andersson, Richard Acayan, Emma Anholt, Sibi Sankar,
	Rob Clark, linux-arm-kernel, devicetree

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

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index 9066e6df1ba1..5ad6dc64e1c4 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -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
-- 
2.38.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v2 2/2] iommu: arm-smmu-qcom: add sdm670 compatible
  2022-10-04 22:46 [PATCH v2 0/2] iommu: SMMU for SDM670 Richard Acayan
  2022-10-04 22:46 ` [PATCH v2 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible Richard Acayan
@ 2022-10-04 22:46 ` Richard Acayan
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Acayan @ 2022-10-04 22:46 UTC (permalink / raw)
  To: iommu
  Cc: Will Deacon, Robin Murphy, Joerg Roedel, Rob Herring,
	Krzysztof Kozlowski, Konrad Dybcio, Sai Prakash Ranjan,
	Bjorn Andersson, Richard Acayan, Emma Anholt, Sibi Sankar,
	Rob Clark, linux-arm-kernel, devicetree

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

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.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 b2708de25ea3..bf9653b9eb89 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -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" },
-- 
2.38.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-10-04 22:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 22:46 [PATCH v2 0/2] iommu: SMMU for SDM670 Richard Acayan
2022-10-04 22:46 ` [PATCH v2 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible Richard Acayan
2022-10-04 22:46 ` [PATCH v2 2/2] iommu: arm-smmu-qcom: " Richard Acayan

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