2021-01-21 20:38:27 +00:00
|
|
|
--- a/drivers/clocksource/Kconfig
|
|
|
|
+++ b/drivers/clocksource/Kconfig
|
2021-12-05 16:43:36 +00:00
|
|
|
@@ -128,6 +128,15 @@ config RDA_TIMER
|
2021-01-21 20:38:27 +00:00
|
|
|
help
|
|
|
|
Enables the support for the RDA Micro timer driver.
|
|
|
|
|
|
|
|
+config RTL9300_TIMER
|
|
|
|
+ bool "Clocksource/timer for the Realtek RTL9300 family of SoCs"
|
|
|
|
+ depends on MIPS
|
|
|
|
+ select COMMON_CLK
|
|
|
|
+ select TIMER_OF
|
|
|
|
+ select CLKSRC_MMIO
|
|
|
|
+ help
|
|
|
|
+ Enables support for the Realtek RTL9300 timer driver.
|
|
|
|
+
|
|
|
|
config SUN4I_TIMER
|
|
|
|
bool "Sun4i timer driver" if COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2021-12-05 16:43:36 +00:00
|
|
|
@@ -697,5 +706,4 @@ config INGENIC_TIMER
|
2021-01-21 20:38:27 +00:00
|
|
|
select IRQ_DOMAIN
|
|
|
|
help
|
|
|
|
Support for the timer/counter unit of the Ingenic JZ SoCs.
|
|
|
|
-
|
|
|
|
endmenu
|
|
|
|
--- a/drivers/clocksource/Makefile
|
|
|
|
+++ b/drivers/clocksource/Makefile
|
kernel: bump 5.4 to 5.4.93
All modification made by update_kernel.sh in a fresh clone without
existing toolchains.
Build system: x86_64
Build-tested: ipq806x/R7800, bcm27xx/bcm2711
Run-tested: ipq806x/R7800
Compile-tested [*]: ath79/{tiny,generic}, ipq40xx, octeon,
ramips/mt7621, realtek, x86/64
Run-tested [*]: ath79/generic, ipq40xx, octeon, ramips/mt7621
No dmesg regressions, everything functional
Signed-off-by: John Audia <graysky@archlinux.us>
Tested-by: Stijn Segers <foss@volatilesystems.org> [*]
2021-01-27 14:41:12 +00:00
|
|
|
@@ -61,6 +61,7 @@ obj-$(CONFIG_MILBEAUT_TIMER) += timer-mi
|
2021-01-21 20:38:27 +00:00
|
|
|
obj-$(CONFIG_SPRD_TIMER) += timer-sprd.o
|
|
|
|
obj-$(CONFIG_NPCM7XX_TIMER) += timer-npcm7xx.o
|
|
|
|
obj-$(CONFIG_RDA_TIMER) += timer-rda.o
|
|
|
|
+obj-$(CONFIG_RTL9300_TIMER) += timer-rtl9300.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_ARC_TIMERS) += arc_timer.o
|
|
|
|
obj-$(CONFIG_ARM_ARCH_TIMER) += arm_arch_timer.o
|