]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: gpu: Add 'resets' property for GPU initialization
authorMichal Wilczynski <m.wilczynski@samsung.com>
Fri, 18 Apr 2025 11:22:48 +0000 (13:22 +0200)
committerMatt Coster <matt.coster@imgtec.com>
Thu, 24 Apr 2025 10:07:37 +0000 (11:07 +0100)
All IMG Rogue GPUs include a reset line that participates in the
power-up sequence. On some SoCs (e.g., T-Head TH1520 and Banana Pi
BPI-F3), this reset line is exposed and must be driven explicitly to
ensure proper initialization.

To support this, add a 'resets' property to the GPU device tree
bindings.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Reviewed-by: Matt Coster <matt.coster@imgtec.com>
Link: https://lore.kernel.org/r/20250418-apr_18_reset_img-v6-1-85a06757b698@samsung.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml

index 0fb2cd939aa45b48b0a6a95ed7f01e0c6f64a4f3..4450e2e73b3ccf74d29f0e31e2e6687d7cbe5d65 100644 (file)
@@ -64,6 +64,9 @@ properties:
 
   dma-coherent: true
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg