Skip to content

Move Loongson1 PWM timer to clocksource framework

Keguang Zhang linux-devicetree linux-mips lkml 4 versions – Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v33 patches 3 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches4 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3MIPS: Loongson32: Remove deprecated PWM timer clocksourcearch/mips/include/asm/mach-loongson32/loongson1.h arch/mips/include/asm/mach-loongson32/regs-pwm.h arch/mips/loongson32/Kconfig +1 more+0 -2730 replies
2/3dt-bindings: timer: Add Loongson-1 clocksourceDocumentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml+48 -01 reply
3/3clocksource: loongson1: Move PWM timer to clocksource frameworkdrivers/clocksource/Kconfig drivers/clocksource/Makefile drivers/clocksource/timer-loongson1-pwm.c+246 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Move Loongson1 PWM timer to clocksource framework

Move Loongson1 PWM timer to clocksource framework. Adapt the driver to clocksource framework with devicetree support. Update the Kconfig/Makefile options accordingly.

Changelog
V3 -> V4: Replaced the wildcard compatible string with specific one 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: 31c6ed4e89187beef8fe2f979c8881ca94839427

Signature · 1 line
2.39.2