]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: iommu: add new compatible strings
authorAndre Przywara <andre.przywara@arm.com>
Sun, 16 Jun 2024 22:40:54 +0000 (23:40 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 25 Jun 2024 12:02:47 +0000 (14:02 +0200)
The Allwinner H616 and A523 contain IOMMU IP very similar to the H6, but
use a different reset value for the bypass register, which makes them
strictly speaking incompatible.

Add a new compatible string for the H616, and a version for the A523,
falling back to the H616.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20240616224056.29159-4-andre.przywara@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml

index e20016f120175170a7754192ee658462d9ba3fc9..a8409db4a3e3d4b50ea3dac631ff5244a1a71b8b 100644 (file)
@@ -17,7 +17,12 @@ properties:
       The content of the cell is the master ID.
 
   compatible:
-    const: allwinner,sun50i-h6-iommu
+    oneOf:
+      - const: allwinner,sun50i-h6-iommu
+      - const: allwinner,sun50i-h616-iommu
+      - items:
+          - const: allwinner,sun55i-a523-iommu
+          - const: allwinner,sun50i-h616-iommu
 
   reg:
     maxItems: 1