Skip to content

Commit 22b92b2

Browse files
committed
dt-bindings: display: tegra: Allow dma-coherent on Tegra194 and later
Tegra194 and later chips have a coherency fabric, so some devices can be marked as DMA coherent to avoid unnecessary cache maintenance. Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 4cece76 commit 22b92b2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,15 @@ allOf:
177177

178178
required:
179179
- reg-names
180+
- if:
181+
properties:
182+
compatible:
183+
contains:
184+
enum:
185+
- nvidia,tegra194-host1x
186+
then:
187+
properties:
188+
dma-coherent: true
180189
- if:
181190
properties:
182191
compatible:
@@ -226,6 +235,8 @@ allOf:
226235
use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to
227236
usable stream IDs.
228237

238+
dma-coherent: true
239+
229240
required:
230241
- reg-names
231242

0 commit comments

Comments
 (0)