Linux Tegra architecture development
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: host1x: Add missing 'dma-coherent'
@ 2024-04-09  8:23 Jon Hunter
  2024-04-10  6:18 ` Krzysztof Kozlowski
  2024-04-12  5:25 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 7+ messages in thread
From: Jon Hunter @ 2024-04-09  8:23 UTC (permalink / raw)
  To: Thierry Reding, Mikko Perttunen, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-tegra, devicetree, Jon Hunter

The dtbs_check reports that the 'dma-coherent' property is "unevaluated
and invalid" for the host1x@13e00000 device on Tegra194 and Tegra234
platforms. Fix this by updating the dt-binding document for host1x to
add the 'dma-coherent' property for these devices.

Fixes: 361238cdc525 ("arm64: tegra: Mark host1x as dma-coherent on Tegra194/234")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 .../bindings/display/tegra/nvidia,tegra20-host1x.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
index 94c5242c03b2..3563378a01af 100644
--- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
+++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
@@ -177,6 +177,15 @@ allOf:
 
       required:
         - reg-names
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - nvidia,tegra194-host1x
+    then:
+      properties:
+        dma-coherent: true
   - if:
       properties:
         compatible:
@@ -226,6 +235,8 @@ allOf:
             use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to
             usable stream IDs.
 
+        dma-coherent: true
+
       required:
         - reg-names
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-12  5:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09  8:23 [PATCH] dt-bindings: host1x: Add missing 'dma-coherent' Jon Hunter
2024-04-10  6:18 ` Krzysztof Kozlowski
2024-04-11 10:09   ` Jon Hunter
2024-04-11 10:43     ` Krzysztof Kozlowski
2024-04-11 14:43       ` Rob Herring
2024-04-11 14:36     ` Rob Herring
2024-04-12  5:25 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox