mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
FROMLIST: dt-bindings: display: msm: Add required dma-range property
The GMU node now requires a specific dma-range property so that the driver can use the DMA API to do the few memory allocations required by the GMU. This sets the IOMMU iova allocator to match the 'uncached' part of the GMU virtual address space. v2: Fix the dma-ranges tag. The third pair should be the size. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Link: https://lore.kernel.org/lkml/1582223216-23459-3-git-send-email-jcrouse@codeaurora.org/ Change-Id: I694574a3a494b8810e79768a448dcd686c0144bf
This commit is contained in:
committed by
John Stultz
parent
3d1b35d536
commit
8cd58de551
@@ -83,6 +83,13 @@ properties:
|
||||
Phandle to the OPP table for the available GMU frequencies. Refer to
|
||||
../../opp/opp.txt for more information.
|
||||
|
||||
dma-ranges:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
description:
|
||||
Describe the dma-address range for the device. This should always
|
||||
describe the range between 0x60000000 and 0x80000000 which represents
|
||||
the uncached region of the GMU address space.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
@@ -95,6 +102,7 @@ required:
|
||||
- power-domain-names
|
||||
- iommus
|
||||
- operating-points-v2
|
||||
- dma-ranges
|
||||
|
||||
examples:
|
||||
- |
|
||||
@@ -127,4 +135,6 @@ examples:
|
||||
|
||||
iommus = <&adreno_smmu 5>;
|
||||
operating-points-v2 = <&gmu_opp_table>;
|
||||
|
||||
dma-ranges = <0 0x60000000 0 0x60000000 0 0x20000000>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user