1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 258394271SJean Delvaremenu "Clock Source drivers" 32f8a26c1SArnd Bergmann depends on GENERIC_CLOCKEVENTS 458394271SJean Delvare 5bb0eb050SDaniel Lezcanoconfig TIMER_OF 6ae278a93SStephen Warren bool 7bb0eb050SDaniel Lezcano select TIMER_PROBE 8aad83b15SMarc Zyngier 9fa1bffabSDaniel Lezcanoconfig TIMER_ACPI 10aad83b15SMarc Zyngier bool 11bb0eb050SDaniel Lezcano select TIMER_PROBE 12aad83b15SMarc Zyngier 13bb0eb050SDaniel Lezcanoconfig TIMER_PROBE 14aad83b15SMarc Zyngier bool 15ae278a93SStephen Warren 1689c0b8e2SRussell Kingconfig CLKSRC_I8253 1789c0b8e2SRussell King bool 18442c8176SRussell King 19e6220bdcSThomas Gleixnerconfig CLKEVT_I8253 20e6220bdcSThomas Gleixner bool 21e6220bdcSThomas Gleixner 2215f304b6SRalf Baechleconfig I8253_LOCK 2315f304b6SRalf Baechle bool 2415f304b6SRalf Baechle 25ab0bbef3STony Lindgrenconfig OMAP_DM_SYSTIMER 26af04aa85SKeerthy bool 27eda9a4f7SKees Cook select TIMER_OF 28af04aa85SKeerthy 2915f304b6SRalf Baechleconfig CLKBLD_I8253 30e6220bdcSThomas Gleixner def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 3115f304b6SRalf Baechle 32442c8176SRussell Kingconfig CLKSRC_MMIO 33442c8176SRussell King bool 3406c3df49SJamie Iles 352ea879a7SDaniel Lezcanoconfig BCM2835_TIMER 362ea879a7SDaniel Lezcano bool "BCM2835 timer driver" if COMPILE_TEST 372ea879a7SDaniel Lezcano select CLKSRC_MMIO 382ea879a7SDaniel Lezcano help 392ea879a7SDaniel Lezcano Enables the support for the BCM2835 timer driver. 402ea879a7SDaniel Lezcano 411cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER 421cad71e3SDaniel Lezcano bool "BCM mobile timer driver" if COMPILE_TEST 431cad71e3SDaniel Lezcano select CLKSRC_MMIO 441cad71e3SDaniel Lezcano help 451cad71e3SDaniel Lezcano Enables the support for the BCM Kona mobile timer driver. 461cad71e3SDaniel Lezcano 47721154f9SBartosz Golaszewskiconfig DAVINCI_TIMER 48721154f9SBartosz Golaszewski bool "Texas Instruments DaVinci timer driver" if COMPILE_TEST 49721154f9SBartosz Golaszewski help 50721154f9SBartosz Golaszewski Enables the support for the TI DaVinci timer driver. 51721154f9SBartosz Golaszewski 529b8bb773SBaruch Siachconfig DIGICOLOR_TIMER 53e6c1db13SDaniel Lezcano bool "Digicolor timer driver" if COMPILE_TEST 542be6d9bfSArnd Bergmann select CLKSRC_MMIO 55d7023e62SRichard Weinberger depends on HAS_IOMEM 56e6c1db13SDaniel Lezcano help 57e6c1db13SDaniel Lezcano Enables the support for the digicolor timer driver. 589b8bb773SBaruch Siach 59ab0bbef3STony Lindgrenconfig OMAP_DM_TIMER 60775343f9STony Lindgren bool "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST 61775343f9STony Lindgren default y if ARCH_K3 62ab0bbef3STony Lindgren select TIMER_OF 63ab0bbef3STony Lindgren help 64ab0bbef3STony Lindgren Enables the support for the TI dual-mode timer driver. 65ab0bbef3STony Lindgren 6606c3df49SJamie Ilesconfig DW_APB_TIMER 675b097f6bSDaniel Lezcano bool "DW APB timer driver" if COMPILE_TEST 685b097f6bSDaniel Lezcano help 695b097f6bSDaniel Lezcano Enables the support for the dw_apb timer. 70489bcceaSMattias Wallin 71cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 72cfda5901SDinh Nguyen bool 731b4eca0fSHeiko Stuebner select DW_APB_TIMER 74bb0eb050SDaniel Lezcano select TIMER_OF 75cfda5901SDinh Nguyen 76f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER 77f5bf0ee4SLinus Walleij bool "Faraday Technology timer driver" if COMPILE_TEST 784750535bSLinus Walleij depends on HAS_IOMEM 794750535bSLinus Walleij select CLKSRC_MMIO 80bb0eb050SDaniel Lezcano select TIMER_OF 814750535bSLinus Walleij select MFD_SYSCON 824750535bSLinus Walleij help 83f5bf0ee4SLinus Walleij Enables support for the Faraday Technology timer block 84f5bf0ee4SLinus Walleij FTTMR010. 854750535bSLinus Walleij 8613e0b405SLinus Walleijconfig IXP4XX_TIMER 8713e0b405SLinus Walleij bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST 8813e0b405SLinus Walleij depends on HAS_IOMEM 8913e0b405SLinus Walleij select CLKSRC_MMIO 9041929c9fSLinus Walleij select TIMER_OF 9113e0b405SLinus Walleij help 9213e0b405SLinus Walleij Enables support for the Intel XScale IXP4xx SoC timer. 9313e0b405SLinus Walleij 94468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 9540ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 9640ada2aaSDaniel Lezcano depends on ARM || ARM64 97bb0eb050SDaniel Lezcano select TIMER_OF 985e0a39d0SAlexander Kochetkov select CLKSRC_MMIO 9940ada2aaSDaniel Lezcano help 10006293463SRandy Dunlap Enables the support for the Rockchip timer driver. 101468b8c4cSDaniel Lezcano 1026fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 1039519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 1049519e80cSDaniel Lezcano depends on ARM 105bb0eb050SDaniel Lezcano select TIMER_OF 1062be6d9bfSArnd Bergmann select CLKSRC_MMIO 1079519e80cSDaniel Lezcano help 1089519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 1096fe9cbd1SGregory CLEMENT 110e4a6b378SCarlo Caioneconfig MESON6_TIMER 1110b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 1127b6b0a45SBeniamino Galvani select CLKSRC_MMIO 1130b7a7bb7SDaniel Lezcano help 1140b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 115e4a6b378SCarlo Caione 1160c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 117c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 118c9165549SDaniel Lezcano depends on ARM 119bb0eb050SDaniel Lezcano select TIMER_OF 1200c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 121c9165549SDaniel Lezcano help 122c9165549SDaniel Lezcano Enables the support for the Orion timer driver 1230c1dcfd5SSebastian Hesselbarth 1244be78a86SAndreas Färberconfig OWL_TIMER 1254be78a86SAndreas Färber bool "Owl timer driver" if COMPILE_TEST 1264be78a86SAndreas Färber select CLKSRC_MMIO 1274be78a86SAndreas Färber help 1284be78a86SAndreas Färber Enables the support for the Actions Semi Owl timer driver. 1294be78a86SAndreas Färber 1307f83a132SManivannan Sadhasivamconfig RDA_TIMER 1317f83a132SManivannan Sadhasivam bool "RDA timer driver" if COMPILE_TEST 1327f83a132SManivannan Sadhasivam select CLKSRC_MMIO 1337f83a132SManivannan Sadhasivam select TIMER_OF 1347f83a132SManivannan Sadhasivam help 1357f83a132SManivannan Sadhasivam Enables the support for the RDA Micro timer driver. 1367f83a132SManivannan Sadhasivam 1374bdc3eaaSChris Packhamconfig REALTEK_OTTO_TIMER 1384bdc3eaaSChris Packham bool "Clocksource/timer for the Realtek Otto platform" if COMPILE_TEST 1394bdc3eaaSChris Packham select TIMER_OF 1404bdc3eaaSChris Packham help 1414bdc3eaaSChris Packham This driver adds support for the timers found in the Realtek RTL83xx 1424bdc3eaaSChris Packham and RTL93xx SoCs series. This includes chips such as RTL8380, RTL8381 1434bdc3eaaSChris Packham and RTL832, as well as chips from the RTL839x series, such as RTL8390 1444bdc3eaaSChris Packham RT8391, RTL8392, RTL8393 and RTL8396 and chips of the RTL930x series 1454bdc3eaaSChris Packham such as RTL9301, RTL9302 or RTL9303. 1464bdc3eaaSChris Packham 147119fd635SMaxime Ripardconfig SUN4I_TIMER 148b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 149d7023e62SRichard Weinberger depends on HAS_IOMEM 15071c568c0SMaxime Ripard select CLKSRC_MMIO 151239751edSDaniel Lezcano select TIMER_OF 152b4fcd48bSDaniel Lezcano help 153b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 154b2ac5d75SMaxime Ripard 15567905540SMaxime Ripardconfig SUN5I_HSTIMER 156f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 15767905540SMaxime Ripard select CLKSRC_MMIO 158f0c5afb7SDaniel Lezcano depends on COMMON_CLK 159f0c5afb7SDaniel Lezcano help 160f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 16167905540SMaxime Ripard 162910978e7SThierry Redingconfig TEGRA_TIMER 163adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1642be6d9bfSArnd Bergmann select CLKSRC_MMIO 165b4822dc7SJoseph Lo select TIMER_OF 166acb4bb3fSDmitry Osipenko depends on ARCH_TEGRA || COMPILE_TEST 167adce4bc8SDaniel Lezcano help 168adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 169910978e7SThierry Reding 17042cee19aSThierry Redingconfig TEGRA186_TIMER 171110a2535SDaniel Lezcano bool "NVIDIA Tegra186 timer driver" 17242cee19aSThierry Reding depends on ARCH_TEGRA || COMPILE_TEST 17342cee19aSThierry Reding depends on WATCHDOG && WATCHDOG_CORE 17442cee19aSThierry Reding help 17542cee19aSThierry Reding Enables support for the timers and watchdogs found on NVIDIA 17642cee19aSThierry Reding Tegra186 and later SoCs. 17742cee19aSThierry Reding 178ff7ec345STony Priskconfig VT8500_TIMER 179b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 180d7023e62SRichard Weinberger depends on HAS_IOMEM 181b4bdf7efSDaniel Lezcano help 182b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 183ff7ec345STony Prisk 1841c00289eSTomer Maimonconfig NPCM7XX_TIMER 1851c00289eSTomer Maimon bool "NPCM7xx timer driver" if COMPILE_TEST 1861c00289eSTomer Maimon depends on HAS_IOMEM 18799834eeaSArnd Bergmann select TIMER_OF 1881c00289eSTomer Maimon select CLKSRC_MMIO 1891c00289eSTomer Maimon help 1901c00289eSTomer Maimon Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 19106293463SRandy Dunlap where TIMER0 serves as clockevent and TIMER1 serves as clocksource. 1921c00289eSTomer Maimon 1934f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 19457f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 19557f49318SDaniel Lezcano depends on COMMON_CLK 19657f49318SDaniel Lezcano help 19706293463SRandy Dunlap Enables support for the Cadence TTC driver. 1984f0f234fSMichal Simek 199a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 200b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 201a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 202bb0eb050SDaniel Lezcano select TIMER_OF 203b9755841SDaniel Lezcano help 204b9755841SDaniel Lezcano Enables support for the ASM9260 timer. 205a8b1b9fcSDaniel Lezcano 206694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 20770329653SDaniel Lezcano bool "Nomakdik clocksource driver" if COMPILE_TEST 20870329653SDaniel Lezcano depends on ARM 209694e33a7SLinus Walleij select CLKSRC_MMIO 210694e33a7SLinus Walleij help 211694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 212694e33a7SLinus Walleij to multiple interrupt generating programmable 213694e33a7SLinus Walleij 32-bit free running decrementing counters. 214694e33a7SLinus Walleij 215489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 2161becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 217d7023e62SRichard Weinberger depends on HAS_IOMEM 218489bcceaSMattias Wallin help 21906293463SRandy Dunlap Use the always on PRCMU Timer as clocksource. 220489bcceaSMattias Wallin 221ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 22206293463SRandy Dunlap bool "Cirrus Logic timer driver" if COMPILE_TEST 223ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 224ecf0efdcSDaniel Lezcano help 225ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 226ecf0efdcSDaniel Lezcano 227d81c50a0SDaniel Lezcanoconfig MXS_TIMER 22806293463SRandy Dunlap bool "MXS timer driver" if COMPILE_TEST 229d81c50a0SDaniel Lezcano select CLKSRC_MMIO 230d81c50a0SDaniel Lezcano select STMP_DEVICE 231d81c50a0SDaniel Lezcano help 23206293463SRandy Dunlap Enables support for the MXS timer. 233d81c50a0SDaniel Lezcano 234d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 235d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 236d683b9dcSDaniel Lezcano select CLKSRC_MMIO 237d683b9dcSDaniel Lezcano help 238d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 239d683b9dcSDaniel Lezcano 240c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 241c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 242c12547a0SDaniel Lezcano depends on ARM || ARM64 243c12547a0SDaniel Lezcano select CLKSRC_MMIO 244c12547a0SDaniel Lezcano help 245c12547a0SDaniel Lezcano Enables support for the Keystone timer. 246c12547a0SDaniel Lezcano 247568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER 24806293463SRandy Dunlap bool "Integrator-AP timer driver" if COMPILE_TEST 249568c0342SDaniel Lezcano select CLKSRC_MMIO 250568c0342SDaniel Lezcano help 25106293463SRandy Dunlap Enables support for the Integrator-AP timer. 252568c0342SDaniel Lezcano 253050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 254ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 2552f8a26c1SArnd Bergmann depends on HAS_IOMEM 2561b18fd20SEzequiel Garcia depends on ARM 257050dd322SJoachim Eastwood select CLKSRC_MMIO 258bb0eb050SDaniel Lezcano select TIMER_OF 259ddcf48c7SDaniel Lezcano help 260ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 261050dd322SJoachim Eastwood 26284583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 2631e4fd60bSJiaxun Yang bool "Clocksource for Pistachio SoC" 2642f8a26c1SArnd Bergmann depends on HAS_IOMEM 2651e4fd60bSJiaxun Yang depends on MIPS || COMPILE_TEST 266bb0eb050SDaniel Lezcano select TIMER_OF 267dfdb1652SDaniel Lezcano help 268dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 26984583983SEzequiel Garcia 270fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 271fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 272dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 273bb0eb050SDaniel Lezcano select TIMER_OF if OF 274fe851f56SFelipe Balbi help 275fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 276fe851f56SFelipe Balbi available on many OMAP-like platforms. 277fe851f56SFelipe Balbi 278e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2791cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2801cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 281e37e4593SMaxime Coquelin select CLKSRC_MMIO 282d04af490SBenjamin Gaignard select TIMER_OF 283e37e4593SMaxime Coquelin 28448b41c5eSBenjamin Gaignardconfig CLKSRC_STM32_LP 28548b41c5eSBenjamin Gaignard bool "Low power clocksource for STM32 SoCs" 28648b41c5eSBenjamin Gaignard depends on MFD_STM32_LPTIMER || COMPILE_TEST 28748b41c5eSBenjamin Gaignard 2880302637fSVladimir Murzinconfig CLKSRC_MPS2 2890302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2900302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2910302637fSVladimir Murzin select CLKSRC_MMIO 292bb0eb050SDaniel Lezcano select TIMER_OF 2930302637fSVladimir Murzin 294c4c9a040SVineet Guptaconfig ARC_TIMERS 295c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 296bf287607SAlexey Brodkin depends on GENERIC_SCHED_CLOCK 297bb0eb050SDaniel Lezcano select TIMER_OF 298c4c9a040SVineet Gupta help 299c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 300c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 30106293463SRandy Dunlap TIMER0 serves as clockevent while TIMER1 provides clocksource. 302c4c9a040SVineet Gupta 303c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 304c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 305c4c9a040SVineet Gupta depends on ARC_TIMERS 306bb0eb050SDaniel Lezcano select TIMER_OF 307c4c9a040SVineet Gupta help 30806293463SRandy Dunlap This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP). 309c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 310c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 311c4c9a040SVineet Gupta as appropriate. 312c4c9a040SVineet Gupta 3138a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 3148a4da6e3SMark Rutland bool 315bb0eb050SDaniel Lezcano select TIMER_OF if OF 316fa1bffabSDaniel Lezcano select TIMER_ACPI if ACPI 317a2c5d4edSJames Hogan 318037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 31946fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 320037f6377SWill Deacon default y if ARM_ARCH_TIMER 32177f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 322037f6377SWill Deacon help 32346fd5c6bSWill Deacon This option enables support by default for event stream generation 32446fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 32546fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 32646fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 32746fd5c6bSWill Deacon overridden on the command line using the 32846fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 329037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 330037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 331037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 332037f6377SWill Deacon event is not generated. 333037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 334037f6377SWill Deacon hardware anomalies of missing events. 335037f6377SWill Deacon 33616d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND 33716d10ef2SDing Tianhong bool 33816d10ef2SDing Tianhong 339f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 340f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 341f6dc1576SScott Wood default y 342f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 34316d10ef2SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 344f6dc1576SScott Wood help 345f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 346f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 347f6dc1576SScott Wood value"). The workaround will only be active if the 348f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 349f6dc1576SScott Wood 350bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101 351bb42ca47SDing Tianhong bool "Workaround for Hisilicon Erratum 161010101" 352bb42ca47SDing Tianhong default y 353bb42ca47SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 354bb42ca47SDing Tianhong depends on ARM_ARCH_TIMER && ARM64 355bb42ca47SDing Tianhong help 356bb42ca47SDing Tianhong This option enables a workaround for Hisilicon Erratum 357bb42ca47SDing Tianhong 161010101. The workaround will be active if the hisilicon,erratum-161010101 358bb42ca47SDing Tianhong property is found in the timer node. 359bb42ca47SDing Tianhong 360fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921 361fa8d815fSMarc Zyngier bool "Workaround for Cortex-A73 erratum 858921" 362fa8d815fSMarc Zyngier default y 363fa8d815fSMarc Zyngier select ARM_ARCH_TIMER_OOL_WORKAROUND 364fa8d815fSMarc Zyngier depends on ARM_ARCH_TIMER && ARM64 365fa8d815fSMarc Zyngier help 366fa8d815fSMarc Zyngier This option enables a workaround applicable to Cortex-A73 367fa8d815fSMarc Zyngier (all versions), whose counter may return incorrect values. 368fa8d815fSMarc Zyngier The workaround will be dynamically enabled when an affected 369fa8d815fSMarc Zyngier core is detected. 370fa8d815fSMarc Zyngier 371c950ca8cSSamuel Hollandconfig SUN50I_ERRATUM_UNKNOWN1 372c950ca8cSSamuel Holland bool "Workaround for Allwinner A64 erratum UNKNOWN1" 373c950ca8cSSamuel Holland default y 374c950ca8cSSamuel Holland depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI 375c950ca8cSSamuel Holland select ARM_ARCH_TIMER_OOL_WORKAROUND 376c950ca8cSSamuel Holland help 377c950ca8cSSamuel Holland This option enables a workaround for instability in the timer on 378c950ca8cSSamuel Holland the Allwinner A64 SoC. The workaround will only be active if the 379c950ca8cSSamuel Holland allwinner,erratum-unknown1 property is found in the timer node. 380c950ca8cSSamuel Holland 381c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 38267a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 383bb0eb050SDaniel Lezcano select TIMER_OF if OF 38467a87a43SDaniel Lezcano depends on ARM 385c1b40e44SStuart Menefy help 38606293463SRandy Dunlap This option enables support for the ARM global timer unit. 387c1b40e44SStuart Menefy 388171b45a4SAndrea Merelloconfig ARM_GT_INITIAL_PRESCALER_VAL 389171b45a4SAndrea Merello int "ARM global timer initial prescaler value" 39068e2215eSAndrea Merello default 2 if ARCH_ZYNQ 391171b45a4SAndrea Merello default 1 392171b45a4SAndrea Merello depends on ARM_GLOBAL_TIMER 393171b45a4SAndrea Merello help 394171b45a4SAndrea Merello When the ARM global timer initializes, its current rate is declared 3956f6f3e31SRandy Dunlap to the kernel and maintained forever. Should its parent clock 396171b45a4SAndrea Merello change, the driver tries to fix the timer's internal prescaler. 397171b45a4SAndrea Merello On some machs (i.e. Zynq) the initial prescaler value thus poses 398171b45a4SAndrea Merello bounds about how much the parent clock is allowed to decrease or 399171b45a4SAndrea Merello increase wrt the initial clock value. 400171b45a4SAndrea Merello This affects CPU_FREQ max delta from the initial frequency. 401171b45a4SAndrea Merello 4020b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 4030309f714SMark Brown bool "Support for Dual Timer SP804 module" 4040309f714SMark Brown depends on ARM || ARM64 || COMPILE_TEST 4052f4574ddSArnd Bergmann depends on GENERIC_SCHED_CLOCK && HAVE_CLK 4060b7402dcSSudeep Holla select CLKSRC_MMIO 407bb0eb050SDaniel Lezcano select TIMER_OF if OF 4080b7402dcSSudeep Holla 409c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 410c1b40e44SStuart Menefy bool 411c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 412c1b40e44SStuart Menefy default y 413c1b40e44SStuart Menefy help 41406293463SRandy Dunlap Use ARM global timer clock source as sched_clock. 415c1b40e44SStuart Menefy 4164958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 417e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 418bb0eb050SDaniel Lezcano select TIMER_OF if OF 4194958ebb3SMaxime Coquelin select CLKSRC_MMIO 4204958ebb3SMaxime Coquelin help 42106293463SRandy Dunlap This option enables support for the ARMv7M system timer unit. 4224958ebb3SMaxime Coquelin 423b052ff30SMaxime Ripardconfig ATMEL_PIT 4242f982703SAlexandre Belloni bool "Atmel PIT support" if COMPILE_TEST 4252f982703SAlexandre Belloni depends on HAS_IOMEM 426bb0eb050SDaniel Lezcano select TIMER_OF if OF 4272f982703SAlexandre Belloni help 4282f982703SAlexandre Belloni Support for the Periodic Interval Timer found on Atmel SoCs. 429b052ff30SMaxime Ripard 430b53cdd03SAlexandre Belloniconfig ATMEL_ST 431b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 432bd2746f0SMasahiro Yamada depends on HAS_IOMEM 433bb0eb050SDaniel Lezcano select TIMER_OF 4347ab7ef74SAlexandre Belloni select MFD_SYSCON 435b988d3f0SDaniel Lezcano help 436b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 437b53cdd03SAlexandre Belloni 4386275f494SAlexandre Belloniconfig ATMEL_TCB_CLKSRC 4396275f494SAlexandre Belloni bool "Atmel TC Block timer driver" if COMPILE_TEST 4401ce861ceSAlexandre Belloni depends on ARM && HAS_IOMEM 4416275f494SAlexandre Belloni select TIMER_OF if OF 4426275f494SAlexandre Belloni help 4436275f494SAlexandre Belloni Support for Timer Counter Blocks on Atmel SoCs. 4446275f494SAlexandre Belloni 4456938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 44639366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 447f1a4c1f3SChanwoo Choi depends on ARM || ARM64 44855ccdab7SVincent Whitchurch depends on ARCH_ARTPEC || ARCH_EXYNOS || COMPILE_TEST 4496938d75aSThomas Abraham help 4506938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 451241a9871SArnd Bergmann 452f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 453de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 454d7023e62SRichard Weinberger depends on HAS_IOMEM 4551ea35b35SArnd Bergmann depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST 456f1189989STomasz Figa help 457f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 458f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 459f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 460f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 461c1967249SJingchang Lu 4622529c3a3SXiubo Liconfig FSL_FTM_TIMER 463ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 464d7023e62SRichard Weinberger depends on HAS_IOMEM 46503724ac3SDaniel Lezcano select CLKSRC_MMIO 4662529c3a3SXiubo Li help 4672529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4682529c3a3SXiubo Li 469c1967249SJingchang Luconfig VF_PIT_TIMER 470c1967249SJingchang Lu bool 4712be6d9bfSArnd Bergmann select CLKSRC_MMIO 472c1967249SJingchang Lu help 47306293463SRandy Dunlap Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs. 474fd3f1270SMagnus Damm 475fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 476fd3f1270SMagnus Damm bool 477fd3f1270SMagnus Damm 478ecb3530dSMatthias Bruggerconfig MTK_TIMER 479fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 4802f8a26c1SArnd Bergmann depends on HAS_IOMEM 481bb0eb050SDaniel Lezcano select TIMER_OF 482ecb3530dSMatthias Brugger select CLKSRC_MMIO 483fbca9eabSDaniel Lezcano help 484fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 485ecb3530dSMatthias Brugger 48649d576eaSAngeloGioacchino Del Regnoconfig MTK_CPUX_TIMER 48749d576eaSAngeloGioacchino Del Regno bool "MediaTek CPUX timer driver" if COMPILE_TEST 48849d576eaSAngeloGioacchino Del Regno depends on HAS_IOMEM 48949d576eaSAngeloGioacchino Del Regno default ARCH_MEDIATEK 49049d576eaSAngeloGioacchino Del Regno select TIMER_OF 49149d576eaSAngeloGioacchino Del Regno select CLKSRC_MMIO 49249d576eaSAngeloGioacchino Del Regno help 49349d576eaSAngeloGioacchino Del Regno Support for MediaTek CPUXGPT timer driver. 49449d576eaSAngeloGioacchino Del Regno 495067bc914SBaolin Wangconfig SPRD_TIMER 4968a1ece26SChunyan Zhang bool "Spreadtrum timer driver" if EXPERT 497067bc914SBaolin Wang depends on HAS_IOMEM 4988a1ece26SChunyan Zhang depends on (ARCH_SPRD || COMPILE_TEST) 4998a1ece26SChunyan Zhang default ARCH_SPRD 500067bc914SBaolin Wang select TIMER_OF 501067bc914SBaolin Wang help 502067bc914SBaolin Wang Enables support for the Spreadtrum timer driver. 503067bc914SBaolin Wang 504fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 505fd3f1270SMagnus Damm bool 506fd3f1270SMagnus Damm 507fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 508fd3f1270SMagnus Damm bool 509fd3f1270SMagnus Damm 510fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 511fd3f1270SMagnus Damm bool 512fd3f1270SMagnus Damm 5139995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 5149995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 5159995f4f1SRich Felker depends on OF 5169995f4f1SRich Felker depends on HAS_IOMEM 5179995f4f1SRich Felker select CLKSRC_MMIO 5189995f4f1SRich Felker help 5199995f4f1SRich Felker This enables build of clocksource and clockevent driver for 5209995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 5219995f4f1SRich Felker 522fd3f1270SMagnus Dammconfig SH_TIMER_CMT 523fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 52411bc26feSRichard Weinberger depends on HAS_IOMEM 525fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 526fd3f1270SMagnus Damm help 527fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 528fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 529fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 530fd3f1270SMagnus Damm 531fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 532fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 53311bc26feSRichard Weinberger depends on HAS_IOMEM 534fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 535fd3f1270SMagnus Damm help 536fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 5377e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 53806293463SRandy Dunlap This hardware comes with 16-bit timer registers. 539fd3f1270SMagnus Damm 540fb6002a8SChris Brandtconfig RENESAS_OSTM 541a2807f65SBiju Das bool "Renesas OSTM timer driver" 542a2807f65SBiju Das depends on ARCH_RENESAS || COMPILE_TEST 543fb6002a8SChris Brandt select CLKSRC_MMIO 54422731423SGeert Uytterhoeven select TIMER_OF 545fb6002a8SChris Brandt help 546fb6002a8SChris Brandt Enables the support for the Renesas OSTM. 547fb6002a8SChris Brandt 548fd3f1270SMagnus Dammconfig SH_TIMER_TMU 549fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 55011bc26feSRichard Weinberger depends on HAS_IOMEM 551fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 552fd3f1270SMagnus Damm help 553fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 554fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 555fd3f1270SMagnus Damm SoCs from Renesas. 556fd3f1270SMagnus Damm 557fd3f1270SMagnus Dammconfig EM_TIMER_STI 558fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 5592f8a26c1SArnd Bergmann depends on HAS_IOMEM 560fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 561fd3f1270SMagnus Damm help 562fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 563fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 564fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 565dfc25e45SLinus Torvalds 5663f8e8ceeSKumar Galaconfig CLKSRC_QCOM 5673dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 5683dc0e9f6SDaniel Lezcano depends on ARM 569bb0eb050SDaniel Lezcano select TIMER_OF 5703dc0e9f6SDaniel Lezcano help 5713dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 5723dc0e9f6SDaniel Lezcano Qualcomm SoCs. 573220e2a8dSPawel Moll 574220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 5755cc87a4dSDaniel Lezcano bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 57677f6c0b8SArnd Bergmann depends on GENERIC_SCHED_CLOCK 577bb0eb050SDaniel Lezcano select TIMER_OF 578bfed0edeSRob Herring default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM 579220e2a8dSPawel Moll help 580220e2a8dSPawel Moll This option enables clock source based on free running 581220e2a8dSPawel Moll counter available in the "System Registers" block of 582bfed0edeSRob Herring ARM Versatile and Versatile Express reference platforms. 58358394271SJean Delvare 584fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 585fa5635a2SAndrew Bresticker bool 586fa5635a2SAndrew Bresticker depends on MIPS_GIC 5877d7de1a6SSerge Semin select CLOCKSOURCE_WATCHDOG 588bb0eb050SDaniel Lezcano select TIMER_OF 589fa5635a2SAndrew Bresticker 590e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 5915ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 592d7023e62SRichard Weinberger depends on HAS_IOMEM 5935ae996cbSDaniel Lezcano select CLKSRC_MMIO 594e074ff86SDmitry Eremin-Solenikov help 595e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 596e074ff86SDmitry Eremin-Solenikov platforms. 597618b902dSYoshinori Sato 598bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 599bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 6002f4574ddSArnd Bergmann depends on (ARM || ARM64) && HAVE_CLK 601bea5af41SShawn Guo select CLKSRC_MMIO 602bea5af41SShawn Guo 603059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM 604059ab7b8SDong Aisheng bool "Clocksource using i.MX TPM" if COMPILE_TEST 6052f4574ddSArnd Bergmann depends on (ARM || ARM64) && HAVE_CLK 606059ab7b8SDong Aisheng select CLKSRC_MMIO 607a6d0812aSAnson Huang select TIMER_OF 608059ab7b8SDong Aisheng help 609059ab7b8SDong Aisheng Enable this option to use IMX Timer/PWM Module (TPM) timer as 610059ab7b8SDong Aisheng clocksource. 611059ab7b8SDong Aisheng 6127117a44bSBai Pingconfig TIMER_IMX_SYS_CTR 6137117a44bSBai Ping bool "i.MX system counter timer" if COMPILE_TEST 6147117a44bSBai Ping select TIMER_OF 6157117a44bSBai Ping help 6167117a44bSBai Ping Enable this option to use i.MX system counter timer as a 6177117a44bSBai Ping clockevent. 6187117a44bSBai Ping 619e738521aSKeguang Zhangconfig CLKSRC_LOONGSON1_PWM 620e738521aSKeguang Zhang bool "Clocksource using Loongson1 PWM" 621e738521aSKeguang Zhang depends on MACH_LOONGSON32 || COMPILE_TEST 622e738521aSKeguang Zhang select MIPS_EXTERNAL_TIMER 623e738521aSKeguang Zhang select TIMER_OF 624e738521aSKeguang Zhang help 625e738521aSKeguang Zhang Enable this option to use Loongson1 PWM timer as clocksource 626e738521aSKeguang Zhang instead of the performance counter. 627e738521aSKeguang Zhang 62870bef01cSLee Jonesconfig CLKSRC_ST_LPC 629baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 630bb0eb050SDaniel Lezcano select TIMER_OF if OF 631863ee050SRichard Weinberger depends on HAS_IOMEM 6322be6d9bfSArnd Bergmann select CLKSRC_MMIO 63370bef01cSLee Jones help 63470bef01cSLee Jones Enable this option to use the Low Power controller timer 63570bef01cSLee Jones as clocksource. 63670bef01cSLee Jones 6375184f4bfSNick Hawkinsconfig GXP_TIMER 6385184f4bfSNick Hawkins bool "GXP timer driver" if COMPILE_TEST && !ARCH_HPE 6395184f4bfSNick Hawkins default ARCH_HPE 6405184f4bfSNick Hawkins select TIMER_OF if OF 6415184f4bfSNick Hawkins help 6425184f4bfSNick Hawkins Provides a driver for the timer control found on HPE 6435184f4bfSNick Hawkins GXP SOCs. This is required for all GXP SOCs. 6445184f4bfSNick Hawkins 64562b01943SPalmer Dabbeltconfig RISCV_TIMER 6462bc3fc87SAnup Patel bool "Timer for the RISC-V platform" if COMPILE_TEST 647ab310544SKefeng Wang depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI 64862b01943SPalmer Dabbelt select TIMER_PROBE 64962b01943SPalmer Dabbelt select TIMER_OF 65062b01943SPalmer Dabbelt help 65162b01943SPalmer Dabbelt This enables the per-hart timer built into all RISC-V systems, which 65262b01943SPalmer Dabbelt is accessed via both the SBI and the rdcycle instruction. This is 65362b01943SPalmer Dabbelt required for all RISC-V systems. 65462b01943SPalmer Dabbelt 6552ac6795fSAnup Patelconfig CLINT_TIMER 6562ac6795fSAnup Patel bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST 6572ac6795fSAnup Patel depends on GENERIC_SCHED_CLOCK && RISCV 6582ac6795fSAnup Patel select TIMER_PROBE 6592ac6795fSAnup Patel select TIMER_OF 6602ac6795fSAnup Patel help 6612ac6795fSAnup Patel This option enables the CLINT timer for RISC-V systems. The CLINT 6622ac6795fSAnup Patel driver is usually used for NoMMU RISC-V systems. 6632ac6795fSAnup Patel 664a7ad38b0SGuo Renconfig CSKY_MP_TIMER 665a7ad38b0SGuo Ren bool "SMP Timer for the C-SKY platform" if COMPILE_TEST 666a7ad38b0SGuo Ren depends on CSKY 667a7ad38b0SGuo Ren select TIMER_OF 668a7ad38b0SGuo Ren help 669a7ad38b0SGuo Ren Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP 670a7ad38b0SGuo Ren system. 67106293463SRandy Dunlap csky,mptimer is not only used in SMP system, it also could be used in 67206293463SRandy Dunlap single core system. It's not a mmio reg and it uses mtcr/mfcr instruction. 673a7ad38b0SGuo Ren 67433745c3cSGuo Renconfig GX6605S_TIMER 67533745c3cSGuo Ren bool "Gx6605s SOC system timer driver" if COMPILE_TEST 67633745c3cSGuo Ren depends on CSKY 67733745c3cSGuo Ren select CLKSRC_MMIO 67833745c3cSGuo Ren select TIMER_OF 67933745c3cSGuo Ren help 68033745c3cSGuo Ren This option enables support for gx6605s SOC's timer. 68133745c3cSGuo Ren 682b58f28f3SSugaya Taichiconfig MILBEAUT_TIMER 683b58f28f3SSugaya Taichi bool "Milbeaut timer driver" if COMPILE_TEST 684b58f28f3SSugaya Taichi depends on OF 685b58f28f3SSugaya Taichi depends on ARM 686b58f28f3SSugaya Taichi select TIMER_OF 687b58f28f3SSugaya Taichi select CLKSRC_MMIO 688b58f28f3SSugaya Taichi help 689b58f28f3SSugaya Taichi Enables the support for Milbeaut timer driver. 690b58f28f3SSugaya Taichi 6915fc1f93fSRomain Perierconfig MSC313E_TIMER 6925fc1f93fSRomain Perier bool "MSC313E timer driver" if COMPILE_TEST 6935fc1f93fSRomain Perier select TIMER_OF 6945fc1f93fSRomain Perier select CLKSRC_MMIO 6955fc1f93fSRomain Perier help 6965fc1f93fSRomain Perier Enables support for the MStar MSC313E timer driver. 6975fc1f93fSRomain Perier This provides access to multiple interrupt generating 6985fc1f93fSRomain Perier programmable 32-bit free running incrementing counters. 6995fc1f93fSRomain Perier 70034e93683SPaul Cercueilconfig INGENIC_TIMER 70134e93683SPaul Cercueil bool "Clocksource/timer using the TCU in Ingenic JZ SoCs" 70234e93683SPaul Cercueil default MACH_INGENIC 70334e93683SPaul Cercueil depends on MIPS || COMPILE_TEST 70434e93683SPaul Cercueil depends on COMMON_CLK 70534e93683SPaul Cercueil select MFD_SYSCON 70634e93683SPaul Cercueil select TIMER_OF 70734e93683SPaul Cercueil select IRQ_DOMAIN 70834e93683SPaul Cercueil help 70934e93683SPaul Cercueil Support for the timer/counter unit of the Ingenic JZ SoCs. 71034e93683SPaul Cercueil 7115ecafc12S周琰杰 (Zhou Yanjie)config INGENIC_SYSOST 7125ecafc12S周琰杰 (Zhou Yanjie) bool "Clocksource/timer using the SYSOST in Ingenic X SoCs" 7135ecafc12S周琰杰 (Zhou Yanjie) depends on MIPS || COMPILE_TEST 7145ecafc12S周琰杰 (Zhou Yanjie) depends on COMMON_CLK 7155ecafc12S周琰杰 (Zhou Yanjie) select MFD_SYSCON 7165ecafc12S周琰杰 (Zhou Yanjie) select TIMER_OF 7175ecafc12S周琰杰 (Zhou Yanjie) select IRQ_DOMAIN 7185ecafc12S周琰杰 (Zhou Yanjie) help 7195ecafc12S周琰杰 (Zhou Yanjie) Support for the SYSOST of the Ingenic X Series SoCs. 7205ecafc12S周琰杰 (Zhou Yanjie) 721ca7b72b5SMaarten ter Huurneconfig INGENIC_OST 7225ecafc12S周琰杰 (Zhou Yanjie) bool "Clocksource using the OST in Ingenic JZ SoCs" 723ca7b72b5SMaarten ter Huurne depends on MIPS || COMPILE_TEST 724ca7b72b5SMaarten ter Huurne depends on COMMON_CLK 725ca7b72b5SMaarten ter Huurne select MFD_SYSCON 726ca7b72b5SMaarten ter Huurne help 727ca7b72b5SMaarten ter Huurne Support for the Operating System Timer of the Ingenic JZ SoCs. 728ca7b72b5SMaarten ter Huurne 729625022a5SClaudiu Bezneaconfig MICROCHIP_PIT64B 730625022a5SClaudiu Beznea bool "Microchip PIT64B support" 731d19c8b2eSClaudiu Beznea depends on OF && ARM 73225259f7aSMichael Ellerman select TIMER_OF 733625022a5SClaudiu Beznea help 734625022a5SClaudiu Beznea This option enables Microchip PIT64B timer for Atmel 735625022a5SClaudiu Beznea based system. It supports the oneshot, the periodic 736625022a5SClaudiu Beznea modes and high resolution. It is used as a clocksource 737625022a5SClaudiu Beznea and a clockevent. 738625022a5SClaudiu Beznea 739c92e7ef1SLaurent Vivierconfig GOLDFISH_TIMER 740c92e7ef1SLaurent Vivier bool "Clocksource using goldfish-rtc" 741c92e7ef1SLaurent Vivier depends on M68K || COMPILE_TEST 742c92e7ef1SLaurent Vivier depends on RTC_DRV_GOLDFISH 743c92e7ef1SLaurent Vivier help 744c92e7ef1SLaurent Vivier Support for the timer/counter of goldfish-rtc 745c92e7ef1SLaurent Vivier 746c28ca80bSNikita Shubinconfig EP93XX_TIMER 747c28ca80bSNikita Shubin bool "Cirrus Logic ep93xx timer driver" if COMPILE_TEST 748c28ca80bSNikita Shubin depends on ARCH_EP93XX 749c28ca80bSNikita Shubin depends on GENERIC_CLOCKEVENTS 750c28ca80bSNikita Shubin depends on HAS_IOMEM 751c28ca80bSNikita Shubin select CLKSRC_MMIO 752c28ca80bSNikita Shubin select TIMER_OF 753c28ca80bSNikita Shubin help 754c28ca80bSNikita Shubin Enables support for the Cirrus Logic timer block 755c28ca80bSNikita Shubin EP93XX. 756c28ca80bSNikita Shubin 757*cd537561SSergio Paracuellosconfig RALINK_TIMER 758*cd537561SSergio Paracuellos bool "Ralink System Tick Counter" 759*cd537561SSergio Paracuellos depends on SOC_RT305X || SOC_MT7620 || COMPILE_TEST 760*cd537561SSergio Paracuellos select CLKSRC_MMIO 761*cd537561SSergio Paracuellos select TIMER_OF 762*cd537561SSergio Paracuellos help 763*cd537561SSergio Paracuellos Enables support for system tick counter present on 764*cd537561SSergio Paracuellos Ralink SoCs RT3352 and MT7620. 765*cd537561SSergio Paracuellos 76658394271SJean Delvareendmenu 767