[PATCH v2 1/4] dt-bindings: opp: adreno: Update regex of OPP entry
Krzysztof Kozlowski
krzk at kernel.org
Wed Jun 11 11:20:57 UTC 2025
On 11/06/2025 13:15, Akhil P Oommen wrote:
> Update regex to allow multi-worded OPP entry names.
Why would we want multi-worded? This needs to be explained here.
>
> Signed-off-by: Akhil P Oommen <akhilpo at oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/opp/opp-v2-qcom-adreno.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/opp/opp-v2-qcom-adreno.yaml b/Documentation/devicetree/bindings/opp/opp-v2-qcom-adreno.yaml
> index a27ba7b663d456f964628a91a661b51a684de1be..bba95799919eb52d12afa42354ed909d0ef3c627 100644
> --- a/Documentation/devicetree/bindings/opp/opp-v2-qcom-adreno.yaml
> +++ b/Documentation/devicetree/bindings/opp/opp-v2-qcom-adreno.yaml
> @@ -23,7 +23,7 @@ properties:
> const: operating-points-v2-adreno
>
> patternProperties:
> - '^opp-[0-9]+$':
> + '^opp(-?[0-9]+)*$':
Not correct regex. You allow "opp", "opp1" and all other unusual
variants. Commit does not explain what problem you are solving, so I
have no clue what you want here, but for sure opp1 is wrong.
Best regards,
Krzysztof
More information about the dri-devel
mailing list