mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04: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:
parent
92e755017e
commit
ad214af3c7
1 changed files with 14 additions and 9 deletions
|
|
@ -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>;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue