Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Luca Weiss and committed by
Rob Clark
0be7a75b 0776ad92

+3 -3
+3 -3
Documentation/devicetree/bindings/display/msm/gpu.yaml
··· 23 23 The driver is parsing the compat string for Adreno to 24 24 figure out the gpu-id and patch level. 25 25 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]+$' 27 27 - const: qcom,adreno 28 28 - description: | 29 29 The driver is parsing the compat string for Imageon to ··· 127 127 properties: 128 128 compatible: 129 129 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]+$' 131 131 132 132 then: 133 133 properties: ··· 203 203 properties: 204 204 compatible: 205 205 contains: 206 - pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]$' 206 + pattern: '^qcom,adreno-[67][0-9][0-9]\.[0-9]+$' 207 207 208 208 then: # Starting with A6xx, the clocks are usually defined in the GMU node 209 209 properties: