[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <97c7c260544f2e2f1615e494408a608d6c731eea.1762308672.git.khairul.anuar.romli@altera.com>
Date: Wed, 5 Nov 2025 10:28:01 +0800
From: Khairul Anuar Romli <khairul.anuar.romli@...era.com>
To: Dinh Nguyen <dinguyen@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Mahesh Rao <mahesh.rao@...era.com>,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Adrian Ng Ho Yin <adrianhoyin.ng@...era.com>,
Niravkumar L Rabara <niravkumarlaxmidas.rabara@...era.com>,
Khairul Anuar Romli <khairul.anuar.romli@...era.com>
Subject: [PATCH v5 1/2] dt-bindings: firmware: svc: Add IOMMU support for Agilex5
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@...era.com>
---
Changes in v5:
- Use contains enum instead of const
Changes in v4:
- Fix syntax / style error.
- Refactor code not to use AllOf but instead use if directly.
Changes in v3:
- Add iommu property.
- Add logical check where only Agilex5 required iommus
- Rewrite the commit message to explain why this changes is
needed.
Changes in v2:
- Reprase commit message to exclude iommu
---
.../bindings/firmware/intel,stratix10-svc.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
index fac1e955852e..a66aeed0ddee 100644
--- a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
+++ b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
@@ -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,16 @@ required:
- method
- memory-region
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - intel,agilex5-svc
+then:
+ required:
+ - iommus
+
additionalProperties: false
examples:
--
2.43.7
Powered by blists - more mailing lists