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