[PATCH 2/3] dt-bindings: iommu: rockchip: Add compatible for v2

Benjamin Gaignard benjamin.gaignard at collabora.com
Thu Apr 22 08:24:41 BST 2021


Add compatible for the second version of IOMMU hardware block.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard at collabora.com>
---
 Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml b/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml
index ab128f8e4c73..76710dcdc3e4 100644
--- a/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml
+++ b/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml
@@ -19,7 +19,9 @@ description: |+
 
 properties:
   compatible:
-    const: rockchip,iommu
+    enum:
+      - rockchip,iommu
+      - rockchip,iommu-v2
 
   reg:
     maxItems: 1
-- 
2.25.1




More information about the Linux-rockchip mailing list