diff mbox series

[3/3] dt-bindings: timer: samsung,exynos4210-mct: define strict clock order

Message ID 20220424150333.75172-3-krzysztof.kozlowski@linaro.org
State Accepted
Commit ee77ef0d09e3ca0509833f6fbd49d925630a27f4
Headers show
Series None | expand

Commit Message

Krzysztof Kozlowski April 24, 2022, 3:03 p.m. UTC
The DTS should always have fixed clock order, even if it comes with
clock-names property.  Drop the pattern to make the order strict.
Existing DTS already match this.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring (Arm) April 26, 2022, 6:14 p.m. UTC | #1
On Sun, 24 Apr 2022 17:03:33 +0200, Krzysztof Kozlowski wrote:
> The DTS should always have fixed clock order, even if it comes with
> clock-names property.  Drop the pattern to make the order strict.
> Existing DTS already match this.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml     | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
index 0e28d9bdb8cb..9c81d00b12e0 100644
--- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
+++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
@@ -39,8 +39,8 @@  properties:
 
   clock-names:
     items:
-      - pattern: "^(fin_pll|mct)$"
-      - pattern: "^(fin_pll|mct)$"
+      - const: fin_pll
+      - const: mct
 
   reg:
     maxItems: 1