dt-bindings: timer: fsl,ftm-timer: use items for reg
Frank Li
maintainerPATCH v2 1/1 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.
---
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(-)
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml +5 -2
@@ -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>,
Signature · 1 line
2.34.1
Frank Li
maintainerQuoted 4 lines · Frank Li
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.
Quoted 8 lines
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 <[email protected]>Signed-off-by Frank Li <[email protected]>
Daniel Lezcano Or Rob
Krzysztof Kozlowski already reviewed. Could you place pick this one?
Frank
Quoted 36 lines
---
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(-)Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml +5
-3@@ -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
Quoted 10 lines · Frank Li
Quoted 9 lines · Frank Li
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.
Quoted 7 lines
Quoted 3 lines
Fixes 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Frank Li <[email protected]>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
Quoted 10 lines · Frank Li
Quoted 9 lines · Frank Li
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.
Quoted 7 lines
Quoted 3 lines
Fixes 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Frank Li <[email protected]>Daniel Lezcano Or Rob
Krzysztof Kozlowski already reviewed. Could you place pick this one?
Yes
Signature · 5 lines
<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
Daniel Lezcano
AppliedQuoted 7 lines · Frank Li
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.
Quoted 6 lines
Update examples.
Fixes 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Frank Li <[email protected]>---
Applied, thanks
Signature · 5 lines
<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
The following commit has been merged into the timers/clocksource branch of tip:
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 <[email protected]> AuthorDate: Fri, 23 May 2025 10:14:37 -04:00 Committer: Daniel Lezcano <[email protected]> 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.
--- Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml +5 -2
@@ -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>,
[tip: timers/clocksource] dt-bindings: timer: fsl,ftm-timer: Use 'items' for 'reg'
In reply to Frank LiThe following commit has been merged into the timers/clocksource branch of tip:
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 <[email protected]> AuthorDate: Fri, 23 May 2025 10:14:37 -04:00 Committer: Ingo Molnar <[email protected]> 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.
--- Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml +5 -2
@@ -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>,