2
0

302-clocksource-add-rtl9300-driver.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. --- a/drivers/clocksource/Kconfig
  2. +++ b/drivers/clocksource/Kconfig
  3. @@ -126,6 +126,15 @@ config RDA_TIMER
  4. help
  5. Enables the support for the RDA Micro timer driver.
  6. +config RTL9300_TIMER
  7. + bool "Clocksource/timer for the Realtek RTL9300 family of SoCs"
  8. + depends on MIPS
  9. + select COMMON_CLK
  10. + select TIMER_OF
  11. + select CLKSRC_MMIO
  12. + help
  13. + Enables support for the Realtek RTL9300 timer driver.
  14. +
  15. config SUN4I_TIMER
  16. bool "Sun4i timer driver" if COMPILE_TEST
  17. depends on HAS_IOMEM
  18. @@ -695,5 +704,4 @@ config INGENIC_TIMER
  19. select IRQ_DOMAIN
  20. help
  21. Support for the timer/counter unit of the Ingenic JZ SoCs.
  22. -
  23. endmenu
  24. --- a/drivers/clocksource/Makefile
  25. +++ b/drivers/clocksource/Makefile
  26. @@ -61,6 +61,7 @@ obj-$(CONFIG_MILBEAUT_TIMER) += timer-mi
  27. obj-$(CONFIG_SPRD_TIMER) += timer-sprd.o
  28. obj-$(CONFIG_NPCM7XX_TIMER) += timer-npcm7xx.o
  29. obj-$(CONFIG_RDA_TIMER) += timer-rda.o
  30. +obj-$(CONFIG_RTL9300_TIMER) += timer-rtl9300.o
  31. obj-$(CONFIG_ARC_TIMERS) += arc_timer.o
  32. obj-$(CONFIG_ARM_ARCH_TIMER) += arm_arch_timer.o