^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menu "Clock Source drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) depends on GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) select TIMER_PROBE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) config TIMER_ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select TIMER_PROBE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config TIMER_PROBE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) config CLKSRC_I8253
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config CLKEVT_I8253
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) config I8253_LOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) config OMAP_DM_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config CLKBLD_I8253
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) config BCM2835_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) bool "BCM2835 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Enables the support for the BCM2835 timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) config BCM_KONA_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) bool "BCM mobile timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Enables the support for the BCM Kona mobile timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) config DAVINCI_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) bool "Texas Instruments DaVinci timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Enables the support for the TI DaVinci timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) config DIGICOLOR_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) bool "Digicolor timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Enables the support for the digicolor timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) config DW_APB_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) bool "DW APB timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Enables the support for the dw_apb timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) config DW_APB_TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) select DW_APB_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) config FTTMR010_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) bool "Faraday Technology timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Enables support for the Faraday Technology timer block
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) FTTMR010.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) config IXP4XX_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) Enables support for the Intel XScale IXP4xx SoC timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) config ROCKCHIP_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) tristate "Rockchip timer driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) default ARCH_ROCKCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) depends on ARCH_ROCKCHIP || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) depends on ARM || ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) Enables the support for the Rockchip timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) config ARMADA_370_XP_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) bool "Armada 370 and XP timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Enables the support for the Armada 370 and XP timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) config MESON6_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) bool "Meson6 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) Enables the support for the Meson6 timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) config ORION_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) bool "Orion timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) Enables the support for the Orion timer driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) config OWL_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) bool "Owl timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) Enables the support for the Actions Semi Owl timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) config RDA_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) bool "RDA timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Enables the support for the RDA Micro timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) config SUN4I_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) bool "Sun4i timer driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) Enables support for the Sun4i timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) config SUN5I_HSTIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) bool "Sun5i timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) Enables support the Sun5i timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) config TEGRA_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) bool "Tegra timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) depends on ARCH_TEGRA || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) Enables support for the Tegra driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) config VT8500_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) bool "VT8500 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Enables support for the VT8500 driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) config NPCM7XX_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) bool "NPCM7xx timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) where TIMER0 serves as clockevent and TIMER1 serves as clocksource.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) config CADENCE_TTC_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) bool "Cadence TTC timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) Enables support for the Cadence TTC driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) config ASM9260_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) bool "ASM9260 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) Enables support for the ASM9260 timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) config CLKSRC_NOMADIK_MTU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) bool "Nomakdik clocksource driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) Support for Multi Timer Unit. MTU provides access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) to multiple interrupt generating programmable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 32-bit free running decrementing counters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) config CLKSRC_DBX500_PRCMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) bool "Clocksource PRCMU Timer" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) Use the always on PRCMU Timer as clocksource.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) config CLPS711X_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) bool "Cirrus Logic timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) Enables support for the Cirrus Logic PS711 timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) config ATLAS7_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) bool "Atlas7 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) Enables support for the Atlas7 timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) config MXS_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) bool "MXS timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) select STMP_DEVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) Enables support for the MXS timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) config PRIMA2_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) bool "Prima2 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) Enables support for the Prima2 timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) config U300_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) bool "U300 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) Enables support for the U300 timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) config NSPIRE_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) bool "NSpire timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) Enables support for the Nspire timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) config KEYSTONE_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) bool "Keystone timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) depends on ARM || ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) Enables support for the Keystone timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) config INTEGRATOR_AP_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) bool "Integrator-AP timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) Enables support for the Integrator-AP timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) config CLKSRC_EFM32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) default ARCH_EFM32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) Support to use the timers of EFM32 SoCs as clock source and clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) event device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) config CLKSRC_LPC32XX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) bool "Clocksource for LPC32XX" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) Support for the LPC32XX clocksource.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) config CLKSRC_PISTACHIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) bool "Clocksource for Pistachio SoC" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) Enables the clocksource for the Pistachio SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) config CLKSRC_TI_32K
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) depends on GENERIC_SCHED_CLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) This option enables support for Texas Instruments 32.768 Hz clocksource
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) available on many OMAP-like platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) config CLKSRC_NPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) bool "NPS400 clocksource driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) depends on !PHYS_ADDR_T_64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) NPS400 clocksource support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) It has a 64-bit counter with update rate up to 1000MHz.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) This counter is accessed via couple of 32-bit memory-mapped registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) config CLKSRC_STM32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) bool "Clocksource for STM32 SoCs" if !ARCH_STM32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) config CLKSRC_STM32_LP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) bool "Low power clocksource for STM32 SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) depends on MFD_STM32_LPTIMER || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) config CLKSRC_MPS2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) depends on GENERIC_SCHED_CLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) config ARC_TIMERS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) depends on GENERIC_SCHED_CLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) (ARC700 as well as ARC HS38).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) TIMER0 serves as clockevent while TIMER1 provides clocksource.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) config ARC_TIMERS_64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) depends on ARC_TIMERS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) RTC is implemented inside the core, while GFRC sits outside the core in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) ARConnect IP block. Driver automatically picks one of them for clocksource
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) as appropriate.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) config ARM_ARCH_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) select TIMER_ACPI if ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332) config ARM_ARCH_TIMER_EVTSTREAM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) bool "Enable ARM architected timer event stream generation by default"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334) default y if ARM_ARCH_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) depends on ARM_ARCH_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) This option enables support by default for event stream generation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) based on the ARM architected timer. It is used for waking up CPUs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) executing the wfe instruction at a frequency represented as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) power-of-2 divisor of the clock rate. The behaviour can also be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341) overridden on the command line using the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) clocksource.arm_arch_timer.evtstream parameter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) The main use of the event stream is wfe-based timeouts of userspace
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) locking implementations. It might also be useful for imposing timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) on wfe to safeguard against any programming errors in case an expected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) event is not generated.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) This must be disabled for hardware validation purposes to detect any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) hardware anomalies of missing events.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350) config ARM_ARCH_TIMER_OOL_WORKAROUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) config FSL_ERRATUM_A008585
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) bool "Workaround for Freescale/NXP Erratum A-008585"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) depends on ARM_ARCH_TIMER && ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) select ARM_ARCH_TIMER_OOL_WORKAROUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) This option enables a workaround for Freescale/NXP Erratum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) A-008585 ("ARM generic timer may contain an erroneous
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361) value"). The workaround will only be active if the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) fsl,erratum-a008585 property is found in the timer node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) config HISILICON_ERRATUM_161010101
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) bool "Workaround for Hisilicon Erratum 161010101"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) select ARM_ARCH_TIMER_OOL_WORKAROUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368) depends on ARM_ARCH_TIMER && ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) This option enables a workaround for Hisilicon Erratum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) 161010101. The workaround will be active if the hisilicon,erratum-161010101
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372) property is found in the timer node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374) config ARM64_ERRATUM_858921
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) bool "Workaround for Cortex-A73 erratum 858921"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) select ARM_ARCH_TIMER_OOL_WORKAROUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) depends on ARM_ARCH_TIMER && ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) This option enables a workaround applicable to Cortex-A73
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) (all versions), whose counter may return incorrect values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) The workaround will be dynamically enabled when an affected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) core is detected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) config SUN50I_ERRATUM_UNKNOWN1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) bool "Workaround for Allwinner A64 erratum UNKNOWN1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389) select ARM_ARCH_TIMER_OOL_WORKAROUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) This option enables a workaround for instability in the timer on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392) the Allwinner A64 SoC. The workaround will only be active if the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) allwinner,erratum-unknown1 property is found in the timer node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) config ARM_GLOBAL_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) bool "Support for the ARM global timer" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400) This option enables support for the ARM global timer unit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) config ARM_TIMER_SP804
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) bool "Support for Dual Timer SP804 module" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) depends on ARM_GLOBAL_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) Use ARM global timer clock source as sched_clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) config ARMV7M_SYSTICK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416) bool "Support for the ARMv7M system time" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) This option enables support for the ARMv7M system timer unit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422) config ATMEL_PIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) bool "Atmel PIT support" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) Support for the Periodic Interval Timer found on Atmel SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429) config ATMEL_ST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) bool "Atmel ST timer support" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) Support for the Atmel ST timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) config ATMEL_TCB_CLKSRC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) bool "Atmel TC Block timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) depends on ARM && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) Support for Timer Counter Blocks on Atmel SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) config CLKSRC_EXYNOS_MCT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445) bool "Exynos multi core timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) depends on ARM || ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) Support for Multi Core Timer controller on Exynos SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450) config CLKSRC_SAMSUNG_PWM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) This is a new clocksource driver for the PWM timer found in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) for all devicetree enabled platforms. This driver will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) needed only on systems that do not have the Exynos MCT available.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) config FSL_FTM_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) bool "Freescale FlexTimer Module driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) Support for Freescale FlexTimer Module (FTM) timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466) config VF_PIT_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) config OXNAS_RPS_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477) This enables support for the Oxford Semiconductor OXNAS RPS timers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) config SYS_SUPPORTS_SH_CMT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) config MTK_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) bool "Mediatek timer driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 486) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 487) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 488) Support for Mediatek timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 489)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 490) config SPRD_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 491) bool "Spreadtrum timer driver" if EXPERT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 492) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 493) depends on (ARCH_SPRD || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 494) default ARCH_SPRD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 495) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 496) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 497) Enables support for the Spreadtrum timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 498)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 499) config SYS_SUPPORTS_SH_MTU2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 500) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 501)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 502) config SYS_SUPPORTS_SH_TMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 503) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 504)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 505) config SYS_SUPPORTS_EM_STI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 506) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 507)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 508) config CLKSRC_JCORE_PIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 509) bool "J-Core PIT timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 510) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 511) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 512) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 513) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 514) This enables build of clocksource and clockevent driver for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 515) the integrated PIT in the J-Core synthesizable, open source SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 516)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 517) config SH_TIMER_CMT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 518) bool "Renesas CMT timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 519) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 520) default SYS_SUPPORTS_SH_CMT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 521) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 522) This enables build of a clocksource and clockevent driver for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 523) the Compare Match Timer (CMT) hardware available in 16/32/48-bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 524) variants on a wide range of Mobile and Automotive SoCs from Renesas.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 525)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 526) config SH_TIMER_MTU2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 527) bool "Renesas MTU2 timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 528) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 529) default SYS_SUPPORTS_SH_MTU2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 530) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 531) This enables build of a clockevent driver for the Multi-Function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 532) Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 533) This hardware comes with 16-bit timer registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 534)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 535) config RENESAS_OSTM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 536) bool "Renesas OSTM timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 537) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 538) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 539) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 540) Enables the support for the Renesas OSTM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 541)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 542) config SH_TIMER_TMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 543) bool "Renesas TMU timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 544) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 545) default SYS_SUPPORTS_SH_TMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 546) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 547) This enables build of a clocksource and clockevent driver for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 548) the 32-bit Timer Unit (TMU) hardware available on a wide range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 549) SoCs from Renesas.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 550)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 551) config EM_TIMER_STI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 552) bool "Renesas STI timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 553) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 554) default SYS_SUPPORTS_EM_STI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 555) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 556) This enables build of a clocksource and clockevent driver for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 557) the 48-bit System Timer (STI) hardware available on a SoCs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 558) such as EMEV2 from former NEC Electronics.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 559)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 560) config CLKSRC_QCOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 561) bool "Qualcomm MSM timer" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 562) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 563) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 564) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 565) This enables the clocksource and the per CPU clockevent driver for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 566) Qualcomm SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 567)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 568) config CLKSRC_VERSATILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 569) bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 570) depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 571) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 572) default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 573) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 574) This option enables clock source based on free running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 575) counter available in the "System Registers" block of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 576) ARM Versatile and Versatile Express reference platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 577)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 578) config CLKSRC_MIPS_GIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 579) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 580) depends on MIPS_GIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 581) select CLOCKSOURCE_WATCHDOG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 582) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 583)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 584) config CLKSRC_TANGO_XTAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 585) bool "Clocksource for Tango SoC" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 586) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 587) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 588) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 589) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 590) This enables the clocksource for Tango SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 591)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 592) config CLKSRC_PXA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 593) bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 594) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 595) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 596) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 597) This enables OST0 support available on PXA and SA-11x0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 598) platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 599)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 600) config H8300_TMR8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 601) bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 602) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 603) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 604) This enables the 8 bits timer for the H8300 platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 605)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 606) config H8300_TMR16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 607) bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 608) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 609) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 610) This enables the 16 bits timer for the H8300 platform with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 611) H83069 CPU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 612)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 613) config H8300_TPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 614) bool "Clocksource for the H8300 platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 615) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 616) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 617) This enables the clocksource for the H8300 platform with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 618) H8S2678 CPU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 619)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 620) config CLKSRC_IMX_GPT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 621) bool "Clocksource using i.MX GPT" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 622) depends on (ARM || ARM64) && CLKDEV_LOOKUP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 623) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 624)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 625) config CLKSRC_IMX_TPM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 626) bool "Clocksource using i.MX TPM" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 627) depends on (ARM || ARM64) && CLKDEV_LOOKUP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 628) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 629) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 630) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 631) Enable this option to use IMX Timer/PWM Module (TPM) timer as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 632) clocksource.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 633)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 634) config TIMER_IMX_SYS_CTR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 635) bool "i.MX system counter timer" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 636) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 637) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 638) Enable this option to use i.MX system counter timer as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 639) clockevent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 640)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 641) config CLKSRC_ST_LPC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 642) bool "Low power clocksource found in the LPC" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 643) select TIMER_OF if OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 644) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 645) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 646) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 647) Enable this option to use the Low Power controller timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 648) as clocksource.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 649)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 650) config ATCPIT100_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 651) bool "ATCPIT100 timer driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 652) depends on NDS32 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 653) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 654) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 655) default NDS32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 656) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 657) This option enables support for the Andestech ATCPIT100 timers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 658)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 659) config RISCV_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 660) bool "Timer for the RISC-V platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 661) depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 662) select TIMER_PROBE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 663) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 664) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 665) This enables the per-hart timer built into all RISC-V systems, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 666) is accessed via both the SBI and the rdcycle instruction. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 667) required for all RISC-V systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 668)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 669) config CLINT_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 670) bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 671) depends on GENERIC_SCHED_CLOCK && RISCV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 672) select TIMER_PROBE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 673) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 674) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 675) This option enables the CLINT timer for RISC-V systems. The CLINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 676) driver is usually used for NoMMU RISC-V systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 677)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 678) config CSKY_MP_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 679) bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 680) depends on CSKY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 681) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 682) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 683) Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 684) system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 685) csky,mptimer is not only used in SMP system, it also could be used in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 686) single core system. It's not a mmio reg and it uses mtcr/mfcr instruction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 687)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 688) config GX6605S_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 689) bool "Gx6605s SOC system timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 690) depends on CSKY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 691) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 692) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 693) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 694) This option enables support for gx6605s SOC's timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 695)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 696) config MILBEAUT_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 697) bool "Milbeaut timer driver" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 698) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 699) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 700) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 701) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 702) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 703) Enables the support for Milbeaut timer driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 704)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 705) config INGENIC_TIMER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 706) bool "Clocksource/timer using the TCU in Ingenic JZ SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 707) default MACH_INGENIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 708) depends on MIPS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 709) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 710) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 711) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 712) select IRQ_DOMAIN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 713) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 714) Support for the timer/counter unit of the Ingenic JZ SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 715)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 716) config INGENIC_SYSOST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 717) bool "Clocksource/timer using the SYSOST in Ingenic X SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 718) depends on MIPS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 719) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 720) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 721) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 722) select IRQ_DOMAIN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 723) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 724) Support for the SYSOST of the Ingenic X Series SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 725)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 726) config INGENIC_OST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 727) bool "Clocksource using the OST in Ingenic JZ SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 728) depends on MIPS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 729) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 730) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 731) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 732) Support for the Operating System Timer of the Ingenic JZ SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 733)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 734) config MICROCHIP_PIT64B
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 735) bool "Microchip PIT64B support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 736) depends on OF || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 737) select CLKSRC_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 738) select TIMER_OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 739) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 740) This option enables Microchip PIT64B timer for Atmel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 741) based system. It supports the oneshot, the periodic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 742) modes and high resolution. It is used as a clocksource
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 743) and a clockevent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 744)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 745) endmenu