linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: vfxxx: Correctly use two tuples for timer address
@ 2025-05-23  7:19 Krzysztof Kozlowski
  2025-06-19  7:41 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-05-23  7:19 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Stefan Agner,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Daniel Lezcano,
	Xiubo Li, linux-arm-kernel, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Address and size-cells are 1 and the ftm timer node takes two address
spaces in "reg" property, so this should be in two <> tuples.  Change
has no functional impact, but original code is confusing/less readable.

Fixes: 07513e1330a9 ("ARM: dts: vf610: Add Freescale FlexTimer Module timer node.")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/nxp/vf/vfxxx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/vf/vfxxx.dtsi b/arch/arm/boot/dts/nxp/vf/vfxxx.dtsi
index 597f20be82f1..62e555bf6a71 100644
--- a/arch/arm/boot/dts/nxp/vf/vfxxx.dtsi
+++ b/arch/arm/boot/dts/nxp/vf/vfxxx.dtsi
@@ -603,7 +603,7 @@ usbmisc1: usb@400b4800 {
 
 			ftm: ftm@400b8000 {
 				compatible = "fsl,ftm-timer";
-				reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
+				reg = <0x400b8000 0x1000>, <0x400b9000 0x1000>;
 				interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
 				clock-names = "ftm-evt", "ftm-src",
 					"ftm-evt-counter-en", "ftm-src-counter-en";
-- 
2.45.2


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

* Re: [PATCH] ARM: dts: vfxxx: Correctly use two tuples for timer address
  2025-05-23  7:19 [PATCH] ARM: dts: vfxxx: Correctly use two tuples for timer address Krzysztof Kozlowski
@ 2025-06-19  7:41 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2025-06-19  7:41 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Stefan Agner,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Daniel Lezcano,
	Xiubo Li, linux-arm-kernel, devicetree, linux-kernel

On Fri, May 23, 2025 at 09:19:22AM +0200, Krzysztof Kozlowski wrote:
> Address and size-cells are 1 and the ftm timer node takes two address
> spaces in "reg" property, so this should be in two <> tuples.  Change
> has no functional impact, but original code is confusing/less readable.
> 
> Fixes: 07513e1330a9 ("ARM: dts: vf610: Add Freescale FlexTimer Module timer node.")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Applied, thanks!


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

end of thread, other threads:[~2025-06-19  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23  7:19 [PATCH] ARM: dts: vfxxx: Correctly use two tuples for timer address Krzysztof Kozlowski
2025-06-19  7:41 ` Shawn Guo

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).