.../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The "{,N}" regex syntax is non-standard, but happens to be supported by
python re module. It is equivalent to "{0,N}" which is more commonly
supported. This fixes using a rust implementation of the DT schema
tools.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml b/Documentation/devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml
index d27dcb2fef12..a3f0cd508b3a 100644
--- a/Documentation/devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml
+++ b/Documentation/devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml
@@ -40,7 +40,7 @@ properties:
type: object
patternProperties:
- '^ppmu-event[0-9]+(-[a-z0-9]+){,2}$':
+ '^ppmu-event[0-9]+(-[a-z0-9]+){0,2}$':
type: object
properties:
event-name:
--
2.53.0
On Thu, Aug 13, 2026 at 12:39:58PM -0500, Rob Herring (Arm) wrote:
> The "{,N}" regex syntax is non-standard, but happens to be supported by
> python re module. It is equivalent to "{0,N}" which is more commonly
> supported. This fixes using a rust implementation of the DT schema
> tools.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Rob
On Thu, Aug 13, 2026 at 12:39:58PM -0500, Rob Herring (Arm) wrote:
> The "{,N}" regex syntax is non-standard, but happens to be supported by
> python re module. It is equivalent to "{0,N}" which is more commonly
> supported. This fixes using a rust implementation of the DT schema
> tools.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
© 2016 - 2026 Red Hat, Inc.