mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/1] clocksource: move System Tick Counter from 'arch/mips/ralink'
@ 2024-10-28 20:36 Sergio Paracuellos
  2024-10-28 20:36 ` [PATCH v2] clocksource: Add Ralink System Tick Counter driver Sergio Paracuellos
  0 siblings, 1 reply; 5+ messages in thread
From: Sergio Paracuellos @ 2024-10-28 20:36 UTC (permalink / raw)
  To: linux-mips
  Cc: daniel.lezcano, tglx, tsbogend, john, linux-kernel, yangshiji66

Hi Daniel,

System Tick Counter is present in RT3352 and MT7620 Ralink SoCs. This driver has 
been in 'arch/mips/ralink' from the beggining and can be easily moved into a more
accurate place in 'drivers/clocksource' folder. This makes easier to enable it
for compile test targets as well as reduce LOC in architecture specific folders.
Bindings are already mainlined and can be located here [0].

Thanks in advance for your time.

Best regards,
   Sergio Paracuellos

[0]: https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml

Changes in v2:
- Address requested changes from Daniel's review in v1:
    - Squash two previous patches in one to perform a git mv.
    - Change Kconfig option into more accurate RALINK_TIMER.
    - Avoid 'default' option in RALINK_TIMER option.

Sergio Paracuellos (1):
  clocksource: Add Ralink System Tick Counter driver

 arch/mips/ralink/Kconfig                              |  7 -------
 arch/mips/ralink/Makefile                             |  2 --
 drivers/clocksource/Kconfig                           |  9 +++++++++
 drivers/clocksource/Makefile                          |  1 +
 .../clocksource/timer-ralink.c                        | 11 ++++-------
 5 files changed, 14 insertions(+), 16 deletions(-)
 rename arch/mips/ralink/cevt-rt3352.c => drivers/clocksource/timer-ralink.c (91%)

-- 
2.25.1


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

end of thread, other threads:[~2024-11-13 20:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-28 20:36 [PATCH v2 0/1] clocksource: move System Tick Counter from 'arch/mips/ralink' Sergio Paracuellos
2024-10-28 20:36 ` [PATCH v2] clocksource: Add Ralink System Tick Counter driver Sergio Paracuellos
2024-10-29  1:16   ` Daniel Lezcano
2024-10-29  6:51     ` Sergio Paracuellos
2024-11-13 20:20   ` [tip: timers/core] clocksource/drivers/ralink: " tip-bot2 for Sergio Paracuellos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®