diff options
| author | Janne Grunau <j@jannau.net> | 2026-09-02 21:18:54 +0200 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-09-24 13:35:53 +0200 |
| commit | 4d520541fe443a27eec2e78ea5a82dadb227f6fa (patch) | |
| tree | f5255aa2f8a62e1bcc41b3fee76ce962a919e45f /scripts/basic | |
| parent | 93f51579e7df248780214094418f205253383cc5 (diff) | |
| download | lwn-4d520541fe443a27eec2e78ea5a82dadb227f6fa.tar.gz lwn-4d520541fe443a27eec2e78ea5a82dadb227f6fa.zip | |
dt-bindings: iommu: dart: Support specifying the DMA aperture
Apple DARTs are often connected directly to devices that expect only a
portion of their address space to be used for DMA (for example, because
other ranges are mapped directly to something else).
Follow the "#iommu-cells = <4>" example from iommu.txt and allow
specifying the DMA aperture via additional cells. Since DART is used on
64-bit Apple silicon systems use two cells to specify the start and
length of the aperture. A common aperture starts at 0x100_0000_0000
and spans a 36-bit address space.
This corresponds to the vm-base and vm-size properties on the Apple
device tree side of things.
As not all devices require this and to keep compatibility with existing
device trees allow 1 and 5 as values for #iommu-cells.
Signed-off-by: Janne Grunau <j@jannau.net>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
