Skip to content

Commit 3f6ec19

Browse files
committed
Merge tag 'timers-core-2021-02-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer updates from Thomas Gleixner: "Time and timer updates: - Instead of new drivers remove tango, sirf, u300 and atlas drivers - Add suspend/resume support for microchip pit64b - The usual fixes, improvements and cleanups here and there" * tag 'timers-core-2021-02-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: timens: Delete no-op time_ns_init() alarmtimer: Update kerneldoc clocksource/drivers/timer-microchip-pit64b: Add clocksource suspend/resume clocksource/drivers/prima: Remove sirf prima driver clocksource/drivers/atlas: Remove sirf atlas driver clocksource/drivers/tango: Remove tango driver clocksource/drivers/u300: Remove the u300 driver dt-bindings: timer: nuvoton: Clarify that interrupt of timer 0 should be specified clocksource/drivers/davinci: Move pr_fmt() before the includes clocksource/drivers/efm32: Drop unused timer code
2 parents b5183bc + 11db571 commit 3f6ec19

13 files changed

Lines changed: 81 additions & 1401 deletions

File tree

‎Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ timer counters.
66
Required properties:
77
- compatible : "nuvoton,npcm750-timer" for Poleg NPCM750.
88
- reg : Offset and length of the register set for the device.
9-
- interrupts : Contain the timer interrupt with flags for
10-
falling edge.
9+
- interrupts : Contain the timer interrupt of timer 0.
1110
- clocks : phandle of timer reference clock (usually a 25 MHz clock).
1211

1312
Example:

‎Documentation/devicetree/bindings/timer/stericsson-u300-apptimer.txt‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎drivers/clocksource/Kconfig‎

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -197,32 +197,13 @@ config CLPS711X_TIMER
197197
help
198198
Enables support for the Cirrus Logic PS711 timer.
199199

200-
config ATLAS7_TIMER
201-
bool "Atlas7 timer driver" if COMPILE_TEST
202-
select CLKSRC_MMIO
203-
help
204-
Enables support for the Atlas7 timer.
205-
206200
config MXS_TIMER
207201
bool "MXS timer driver" if COMPILE_TEST
208202
select CLKSRC_MMIO
209203
select STMP_DEVICE
210204
help
211205
Enables support for the MXS timer.
212206

213-
config PRIMA2_TIMER
214-
bool "Prima2 timer driver" if COMPILE_TEST
215-
select CLKSRC_MMIO
216-
help
217-
Enables support for the Prima2 timer.
218-
219-
config U300_TIMER
220-
bool "U300 timer driver" if COMPILE_TEST
221-
depends on ARM
222-
select CLKSRC_MMIO
223-
help
224-
Enables support for the U300 timer.
225-
226207
config NSPIRE_TIMER
227208
bool "NSpire timer driver" if COMPILE_TEST
228209
select CLKSRC_MMIO
@@ -242,15 +223,6 @@ config INTEGRATOR_AP_TIMER
242223
help
243224
Enables support for the Integrator-AP timer.
244225

245-
config CLKSRC_EFM32
246-
bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
247-
depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
248-
select CLKSRC_MMIO
249-
default ARCH_EFM32
250-
help
251-
Support to use the timers of EFM32 SoCs as clock source and clock
252-
event device.
253-
254226
config CLKSRC_LPC32XX
255227
bool "Clocksource for LPC32XX" if COMPILE_TEST
256228
depends on HAS_IOMEM
@@ -567,14 +539,6 @@ config CLKSRC_MIPS_GIC
567539
select CLOCKSOURCE_WATCHDOG
568540
select TIMER_OF
569541

570-
config CLKSRC_TANGO_XTAL
571-
bool "Clocksource for Tango SoC" if COMPILE_TEST
572-
depends on ARM
573-
select TIMER_OF
574-
select CLKSRC_MMIO
575-
help
576-
This enables the clocksource for Tango SoC.
577-
578542
config CLKSRC_PXA
579543
bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
580544
depends on HAS_IOMEM

‎drivers/clocksource/Makefile‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ obj-$(CONFIG_ARMADA_370_XP_TIMER) += timer-armada-370-xp.o
3030
obj-$(CONFIG_ORION_TIMER) += timer-orion.o
3131
obj-$(CONFIG_BCM2835_TIMER) += bcm2835_timer.o
3232
obj-$(CONFIG_CLPS711X_TIMER) += clps711x-timer.o
33-
obj-$(CONFIG_ATLAS7_TIMER) += timer-atlas7.o
3433
obj-$(CONFIG_MXS_TIMER) += mxs_timer.o
3534
obj-$(CONFIG_CLKSRC_PXA) += timer-pxa.o
36-
obj-$(CONFIG_PRIMA2_TIMER) += timer-prima2.o
37-
obj-$(CONFIG_U300_TIMER) += timer-u300.o
3835
obj-$(CONFIG_SUN4I_TIMER) += timer-sun4i.o
3936
obj-$(CONFIG_SUN5I_HSTIMER) += timer-sun5i.o
4037
obj-$(CONFIG_MESON6_TIMER) += timer-meson6.o
@@ -43,7 +40,6 @@ obj-$(CONFIG_VT8500_TIMER) += timer-vt8500.o
4340
obj-$(CONFIG_NSPIRE_TIMER) += timer-zevio.o
4441
obj-$(CONFIG_BCM_KONA_TIMER) += bcm_kona_timer.o
4542
obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
46-
obj-$(CONFIG_CLKSRC_EFM32) += timer-efm32.o
4743
obj-$(CONFIG_CLKSRC_STM32) += timer-stm32.o
4844
obj-$(CONFIG_CLKSRC_STM32_LP) += timer-stm32-lp.o
4945
obj-$(CONFIG_CLKSRC_EXYNOS_MCT) += exynos_mct.o
@@ -73,7 +69,6 @@ obj-$(CONFIG_KEYSTONE_TIMER) += timer-keystone.o
7369
obj-$(CONFIG_INTEGRATOR_AP_TIMER) += timer-integrator-ap.o
7470
obj-$(CONFIG_CLKSRC_VERSATILE) += timer-versatile.o
7571
obj-$(CONFIG_CLKSRC_MIPS_GIC) += mips-gic-timer.o
76-
obj-$(CONFIG_CLKSRC_TANGO_XTAL) += timer-tango-xtal.o
7772
obj-$(CONFIG_CLKSRC_IMX_GPT) += timer-imx-gpt.o
7873
obj-$(CONFIG_CLKSRC_IMX_TPM) += timer-imx-tpm.o
7974
obj-$(CONFIG_TIMER_IMX_SYS_CTR) += timer-imx-sysctr.o

0 commit comments

Comments
 (0)