]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: firmware: svc: Add IOMMU support for Agilex5
authorKhairul Anuar Romli <khairul.anuar.romli@altera.com>
Thu, 6 Nov 2025 23:35:25 +0000 (07:35 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 10 Nov 2025 04:39:41 +0000 (22:39 -0600)
In Agilex5, the TBU (Translation Buffer Unit) can now operate in non-secure
mode, enabling Linux to utilize it through the IOMMU framework. This allows
improved memory management capabilities in non-secure environments. With
Agilex5 lifting this restriction, we are now extending the device tree
bindings to support IOMMU for the Agilex5 SVC.

Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml

index fac1e955852e4f9b966c991dcfac56222c5f7315..b42cfa78b28b55d22f0a57ed8081a47c13e9d873 100644 (file)
@@ -34,6 +34,7 @@ properties:
     enum:
       - intel,stratix10-svc
       - intel,agilex-svc
+      - intel,agilex5-svc
 
   method:
     description: |
@@ -54,6 +55,9 @@ properties:
       reserved memory region for the service layer driver to
       communicate with the secure device manager.
 
+  iommus:
+    maxItems: 1
+
   fpga-mgr:
     $ref: /schemas/fpga/intel,stratix10-soc-fpga-mgr.yaml
     description: Optional child node for fpga manager to perform fabric configuration.
@@ -63,6 +67,17 @@ required:
   - method
   - memory-region
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - intel,agilex5-svc
+    then:
+      required:
+        - iommus
+
 additionalProperties: false
 
 examples: