310-oxnas-clocksource.patch 840 B

12345678910111213141516171819202122232425
  1. --- a/drivers/clocksource/Kconfig
  2. +++ b/drivers/clocksource/Kconfig
  3. @@ -177,6 +177,12 @@ config VF_PIT_TIMER
  4. help
  5. Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
  6. +config CLKSRC_RPS_TIMER
  7. + def_bool y if ARCH_OXNAS
  8. + select CLKSRC_MMIO
  9. + help
  10. + This option enables support for the oxnas rps timers.
  11. +
  12. config SYS_SUPPORTS_SH_CMT
  13. bool
  14. --- a/drivers/clocksource/Makefile
  15. +++ b/drivers/clocksource/Makefile
  16. @@ -39,6 +39,7 @@ obj-$(CONFIG_CLKSRC_EFM32) += time-efm32
  17. obj-$(CONFIG_CLKSRC_EXYNOS_MCT) += exynos_mct.o
  18. obj-$(CONFIG_CLKSRC_SAMSUNG_PWM) += samsung_pwm_timer.o
  19. obj-$(CONFIG_FSL_FTM_TIMER) += fsl_ftm_timer.o
  20. +obj-$(CONFIG_CLKSRC_RPS_TIMER) += oxnas_rps_timer.o
  21. obj-$(CONFIG_VF_PIT_TIMER) += vf_pit_timer.o
  22. obj-$(CONFIG_CLKSRC_QCOM) += qcom-timer.o
  23. obj-$(CONFIG_MTK_TIMER) += mtk_timer.o