devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Move Loongson1 PWM timer to clocksource framework
@ 2023-03-30 11:05 Keguang Zhang
  2023-03-30 11:05 ` [PATCH v3 1/3] MIPS: Loongson32: Remove deprecated PWM timer clocksource Keguang Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Keguang Zhang @ 2023-03-30 11:05 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-mips
  Cc: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
	Thomas Bogendoerfer, Stephen Boyd, Keguang Zhang

Move Loongson1 PWM timer to clocksource framework
and update the Kconfig/Makefile options accordingly.

Changelog
V2 -> V3: Remove the reference to regs-pwm.h
V1 -> V2: Delete the obsolete header file regs-pwm.h

Keguang Zhang (3):
  MIPS: Loongson32: Remove deprecated PWM timer clocksource
  dt-bindings: timer: Add Loongson-1 clocksource
  clocksource: loongson1: Move PWM timer to clocksource framework

 .../timer/loongson,ls1x-pwmtimer.yaml         |  48 ++++
 .../include/asm/mach-loongson32/loongson1.h   |   1 -
 .../include/asm/mach-loongson32/regs-pwm.h    |  25 --
 arch/mips/loongson32/Kconfig                  |  37 ---
 arch/mips/loongson32/common/time.c            | 210 ----------------
 drivers/clocksource/Kconfig                   |   9 +
 drivers/clocksource/Makefile                  |   1 +
 drivers/clocksource/timer-loongson1-pwm.c     | 236 ++++++++++++++++++
 8 files changed, 294 insertions(+), 273 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml
 delete mode 100644 arch/mips/include/asm/mach-loongson32/regs-pwm.h
 create mode 100644 drivers/clocksource/timer-loongson1-pwm.c


base-commit: f7b5a248213f0976c7944925f3f3ab7ff199e581
-- 
2.34.1


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

end of thread, other threads:[~2023-04-06  1:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30 11:05 [PATCH v3 0/3] Move Loongson1 PWM timer to clocksource framework Keguang Zhang
2023-03-30 11:05 ` [PATCH v3 1/3] MIPS: Loongson32: Remove deprecated PWM timer clocksource Keguang Zhang
2023-03-30 11:05 ` [PATCH v3 2/3] dt-bindings: timer: Add Loongson-1 clocksource Keguang Zhang
2023-03-30 12:47   ` Rob Herring
2023-03-30 11:05 ` [PATCH v3 3/3] clocksource: loongson1: Move PWM timer to clocksource framework Keguang Zhang
2023-03-30 13:24 ` [PATCH v3 0/3] Move Loongson1 " Rob Herring
2023-04-06  1:20   ` Keguang Zhang

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