dt-bindings: drm/msm/gpu: Extend bindings for chip-id
authorRob Clark <robdclark@chromium.org>
Thu, 27 Jul 2023 21:20:17 +0000 (14:20 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Aug 2023 21:21:19 +0000 (14:21 -0700)
Upcoming GPUs use an opaque chip-id for identifying the GPU.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/549778/

Documentation/devicetree/bindings/display/msm/gpu.yaml

index 58ca8912a8c343753a6d8704aaed1267a2babe35..56b9b247e8c2b7b7eec5a9d911bbbff5c5028aa7 100644 (file)
@@ -13,6 +13,12 @@ maintainers:
 properties:
   compatible:
     oneOf:
+      - description: |
+          The driver is parsing the compat string for Adreno to
+          figure out the chip-id.
+        items:
+          - pattern: '^qcom,adreno-[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]$'
+          - const: qcom,adreno
       - description: |
           The driver is parsing the compat string for Adreno to
           figure out the gpu-id and patch level.