Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax
@ 2026-08-13 17:39 Rob Herring (Arm)
  2026-08-17  8:01 ` Krzysztof Kozlowski
  2026-08-17 18:30 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-08-13 17:39 UTC (permalink / raw)
  To: Chanwoo Choi, MyungJoo Ham, Kyungmin Park, Krzysztof Kozlowski,
	Conor Dooley, Peter Griffin
  Cc: Krzysztof Kozlowski, linux-pm, devicetree, linux-samsung-soc,
	linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax
  2026-08-13 17:39 [PATCH] dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax Rob Herring (Arm)
@ 2026-08-17  8:01 ` Krzysztof Kozlowski
  2026-08-17 18:30 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-17  8:01 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Chanwoo Choi, MyungJoo Ham, Kyungmin Park, Krzysztof Kozlowski,
	Conor Dooley, Peter Griffin, linux-pm, devicetree,
	linux-samsung-soc, linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax
  2026-08-13 17:39 [PATCH] dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax Rob Herring (Arm)
  2026-08-17  8:01 ` Krzysztof Kozlowski
@ 2026-08-17 18:30 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2026-08-17 18:30 UTC (permalink / raw)
  To: Chanwoo Choi, MyungJoo Ham, Kyungmin Park, Krzysztof Kozlowski,
	Conor Dooley, Peter Griffin
  Cc: Krzysztof Kozlowski, linux-pm, devicetree, linux-samsung-soc,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-17 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 17:39 [PATCH] dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax Rob Herring (Arm)
2026-08-17  8:01 ` Krzysztof Kozlowski
2026-08-17 18:30 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox