mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
dt-bindings: Document child nodes for iommu-debug-test devices
The child nodes describe a test configuration. Change-Id: I04b829f6a8f2a1495a0156c37fc29ba961238ed1
This commit is contained in:
@@ -18,14 +18,16 @@ properties:
|
||||
items:
|
||||
- const: iommu-debug-test
|
||||
|
||||
iommus:
|
||||
minItems: 1
|
||||
items:
|
||||
- description: IOMMU specifier with a SID and an SMR mask
|
||||
description:
|
||||
The SID in the IOMMU specifier is a placeholder so that the SMMU driver
|
||||
can recognize the node. Our test uses ATOS, which doesn't use SIDs anyway,
|
||||
so using a dummy value is ok.
|
||||
child nodes:
|
||||
compatible: : iommu-debug-usecase
|
||||
iommus:
|
||||
minItems: 1
|
||||
items:
|
||||
- description: IOMMU specifier with a SID and an SMR mask
|
||||
description:
|
||||
The SID in the IOMMU specifier is a placeholder so that the SMMU driver
|
||||
can recognize the node. Our test uses ATOS, which doesn't use SIDs anyway,
|
||||
so using a dummy value is ok.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
@@ -35,5 +37,8 @@ examples:
|
||||
- |
|
||||
iommu_test_device {
|
||||
compatible = "iommu-debug-test";
|
||||
iommus = <&cpp_fd_smmu 42>;
|
||||
basic_usecase {
|
||||
compatible = "iommu-debug-usecase";
|
||||
iommus = <&cpp_fd_smmu 42>;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user