2022-09-02 11:15:27

by Peng Fan (OSS)

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: timer: nxp,sysctr-timer: add nxp,no-divider property

From: Peng Fan <[email protected]>

The base clock input to system counter is internally divided by 3 in
previous design, but there is change that no divider now. So add
a property to indicate that.

Signed-off-by: Peng Fan <[email protected]>
---
Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
index 830211c55b4a..2b9653dafab8 100644
--- a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
@@ -32,6 +32,10 @@ properties:
clock-names:
const: per

+ nxp,no-divider:
+ description: if present, means there is no internal base clk divider.
+ type: boolean
+
required:
- compatible
- reg
--
2.37.1


2022-09-08 13:26:39

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: timer: nxp,sysctr-timer: add nxp,no-divider property

On 02/09/2022 13:12, Peng Fan (OSS) wrote:
> From: Peng Fan <[email protected]>
>
> The base clock input to system counter is internally divided by 3 in
> previous design, but there is change that no divider now. So add
> a property to indicate that.
>
> Signed-off-by: Peng Fan <[email protected]>


Acked-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof

2022-10-04 10:21:25

by tip-bot2 for Tony Luck

[permalink] [raw]
Subject: [tip: timers/core] dt-bindings: timer: nxp,sysctr-timer: add nxp,no-divider property

The following commit has been merged into the timers/core branch of tip:

Commit-ID: 061f42748d0639647636b7a48d71951e8d92720a
Gitweb: https://git.kernel.org/tip/061f42748d0639647636b7a48d71951e8d92720a
Author: Peng Fan <[email protected]>
AuthorDate: Fri, 02 Sep 2022 19:12:06 +08:00
Committer: Daniel Lezcano <[email protected]>
CommitterDate: Tue, 20 Sep 2022 10:49:46 +02:00

dt-bindings: timer: nxp,sysctr-timer: add nxp,no-divider property

The base clock input to system counter is internally divided by 3 in
previous design, but there is change that no divider now. So add
a property to indicate that.

Signed-off-by: Peng Fan <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
---
Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
index 830211c..2b9653d 100644
--- a/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nxp,sysctr-timer.yaml
@@ -32,6 +32,10 @@ properties:
clock-names:
const: per

+ nxp,no-divider:
+ description: if present, means there is no internal base clk divider.
+ type: boolean
+
required:
- compatible
- reg