Move Loongson1 PWM timer to clocksource framework and update the Kconfig/Makefile options accordingly. 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 ++++ 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 ++++++++++++++++++ 6 files changed, 294 insertions(+), 247 deletions(-) create mode 100644 Documentation/devicetree/bindings/timer/loongson,ls1x-pwmtimer.yaml create mode 100644 drivers/clocksource/timer-loongson1-pwm.c base-commit: f7b5a248213f0976c7944925f3f3ab7ff199e581 -- 2.34.1