linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/6] dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs
@ 2023-02-17 11:16 Konrad Dybcio
  2023-02-17 11:16 ` [PATCH v2 2/6] dt-bindings: arm-smmu: Add SM8350 Adreno SMMU Konrad Dybcio
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Konrad Dybcio @ 2023-02-17 11:16 UTC (permalink / raw)
  To: linux-arm-msm, andersson, agross
  Cc: marijn.suijten, Konrad Dybcio, Will Deacon, Robin Murphy,
	Joerg Roedel, Rob Herring, Krzysztof Kozlowski, linux-arm-kernel,
	iommu, devicetree, linux-kernel

qcom,smmu-500 was introduced to prevent people from adding new
compatibles for what seems to roughly be the same hardware. Use it for
qcom,adreno-smmu-compatible targets as well.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
v1 -> v2:
- Add this patch, omitted previously (big oops)

 .../devicetree/bindings/iommu/arm,smmu.yaml        | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index 807cb511fe18..4d7f61700cae 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -75,9 +75,19 @@ properties:
               - qcom,sm8350-smmu-500
               - qcom,sm8450-smmu-500
           - const: arm,mmu-500
-
-      - description: Qcom Adreno GPUs implementing "arm,smmu-500"
+      - description: Qcom Adreno GPUs implementing "qcom,smmu-500" and "arm,smmu-500"
+        items:
+          - enum:
+              - qcom,sc7280-smmu-500
+              - qcom,sm8150-smmu-500
+              - qcom,sm8250-smmu-500
+          - const: qcom,adreno-smmu
+          - const: qcom,smmu-500
+          - const: arm,mmu-500
+      - description: Qcom Adreno GPUs implementing "arm,smmu-500" (legacy binding)
+        deprecated: true
         items:
+          # Do not add additional SoC to this list. Instead use previous list.
           - enum:
               - qcom,sc7280-smmu-500
               - qcom,sm8150-smmu-500
-- 
2.39.1


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

end of thread, other threads:[~2023-02-27  9:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 11:16 [PATCH v2 1/6] dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs Konrad Dybcio
2023-02-17 11:16 ` [PATCH v2 2/6] dt-bindings: arm-smmu: Add SM8350 Adreno SMMU Konrad Dybcio
2023-02-27  8:13   ` Krzysztof Kozlowski
2023-02-17 11:16 ` [PATCH v2 3/6] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to " Konrad Dybcio
2023-02-17 11:16 ` [PATCH v2 4/6] arm64: dts: qcom: sm8150: " Konrad Dybcio
2023-02-17 11:16 ` [PATCH v2 5/6] arm64: dts: qcom: sm8250: " Konrad Dybcio
2023-02-17 11:16 ` [PATCH v2 6/6] arm64: dts: qcom: sm8350: " Konrad Dybcio
2023-02-26 17:37 ` [PATCH v2 1/6] dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs Rob Herring
2023-02-27  8:43   ` Konrad Dybcio
2023-02-27  8:13 ` Krzysztof Kozlowski

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