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 58ca891..56b9b24 100644 (file)
@@ -15,6 +15,12 @@ properties:
     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.
         items:
           - pattern: '^qcom,adreno-[3-6][0-9][0-9]\.[0-9]$'