summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iommu/iommu-debug.txt
blob: 1d79f1865aa53cec64e8249145dd3edf44f676c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This document describes the device tree binding for IOMMU test devices.

The iommu-debug framework can optionally make use of some platform devices
for improved standalone testing and other features.

- compatible: iommu-debug-test


Required properties
===================

- iommus: The IOMMU for the test device (see iommu.txt)


Example
=======

	iommu_test_device {
		compatible = "iommu-debug-test";
		/*
		 * 42 shouldn't be used by anyone on the cpp_fd_smmu.  We just
		 * need _something_ here to get this node recognized by the
		 * SMMU driver. Our test uses ATOS, which doesn't use SIDs
		 * anyways, so using a dummy value is ok.
		 */
		iommus = <&cpp_fd_smmu 42>;
	};