* [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg
@ 2025-05-23 14:14 Frank Li
2025-07-14 15:24 ` Frank Li
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Frank Li @ 2025-05-23 14:14 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Animesh Agarwal,
open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Cc: imx
The original txt binding doc is:
reg : Specifies base physical address and size of the register sets for
the clock event device and clock source device.
And existed dts provide two reg MMIO spaces. So change to use items to
descript reg property.
Update examples.
Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
change in v2
- add kk review tag
- add missed )
---
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
index 0e4a8ddc3de32..e3b61b62521e8 100644
--- a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
@@ -14,7 +14,9 @@ properties:
const: fsl,ftm-timer
reg:
- maxItems: 1
+ items:
+ - description: clock event device
+ - description: clock source device
interrupts:
maxItems: 1
@@ -50,7 +52,8 @@ examples:
ftm@400b8000 {
compatible = "fsl,ftm-timer";
- reg = <0x400b8000 0x1000>;
+ reg = <0x400b8000 0x1000>,
+ <0x400b9000 0x1000>;
interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en";
clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>,
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg
2025-05-23 14:14 [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg Frank Li
@ 2025-07-14 15:24 ` Frank Li
2025-07-14 16:04 ` Krzysztof Kozlowski
2025-07-14 16:12 ` Daniel Lezcano
2025-07-14 16:15 ` Daniel Lezcano
` (2 subsequent siblings)
3 siblings, 2 replies; 7+ messages in thread
From: Frank Li @ 2025-07-14 15:24 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Animesh Agarwal,
open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Cc: imx
On Fri, May 23, 2025 at 10:14:37AM -0400, Frank Li wrote:
> The original txt binding doc is:
> reg : Specifies base physical address and size of the register sets for
> the clock event device and clock source device.
>
> And existed dts provide two reg MMIO spaces. So change to use items to
> descript reg property.
>
> Update examples.
>
> Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Daniel Lezcano Or Rob
Krzysztof Kozlowski already reviewed. Could you place pick this one?
Frank
> ---
> change in v2
> - add kk review tag
> - add missed )
> ---
> Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
> index 0e4a8ddc3de32..e3b61b62521e8 100644
> --- a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
> +++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
> @@ -14,7 +14,9 @@ properties:
> const: fsl,ftm-timer
>
> reg:
> - maxItems: 1
> + items:
> + - description: clock event device
> + - description: clock source device
>
> interrupts:
> maxItems: 1
> @@ -50,7 +52,8 @@ examples:
>
> ftm@400b8000 {
> compatible = "fsl,ftm-timer";
> - reg = <0x400b8000 0x1000>;
> + reg = <0x400b8000 0x1000>,
> + <0x400b9000 0x1000>;
> interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
> clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en";
> clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>,
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg
2025-07-14 15:24 ` Frank Li
@ 2025-07-14 16:04 ` Krzysztof Kozlowski
2025-07-14 16:12 ` Daniel Lezcano
1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-14 16:04 UTC (permalink / raw)
To: Frank Li, Daniel Lezcano, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Animesh Agarwal,
open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Cc: imx
On 14/07/2025 17:24, Frank Li wrote:
> On Fri, May 23, 2025 at 10:14:37AM -0400, Frank Li wrote:
>> The original txt binding doc is:
>> reg : Specifies base physical address and size of the register sets for
>> the clock event device and clock source device.
>>
>> And existed dts provide two reg MMIO spaces. So change to use items to
>> descript reg property.
>>
>> Update examples.
>>
>> Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>
> Daniel Lezcano Or Rob
>
> Krzysztof Kozlowski already reviewed. Could you place pick this one?
Just FYI,
I review either through DT patchwork or my own email client. In the
first case I mark the patch as done in DT patchwork, thus Rob will not
see it. If you want Rob to pick it up, please resend with a note in
changelog --- for Tob.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg
2025-07-14 15:24 ` Frank Li
2025-07-14 16:04 ` Krzysztof Kozlowski
@ 2025-07-14 16:12 ` Daniel Lezcano
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Lezcano @ 2025-07-14 16:12 UTC (permalink / raw)
To: Frank Li, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Animesh Agarwal,
open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Cc: imx
On 7/14/25 17:24, Frank Li wrote:
> On Fri, May 23, 2025 at 10:14:37AM -0400, Frank Li wrote:
>> The original txt binding doc is:
>> reg : Specifies base physical address and size of the register sets for
>> the clock event device and clock source device.
>>
>> And existed dts provide two reg MMIO spaces. So change to use items to
>> descript reg property.
>>
>> Update examples.
>>
>> Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>
> Daniel Lezcano Or Rob
>
> Krzysztof Kozlowski already reviewed. Could you place pick this one?
Yes
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg
2025-05-23 14:14 [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg Frank Li
2025-07-14 15:24 ` Frank Li
@ 2025-07-14 16:15 ` Daniel Lezcano
2025-07-23 7:17 ` [tip: timers/clocksource] " tip-bot2 for Frank Li
2025-07-25 10:31 ` [tip: timers/clocksource] dt-bindings: timer: fsl,ftm-timer: Use 'items' for 'reg' tip-bot2 for Frank Li
3 siblings, 0 replies; 7+ messages in thread
From: Daniel Lezcano @ 2025-07-14 16:15 UTC (permalink / raw)
To: Frank Li
Cc: Thomas Gleixner, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Animesh Agarwal, open list:CLOCKSOURCE, CLOCKEVENT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, imx
On Fri, May 23, 2025 at 10:14:37AM -0400, Frank Li wrote:
> The original txt binding doc is:
> reg : Specifies base physical address and size of the register sets for
> the clock event device and clock source device.
>
> And existed dts provide two reg MMIO spaces. So change to use items to
> descript reg property.
>
> Update examples.
>
> Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [tip: timers/clocksource] dt-bindings: timer: fsl,ftm-timer: use items for reg
2025-05-23 14:14 [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg Frank Li
2025-07-14 15:24 ` Frank Li
2025-07-14 16:15 ` Daniel Lezcano
@ 2025-07-23 7:17 ` tip-bot2 for Frank Li
2025-07-25 10:31 ` [tip: timers/clocksource] dt-bindings: timer: fsl,ftm-timer: Use 'items' for 'reg' tip-bot2 for Frank Li
3 siblings, 0 replies; 7+ messages in thread
From: tip-bot2 for Frank Li @ 2025-07-23 7:17 UTC (permalink / raw)
To: linux-tip-commits
Cc: Krzysztof Kozlowski, Frank Li, Daniel Lezcano, x86, linux-kernel
The following commit has been merged into the timers/clocksource branch of tip:
Commit-ID: 4532c1172869819d5b7e63d7ad12cf3f3e5f3946
Gitweb: https://git.kernel.org/tip/4532c1172869819d5b7e63d7ad12cf3f3e5f3946
Author: Frank Li <Frank.Li@nxp.com>
AuthorDate: Fri, 23 May 2025 10:14:37 -04:00
Committer: Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Mon, 14 Jul 2025 18:14:42 +02:00
dt-bindings: timer: fsl,ftm-timer: use items for reg
The original txt binding doc is:
reg : Specifies base physical address and size of the register sets for
the clock event device and clock source device.
And existed dts provide two reg MMIO spaces. So change to use items to
descript reg property.
Update examples.
Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250523141437.533643-1-Frank.Li@nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
index 0e4a8dd..e3b61b6 100644
--- a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
@@ -14,7 +14,9 @@ properties:
const: fsl,ftm-timer
reg:
- maxItems: 1
+ items:
+ - description: clock event device
+ - description: clock source device
interrupts:
maxItems: 1
@@ -50,7 +52,8 @@ examples:
ftm@400b8000 {
compatible = "fsl,ftm-timer";
- reg = <0x400b8000 0x1000>;
+ reg = <0x400b8000 0x1000>,
+ <0x400b9000 0x1000>;
interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en";
clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>,
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [tip: timers/clocksource] dt-bindings: timer: fsl,ftm-timer: Use 'items' for 'reg'
2025-05-23 14:14 [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg Frank Li
` (2 preceding siblings ...)
2025-07-23 7:17 ` [tip: timers/clocksource] " tip-bot2 for Frank Li
@ 2025-07-25 10:31 ` tip-bot2 for Frank Li
3 siblings, 0 replies; 7+ messages in thread
From: tip-bot2 for Frank Li @ 2025-07-25 10:31 UTC (permalink / raw)
To: linux-tip-commits
Cc: Frank Li, Daniel Lezcano, Ingo Molnar, Krzysztof Kozlowski, x86,
linux-kernel
The following commit has been merged into the timers/clocksource branch of tip:
Commit-ID: a06b35eac655563ac7f184f2be5b580bbe8ecc44
Gitweb: https://git.kernel.org/tip/a06b35eac655563ac7f184f2be5b580bbe8ecc44
Author: Frank Li <Frank.Li@nxp.com>
AuthorDate: Fri, 23 May 2025 10:14:37 -04:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 25 Jul 2025 12:03:14 +02:00
dt-bindings: timer: fsl,ftm-timer: Use 'items' for 'reg'
The original txt binding doc is:
reg : Specifies base physical address and size of the register sets for
the clock event device and clock source device.
And existing DTS drivers provide two 'reg' MMIO spaces. So change
this driver to use 'items' to describe the 'reg' property.
Update examples as well.
Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250523141437.533643-1-Frank.Li@nxp.com
---
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
index 0e4a8dd..e3b61b6 100644
--- a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
@@ -14,7 +14,9 @@ properties:
const: fsl,ftm-timer
reg:
- maxItems: 1
+ items:
+ - description: clock event device
+ - description: clock source device
interrupts:
maxItems: 1
@@ -50,7 +52,8 @@ examples:
ftm@400b8000 {
compatible = "fsl,ftm-timer";
- reg = <0x400b8000 0x1000>;
+ reg = <0x400b8000 0x1000>,
+ <0x400b9000 0x1000>;
interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en";
clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>,
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-07-25 10:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23 14:14 [PATCH v2 1/1] dt-bindings: timer: fsl,ftm-timer: use items for reg Frank Li
2025-07-14 15:24 ` Frank Li
2025-07-14 16:04 ` Krzysztof Kozlowski
2025-07-14 16:12 ` Daniel Lezcano
2025-07-14 16:15 ` Daniel Lezcano
2025-07-23 7:17 ` [tip: timers/clocksource] " tip-bot2 for Frank Li
2025-07-25 10:31 ` [tip: timers/clocksource] dt-bindings: timer: fsl,ftm-timer: Use 'items' for 'reg' tip-bot2 for Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).