]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: display/msm/gpu: define reg-names in top-level
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 23 Jun 2024 20:03:01 +0000 (22:03 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 25 Jun 2024 16:56:08 +0000 (19:56 +0300)
All devices should (and actually do) have same order of entries, if
possible.  That's the case for reg/reg-names, so define the reg-names in
top-level to enforce that.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/600510/
Link: https://lore.kernel.org/r/20240623-qcom-adreno-dts-bindings-driver-v2-2-9496410de992@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Documentation/devicetree/bindings/display/msm/gpu.yaml

index 253e68d92779ac8b5932dbbbb1a2cac689f9d01b..baea1946c65db398e0152466128fb3d0d3aa8dd7 100644 (file)
@@ -46,7 +46,10 @@ properties:
 
   reg-names:
     minItems: 1
-    maxItems: 3
+    items:
+      - const: kgsl_3d0_reg_memory
+      - const: cx_mem
+      - const: cx_dbgc
 
   interrupts:
     maxItems: 1