Skip to content

Commit 0be7a75

Browse files
z3nturobclark
authored andcommitted
dt-bindings: display/msm: gpu: Allow multiple digits for patchid
Some GPUs like the Adreno A305B has a patchid higher than 9, in this case 18. Make sure the regexes can account for that. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: David Heidelberg <david@ixit.cz> Patchwork: https://patchwork.freedesktop.org/patch/575272/ Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 0776ad9 commit 0be7a75

File tree

1 file changed

+3
-3
lines changed
  • Documentation/devicetree/bindings/display/msm

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ properties:
2323
The driver is parsing the compat string for Adreno to
2424
figure out the gpu-id and patch level.
2525
items:
26-
- pattern: '^qcom,adreno-[3-7][0-9][0-9]\.[0-9]$'
26+
- pattern: '^qcom,adreno-[3-7][0-9][0-9]\.[0-9]+$'
2727
- const: qcom,adreno
2828
- description: |
2929
The driver is parsing the compat string for Imageon to
@@ -127,7 +127,7 @@ allOf:
127127
properties:
128128
compatible:
129129
contains:
130-
pattern: '^qcom,adreno-[3-5][0-9][0-9]\.[0-9]$'
130+
pattern: '^qcom,adreno-[3-5][0-9][0-9]\.[0-9]+$'
131131

132132
then:
133133
properties:
@@ -203,7 +203,7 @@ allOf:
203203
properties:
204204
compatible:
205205
contains:
206-
pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]$'
206+
pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]+$'
207207

208208
then: # Starting with A6xx, the clocks are usually defined in the GMU node
209209
properties:

0 commit comments

Comments
 (0)