summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iommu
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-06-17 10:15:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-06-17 10:15:38 +0200
commit1fda0c4a74134cdd5471cc416d3482104da7959c (patch)
tree6cec29bb3f3d3a9e98ae8cbdcc7331ea8a9fe282 /dts/Bindings/iommu
parente54923b76e345080b73f3ae7f508657e5c63a9eb (diff)
downloadbarebox-1fda0c4a74134cdd5471cc416d3482104da7959c.tar.gz
barebox-1fda0c4a74134cdd5471cc416d3482104da7959c.tar.xz
dts: update to v5.19-rc2
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/iommu')
-rw-r--r--dts/Bindings/iommu/xen,grant-dma.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/dts/Bindings/iommu/xen,grant-dma.yaml b/dts/Bindings/iommu/xen,grant-dma.yaml
new file mode 100644
index 0000000000..be1539d234
--- /dev/null
+++ b/dts/Bindings/iommu/xen,grant-dma.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Xen specific IOMMU for virtualized devices (e.g. virtio)
+
+maintainers:
+ - Stefano Stabellini <sstabellini@kernel.org>
+
+description:
+ The Xen IOMMU represents the Xen grant table interface. Grant mappings
+ are to be used with devices connected to the Xen IOMMU using the "iommus"
+ property, which also specifies the ID of the backend domain.
+ The binding is required to restrict memory access using Xen grant mappings.
+
+properties:
+ compatible:
+ const: xen,grant-dma
+
+ '#iommu-cells':
+ const: 1
+ description:
+ The single cell is the domid (domain ID) of the domain where the backend
+ is running.
+
+required:
+ - compatible
+ - "#iommu-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ iommu {
+ compatible = "xen,grant-dma";
+ #iommu-cells = <1>;
+ };