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 763b4c33acSCaleb James DeLisleconfig ECONET_EN751221_TIMER 773b4c33acSCaleb James DeLisle bool "EcoNet EN751221 High Precision Timer" if COMPILE_TEST 783b4c33acSCaleb James DeLisle depends on HAS_IOMEM 793b4c33acSCaleb James DeLisle select CLKSRC_MMIO 803b4c33acSCaleb James DeLisle select TIMER_OF 813b4c33acSCaleb James DeLisle help 823b4c33acSCaleb James DeLisle Support for CPU timer found on EcoNet MIPS based SoCs. 833b4c33acSCaleb James DeLisle 84f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER 85f5bf0ee4SLinus Walleij bool "Faraday Technology timer driver" if COMPILE_TEST 864750535bSLinus Walleij depends on HAS_IOMEM 874750535bSLinus Walleij select CLKSRC_MMIO 88bb0eb050SDaniel Lezcano select TIMER_OF 894750535bSLinus Walleij select MFD_SYSCON 904750535bSLinus Walleij help 91f5bf0ee4SLinus Walleij Enables support for the Faraday Technology timer block 92f5bf0ee4SLinus Walleij FTTMR010. 934750535bSLinus Walleij 9413e0b405SLinus Walleijconfig IXP4XX_TIMER 9513e0b405SLinus Walleij bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST 9613e0b405SLinus Walleij depends on HAS_IOMEM 9713e0b405SLinus Walleij select CLKSRC_MMIO 9841929c9fSLinus Walleij select TIMER_OF 9913e0b405SLinus Walleij help 10013e0b405SLinus Walleij Enables support for the Intel XScale IXP4xx SoC timer. 10113e0b405SLinus Walleij 102468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 10340ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 10440ada2aaSDaniel Lezcano depends on ARM || ARM64 105bb0eb050SDaniel Lezcano select TIMER_OF 1065e0a39d0SAlexander Kochetkov select CLKSRC_MMIO 10740ada2aaSDaniel Lezcano help 10806293463SRandy Dunlap Enables the support for the Rockchip timer driver. 109468b8c4cSDaniel Lezcano 1106fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 1119519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 1129519e80cSDaniel Lezcano depends on ARM 113bb0eb050SDaniel Lezcano select TIMER_OF 1142be6d9bfSArnd Bergmann select CLKSRC_MMIO 1159519e80cSDaniel Lezcano help 1169519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 1176fe9cbd1SGregory CLEMENT 118e4a6b378SCarlo Caioneconfig MESON6_TIMER 1190b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 1207b6b0a45SBeniamino Galvani select CLKSRC_MMIO 1210b7a7bb7SDaniel Lezcano help 1220b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 123e4a6b378SCarlo Caione 1240c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 125c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 126c9165549SDaniel Lezcano depends on ARM 127bb0eb050SDaniel Lezcano select TIMER_OF 1280c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 129c9165549SDaniel Lezcano help 130c9165549SDaniel Lezcano Enables the support for the Orion timer driver 1310c1dcfd5SSebastian Hesselbarth 1324be78a86SAndreas Färberconfig OWL_TIMER 1334be78a86SAndreas Färber bool "Owl timer driver" if COMPILE_TEST 1344be78a86SAndreas Färber select CLKSRC_MMIO 1354be78a86SAndreas Färber help 1364be78a86SAndreas Färber Enables the support for the Actions Semi Owl timer driver. 1374be78a86SAndreas Färber 1387f83a132SManivannan Sadhasivamconfig RDA_TIMER 1397f83a132SManivannan Sadhasivam bool "RDA timer driver" if COMPILE_TEST 1407f83a132SManivannan Sadhasivam select CLKSRC_MMIO 1417f83a132SManivannan Sadhasivam select TIMER_OF 1427f83a132SManivannan Sadhasivam help 1437f83a132SManivannan Sadhasivam Enables the support for the RDA Micro timer driver. 1447f83a132SManivannan Sadhasivam 1454bdc3eaaSChris Packhamconfig REALTEK_OTTO_TIMER 1464bdc3eaaSChris Packham bool "Clocksource/timer for the Realtek Otto platform" if COMPILE_TEST 1474bdc3eaaSChris Packham select TIMER_OF 1484bdc3eaaSChris Packham help 1494bdc3eaaSChris Packham This driver adds support for the timers found in the Realtek RTL83xx 1504bdc3eaaSChris Packham and RTL93xx SoCs series. This includes chips such as RTL8380, RTL8381 1514bdc3eaaSChris Packham and RTL832, as well as chips from the RTL839x series, such as RTL8390 1524bdc3eaaSChris Packham RT8391, RTL8392, RTL8393 and RTL8396 and chips of the RTL930x series 1534bdc3eaaSChris Packham such as RTL9301, RTL9302 or RTL9303. 1544bdc3eaaSChris Packham 155119fd635SMaxime Ripardconfig SUN4I_TIMER 156b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 157d7023e62SRichard Weinberger depends on HAS_IOMEM 15871c568c0SMaxime Ripard select CLKSRC_MMIO 159239751edSDaniel Lezcano select TIMER_OF 160b4fcd48bSDaniel Lezcano help 161b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 162b2ac5d75SMaxime Ripard 16367905540SMaxime Ripardconfig SUN5I_HSTIMER 164f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 16567905540SMaxime Ripard select CLKSRC_MMIO 166f0c5afb7SDaniel Lezcano depends on COMMON_CLK 167f0c5afb7SDaniel Lezcano help 168f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 16967905540SMaxime Ripard 170910978e7SThierry Redingconfig TEGRA_TIMER 171adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1722be6d9bfSArnd Bergmann select CLKSRC_MMIO 173b4822dc7SJoseph Lo select TIMER_OF 174acb4bb3fSDmitry Osipenko depends on ARCH_TEGRA || COMPILE_TEST 175adce4bc8SDaniel Lezcano help 176adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 177910978e7SThierry Reding 17842cee19aSThierry Redingconfig TEGRA186_TIMER 179110a2535SDaniel Lezcano bool "NVIDIA Tegra186 timer driver" 18042cee19aSThierry Reding depends on ARCH_TEGRA || COMPILE_TEST 18142cee19aSThierry Reding depends on WATCHDOG && WATCHDOG_CORE 18242cee19aSThierry Reding help 18342cee19aSThierry Reding Enables support for the timers and watchdogs found on NVIDIA 18442cee19aSThierry Reding Tegra186 and later SoCs. 18542cee19aSThierry Reding 186ff7ec345STony Priskconfig VT8500_TIMER 187b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 188d7023e62SRichard Weinberger depends on HAS_IOMEM 189b4bdf7efSDaniel Lezcano help 190b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 191ff7ec345STony Prisk 1921c00289eSTomer Maimonconfig NPCM7XX_TIMER 1931c00289eSTomer Maimon bool "NPCM7xx timer driver" if COMPILE_TEST 1941c00289eSTomer Maimon depends on HAS_IOMEM 19599834eeaSArnd Bergmann select TIMER_OF 1961c00289eSTomer Maimon select CLKSRC_MMIO 1971c00289eSTomer Maimon help 1981c00289eSTomer Maimon Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 19906293463SRandy Dunlap where TIMER0 serves as clockevent and TIMER1 serves as clocksource. 2001c00289eSTomer Maimon 2014f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 20257f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 20357f49318SDaniel Lezcano depends on COMMON_CLK 20457f49318SDaniel Lezcano help 20506293463SRandy Dunlap Enables support for the Cadence TTC driver. 2064f0f234fSMichal Simek 207a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 208b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 209a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 210bb0eb050SDaniel Lezcano select TIMER_OF 211b9755841SDaniel Lezcano help 212b9755841SDaniel Lezcano Enables support for the ASM9260 timer. 213a8b1b9fcSDaniel Lezcano 214694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 21570329653SDaniel Lezcano bool "Nomakdik clocksource driver" if COMPILE_TEST 21670329653SDaniel Lezcano depends on ARM 217694e33a7SLinus Walleij select CLKSRC_MMIO 218694e33a7SLinus Walleij help 219694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 220694e33a7SLinus Walleij to multiple interrupt generating programmable 221694e33a7SLinus Walleij 32-bit free running decrementing counters. 222694e33a7SLinus Walleij 223489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 2241becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 225d7023e62SRichard Weinberger depends on HAS_IOMEM 226489bcceaSMattias Wallin help 22706293463SRandy Dunlap Use the always on PRCMU Timer as clocksource. 228489bcceaSMattias Wallin 229ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 23006293463SRandy Dunlap bool "Cirrus Logic timer driver" if COMPILE_TEST 231ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 232ecf0efdcSDaniel Lezcano help 233ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 234ecf0efdcSDaniel Lezcano 235d81c50a0SDaniel Lezcanoconfig MXS_TIMER 23606293463SRandy Dunlap bool "MXS timer driver" if COMPILE_TEST 237d81c50a0SDaniel Lezcano select CLKSRC_MMIO 238d81c50a0SDaniel Lezcano select STMP_DEVICE 239d81c50a0SDaniel Lezcano help 24006293463SRandy Dunlap Enables support for the MXS timer. 241d81c50a0SDaniel Lezcano 242d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 243d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 244d683b9dcSDaniel Lezcano select CLKSRC_MMIO 245d683b9dcSDaniel Lezcano help 246d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 247d683b9dcSDaniel Lezcano 248c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 249c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 250c12547a0SDaniel Lezcano depends on ARM || ARM64 251c12547a0SDaniel Lezcano select CLKSRC_MMIO 252c12547a0SDaniel Lezcano help 253c12547a0SDaniel Lezcano Enables support for the Keystone timer. 254c12547a0SDaniel Lezcano 255568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER 25606293463SRandy Dunlap bool "Integrator-AP timer driver" if COMPILE_TEST 257568c0342SDaniel Lezcano select CLKSRC_MMIO 258568c0342SDaniel Lezcano help 25906293463SRandy Dunlap Enables support for the Integrator-AP timer. 260568c0342SDaniel Lezcano 261050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 262ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 2632f8a26c1SArnd Bergmann depends on HAS_IOMEM 2641b18fd20SEzequiel Garcia depends on ARM 265050dd322SJoachim Eastwood select CLKSRC_MMIO 266bb0eb050SDaniel Lezcano select TIMER_OF 267ddcf48c7SDaniel Lezcano help 268ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 269050dd322SJoachim Eastwood 27084583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 2711e4fd60bSJiaxun Yang bool "Clocksource for Pistachio SoC" 2722f8a26c1SArnd Bergmann depends on HAS_IOMEM 2731e4fd60bSJiaxun Yang depends on MIPS || COMPILE_TEST 274bb0eb050SDaniel Lezcano select TIMER_OF 275dfdb1652SDaniel Lezcano help 276dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 27784583983SEzequiel Garcia 278fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 279fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 280dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 281bb0eb050SDaniel Lezcano select TIMER_OF if OF 282fe851f56SFelipe Balbi help 283fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 284fe851f56SFelipe Balbi available on many OMAP-like platforms. 285fe851f56SFelipe Balbi 286e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2871cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2881cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 289e37e4593SMaxime Coquelin select CLKSRC_MMIO 290d04af490SBenjamin Gaignard select TIMER_OF 291e37e4593SMaxime Coquelin 29248b41c5eSBenjamin Gaignardconfig CLKSRC_STM32_LP 29348b41c5eSBenjamin Gaignard bool "Low power clocksource for STM32 SoCs" 29448b41c5eSBenjamin Gaignard depends on MFD_STM32_LPTIMER || COMPILE_TEST 29548b41c5eSBenjamin Gaignard 2960302637fSVladimir Murzinconfig CLKSRC_MPS2 2970302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2980302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2990302637fSVladimir Murzin select CLKSRC_MMIO 300bb0eb050SDaniel Lezcano select TIMER_OF 3010302637fSVladimir Murzin 302c4c9a040SVineet Guptaconfig ARC_TIMERS 303c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 304bf287607SAlexey Brodkin depends on GENERIC_SCHED_CLOCK 305bb0eb050SDaniel Lezcano select TIMER_OF 306c4c9a040SVineet Gupta help 307c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 308c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 30906293463SRandy Dunlap TIMER0 serves as clockevent while TIMER1 provides clocksource. 310c4c9a040SVineet Gupta 311c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 312c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 313c4c9a040SVineet Gupta depends on ARC_TIMERS 314bb0eb050SDaniel Lezcano select TIMER_OF 315c4c9a040SVineet Gupta help 31606293463SRandy Dunlap This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP). 317c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 318c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 319c4c9a040SVineet Gupta as appropriate. 320c4c9a040SVineet Gupta 3218a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 3228a4da6e3SMark Rutland bool 323bb0eb050SDaniel Lezcano select TIMER_OF if OF 324fa1bffabSDaniel Lezcano select TIMER_ACPI if ACPI 325a2c5d4edSJames Hogan 326037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 32746fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 328037f6377SWill Deacon default y if ARM_ARCH_TIMER 32977f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 330037f6377SWill Deacon help 33146fd5c6bSWill Deacon This option enables support by default for event stream generation 33246fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 33346fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 33446fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 33546fd5c6bSWill Deacon overridden on the command line using the 33646fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 337037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 338037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 339037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 340037f6377SWill Deacon event is not generated. 341037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 342037f6377SWill Deacon hardware anomalies of missing events. 343037f6377SWill Deacon 34416d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND 34516d10ef2SDing Tianhong bool 34616d10ef2SDing Tianhong 347f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 348f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 349f6dc1576SScott Wood default y 350f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 35116d10ef2SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 352f6dc1576SScott Wood help 353f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 354f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 355f6dc1576SScott Wood value"). The workaround will only be active if the 356f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 357f6dc1576SScott Wood 358bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101 359bb42ca47SDing Tianhong bool "Workaround for Hisilicon Erratum 161010101" 360bb42ca47SDing Tianhong default y 361bb42ca47SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 362bb42ca47SDing Tianhong depends on ARM_ARCH_TIMER && ARM64 363bb42ca47SDing Tianhong help 364bb42ca47SDing Tianhong This option enables a workaround for Hisilicon Erratum 365bb42ca47SDing Tianhong 161010101. The workaround will be active if the hisilicon,erratum-161010101 366bb42ca47SDing Tianhong property is found in the timer node. 367bb42ca47SDing Tianhong 368fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921 369fa8d815fSMarc Zyngier bool "Workaround for Cortex-A73 erratum 858921" 370fa8d815fSMarc Zyngier default y 371fa8d815fSMarc Zyngier select ARM_ARCH_TIMER_OOL_WORKAROUND 372fa8d815fSMarc Zyngier depends on ARM_ARCH_TIMER && ARM64 373fa8d815fSMarc Zyngier help 374fa8d815fSMarc Zyngier This option enables a workaround applicable to Cortex-A73 375fa8d815fSMarc Zyngier (all versions), whose counter may return incorrect values. 376fa8d815fSMarc Zyngier The workaround will be dynamically enabled when an affected 377fa8d815fSMarc Zyngier core is detected. 378fa8d815fSMarc Zyngier 379c950ca8cSSamuel Hollandconfig SUN50I_ERRATUM_UNKNOWN1 380c950ca8cSSamuel Holland bool "Workaround for Allwinner A64 erratum UNKNOWN1" 381c950ca8cSSamuel Holland default y 382c950ca8cSSamuel Holland depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI 383c950ca8cSSamuel Holland select ARM_ARCH_TIMER_OOL_WORKAROUND 384c950ca8cSSamuel Holland help 385c950ca8cSSamuel Holland This option enables a workaround for instability in the timer on 386c950ca8cSSamuel Holland the Allwinner A64 SoC. The workaround will only be active if the 387c950ca8cSSamuel Holland allwinner,erratum-unknown1 property is found in the timer node. 388c950ca8cSSamuel Holland 389c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 39067a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 391bb0eb050SDaniel Lezcano select TIMER_OF if OF 39267a87a43SDaniel Lezcano depends on ARM 393c1b40e44SStuart Menefy help 39406293463SRandy Dunlap This option enables support for the ARM global timer unit. 395c1b40e44SStuart Menefy 396171b45a4SAndrea Merelloconfig ARM_GT_INITIAL_PRESCALER_VAL 397171b45a4SAndrea Merello int "ARM global timer initial prescaler value" 398*1c4b87c9SMarkus Schneider-Pargmann default 0 399171b45a4SAndrea Merello depends on ARM_GLOBAL_TIMER 400171b45a4SAndrea Merello help 401171b45a4SAndrea Merello When the ARM global timer initializes, its current rate is declared 4026f6f3e31SRandy Dunlap to the kernel and maintained forever. Should its parent clock 403171b45a4SAndrea Merello change, the driver tries to fix the timer's internal prescaler. 404171b45a4SAndrea Merello On some machs (i.e. Zynq) the initial prescaler value thus poses 405171b45a4SAndrea Merello bounds about how much the parent clock is allowed to decrease or 406171b45a4SAndrea Merello increase wrt the initial clock value. 407171b45a4SAndrea Merello This affects CPU_FREQ max delta from the initial frequency. 408*1c4b87c9SMarkus Schneider-Pargmann Use 0 to use auto-detection in the driver. 409171b45a4SAndrea Merello 4100b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 4110309f714SMark Brown bool "Support for Dual Timer SP804 module" 4120309f714SMark Brown depends on ARM || ARM64 || COMPILE_TEST 4132f4574ddSArnd Bergmann depends on GENERIC_SCHED_CLOCK && HAVE_CLK 4140b7402dcSSudeep Holla select CLKSRC_MMIO 415bb0eb050SDaniel Lezcano select TIMER_OF if OF 4160b7402dcSSudeep Holla 417c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 418c1b40e44SStuart Menefy bool 419c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 420c1b40e44SStuart Menefy default y 421c1b40e44SStuart Menefy help 42206293463SRandy Dunlap Use ARM global timer clock source as sched_clock. 423c1b40e44SStuart Menefy 4244958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 425e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 426bb0eb050SDaniel Lezcano select TIMER_OF if OF 4274958ebb3SMaxime Coquelin select CLKSRC_MMIO 4284958ebb3SMaxime Coquelin help 42906293463SRandy Dunlap This option enables support for the ARMv7M system timer unit. 4304958ebb3SMaxime Coquelin 431b052ff30SMaxime Ripardconfig ATMEL_PIT 4322f982703SAlexandre Belloni bool "Atmel PIT support" if COMPILE_TEST 4332f982703SAlexandre Belloni depends on HAS_IOMEM 434bb0eb050SDaniel Lezcano select TIMER_OF if OF 4352f982703SAlexandre Belloni help 4362f982703SAlexandre Belloni Support for the Periodic Interval Timer found on Atmel SoCs. 437b052ff30SMaxime Ripard 438b53cdd03SAlexandre Belloniconfig ATMEL_ST 439b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 440bd2746f0SMasahiro Yamada depends on HAS_IOMEM 441bb0eb050SDaniel Lezcano select TIMER_OF 4427ab7ef74SAlexandre Belloni select MFD_SYSCON 443b988d3f0SDaniel Lezcano help 444b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 445b53cdd03SAlexandre Belloni 4466275f494SAlexandre Belloniconfig ATMEL_TCB_CLKSRC 4476275f494SAlexandre Belloni bool "Atmel TC Block timer driver" if COMPILE_TEST 448b8239054SArnd Bergmann depends on ARM && OF && HAS_IOMEM 449b8239054SArnd Bergmann select TIMER_OF 4506275f494SAlexandre Belloni help 4516275f494SAlexandre Belloni Support for Timer Counter Blocks on Atmel SoCs. 4526275f494SAlexandre Belloni 4536938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 45439366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 455f1a4c1f3SChanwoo Choi depends on ARM || ARM64 45655ccdab7SVincent Whitchurch depends on ARCH_ARTPEC || ARCH_EXYNOS || COMPILE_TEST 4576938d75aSThomas Abraham help 4586938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 459241a9871SArnd Bergmann 460f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 461de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 462d7023e62SRichard Weinberger depends on HAS_IOMEM 4631ea35b35SArnd Bergmann depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST 464f1189989STomasz Figa help 465f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 466f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 467f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 468f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 469c1967249SJingchang Lu 4702529c3a3SXiubo Liconfig FSL_FTM_TIMER 471ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 472d7023e62SRichard Weinberger depends on HAS_IOMEM 47303724ac3SDaniel Lezcano select CLKSRC_MMIO 4742529c3a3SXiubo Li help 4752529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4762529c3a3SXiubo Li 477fc346a15SDaniel Lezcanoconfig NXP_PIT_TIMER 478fc346a15SDaniel Lezcano bool "NXP Periodic Interrupt Timer" if COMPILE_TEST 4792be6d9bfSArnd Bergmann select CLKSRC_MMIO 480c1967249SJingchang Lu help 481fc346a15SDaniel Lezcano Support for Periodic Interrupt Timer on Freescale / NXP 482fc346a15SDaniel Lezcano SoCs. This periodic timer is found on the Vybrid Family and 483fc346a15SDaniel Lezcano the Automotive S32G2/3 platforms. It contains 4 channels 484fc346a15SDaniel Lezcano where two can be coupled to form a 64 bits channel. 485fd3f1270SMagnus Damm 486fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 487fd3f1270SMagnus Damm bool 488fd3f1270SMagnus Damm 489ecb3530dSMatthias Bruggerconfig MTK_TIMER 490fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 4912f8a26c1SArnd Bergmann depends on HAS_IOMEM 492bb0eb050SDaniel Lezcano select TIMER_OF 493ecb3530dSMatthias Brugger select CLKSRC_MMIO 494fbca9eabSDaniel Lezcano help 495fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 496ecb3530dSMatthias Brugger 49749d576eaSAngeloGioacchino Del Regnoconfig MTK_CPUX_TIMER 49849d576eaSAngeloGioacchino Del Regno bool "MediaTek CPUX timer driver" if COMPILE_TEST 49949d576eaSAngeloGioacchino Del Regno depends on HAS_IOMEM 50049d576eaSAngeloGioacchino Del Regno default ARCH_MEDIATEK 50149d576eaSAngeloGioacchino Del Regno select TIMER_OF 50249d576eaSAngeloGioacchino Del Regno select CLKSRC_MMIO 50349d576eaSAngeloGioacchino Del Regno help 50449d576eaSAngeloGioacchino Del Regno Support for MediaTek CPUXGPT timer driver. 50549d576eaSAngeloGioacchino Del Regno 506067bc914SBaolin Wangconfig SPRD_TIMER 5078a1ece26SChunyan Zhang bool "Spreadtrum timer driver" if EXPERT 508067bc914SBaolin Wang depends on HAS_IOMEM 5098a1ece26SChunyan Zhang depends on (ARCH_SPRD || COMPILE_TEST) 5108a1ece26SChunyan Zhang default ARCH_SPRD 511067bc914SBaolin Wang select TIMER_OF 512067bc914SBaolin Wang help 513067bc914SBaolin Wang Enables support for the Spreadtrum timer driver. 514067bc914SBaolin Wang 515fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 516fd3f1270SMagnus Damm bool 517fd3f1270SMagnus Damm 518fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 519fd3f1270SMagnus Damm bool 520fd3f1270SMagnus Damm 521fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 522fd3f1270SMagnus Damm bool 523fd3f1270SMagnus Damm 5249995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 5259995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 5269995f4f1SRich Felker depends on OF 5279995f4f1SRich Felker depends on HAS_IOMEM 5289995f4f1SRich Felker select CLKSRC_MMIO 5299995f4f1SRich Felker help 5309995f4f1SRich Felker This enables build of clocksource and clockevent driver for 5319995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 5329995f4f1SRich Felker 533fd3f1270SMagnus Dammconfig SH_TIMER_CMT 534fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 53511bc26feSRichard Weinberger depends on HAS_IOMEM 536fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 537fd3f1270SMagnus Damm help 538fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 539fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 540fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 541fd3f1270SMagnus Damm 542fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 543fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 54411bc26feSRichard Weinberger depends on HAS_IOMEM 545fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 546fd3f1270SMagnus Damm help 547fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 5487e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 54906293463SRandy Dunlap This hardware comes with 16-bit timer registers. 550fd3f1270SMagnus Damm 551fb6002a8SChris Brandtconfig RENESAS_OSTM 552a2807f65SBiju Das bool "Renesas OSTM timer driver" 553a2807f65SBiju Das depends on ARCH_RENESAS || COMPILE_TEST 554fb6002a8SChris Brandt select CLKSRC_MMIO 55522731423SGeert Uytterhoeven select TIMER_OF 556fb6002a8SChris Brandt help 557fb6002a8SChris Brandt Enables the support for the Renesas OSTM. 558fb6002a8SChris Brandt 559fd3f1270SMagnus Dammconfig SH_TIMER_TMU 560fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 56111bc26feSRichard Weinberger depends on HAS_IOMEM 562fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 563fd3f1270SMagnus Damm help 564fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 565fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 566fd3f1270SMagnus Damm SoCs from Renesas. 567fd3f1270SMagnus Damm 568fd3f1270SMagnus Dammconfig EM_TIMER_STI 569fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 5702f8a26c1SArnd Bergmann depends on HAS_IOMEM 571fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 572fd3f1270SMagnus Damm help 573fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 574fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 575fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 576dfc25e45SLinus Torvalds 5773f8e8ceeSKumar Galaconfig CLKSRC_QCOM 5783dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 5793dc0e9f6SDaniel Lezcano depends on ARM 580bb0eb050SDaniel Lezcano select TIMER_OF 5813dc0e9f6SDaniel Lezcano help 5823dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 5833dc0e9f6SDaniel Lezcano Qualcomm SoCs. 584220e2a8dSPawel Moll 585220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 5865cc87a4dSDaniel Lezcano bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 58777f6c0b8SArnd Bergmann depends on GENERIC_SCHED_CLOCK 588bb0eb050SDaniel Lezcano select TIMER_OF 589bfed0edeSRob Herring default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM 590220e2a8dSPawel Moll help 591220e2a8dSPawel Moll This option enables clock source based on free running 592220e2a8dSPawel Moll counter available in the "System Registers" block of 593bfed0edeSRob Herring ARM Versatile and Versatile Express reference platforms. 59458394271SJean Delvare 595fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 596fa5635a2SAndrew Bresticker bool 597fa5635a2SAndrew Bresticker depends on MIPS_GIC 5987d7de1a6SSerge Semin select CLOCKSOURCE_WATCHDOG 599bb0eb050SDaniel Lezcano select TIMER_OF 600fa5635a2SAndrew Bresticker 601e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 6025ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 603d7023e62SRichard Weinberger depends on HAS_IOMEM 6045ae996cbSDaniel Lezcano select CLKSRC_MMIO 605e074ff86SDmitry Eremin-Solenikov help 606e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 607e074ff86SDmitry Eremin-Solenikov platforms. 608618b902dSYoshinori Sato 609bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 610bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 6112f4574ddSArnd Bergmann depends on (ARM || ARM64) && HAVE_CLK 612bea5af41SShawn Guo select CLKSRC_MMIO 613bea5af41SShawn Guo 614059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM 615059ab7b8SDong Aisheng bool "Clocksource using i.MX TPM" if COMPILE_TEST 6162f4574ddSArnd Bergmann depends on (ARM || ARM64) && HAVE_CLK 617059ab7b8SDong Aisheng select CLKSRC_MMIO 618a6d0812aSAnson Huang select TIMER_OF 619059ab7b8SDong Aisheng help 620059ab7b8SDong Aisheng Enable this option to use IMX Timer/PWM Module (TPM) timer as 621059ab7b8SDong Aisheng clocksource. 622059ab7b8SDong Aisheng 6237117a44bSBai Pingconfig TIMER_IMX_SYS_CTR 6247117a44bSBai Ping bool "i.MX system counter timer" if COMPILE_TEST 6257117a44bSBai Ping select TIMER_OF 6267117a44bSBai Ping help 6277117a44bSBai Ping Enable this option to use i.MX system counter timer as a 6287117a44bSBai Ping clockevent. 6297117a44bSBai Ping 630e738521aSKeguang Zhangconfig CLKSRC_LOONGSON1_PWM 631e738521aSKeguang Zhang bool "Clocksource using Loongson1 PWM" 632e738521aSKeguang Zhang depends on MACH_LOONGSON32 || COMPILE_TEST 633e738521aSKeguang Zhang select MIPS_EXTERNAL_TIMER 634e738521aSKeguang Zhang select TIMER_OF 635e738521aSKeguang Zhang help 636e738521aSKeguang Zhang Enable this option to use Loongson1 PWM timer as clocksource 637e738521aSKeguang Zhang instead of the performance counter. 638e738521aSKeguang Zhang 63970bef01cSLee Jonesconfig CLKSRC_ST_LPC 640baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 641bb0eb050SDaniel Lezcano select TIMER_OF if OF 642863ee050SRichard Weinberger depends on HAS_IOMEM 6432be6d9bfSArnd Bergmann select CLKSRC_MMIO 64470bef01cSLee Jones help 64570bef01cSLee Jones Enable this option to use the Low Power controller timer 64670bef01cSLee Jones as clocksource. 64770bef01cSLee Jones 6485184f4bfSNick Hawkinsconfig GXP_TIMER 6495184f4bfSNick Hawkins bool "GXP timer driver" if COMPILE_TEST && !ARCH_HPE 6505184f4bfSNick Hawkins default ARCH_HPE 6515184f4bfSNick Hawkins select TIMER_OF if OF 6525184f4bfSNick Hawkins help 6535184f4bfSNick Hawkins Provides a driver for the timer control found on HPE 6545184f4bfSNick Hawkins GXP SOCs. This is required for all GXP SOCs. 6555184f4bfSNick Hawkins 65662b01943SPalmer Dabbeltconfig RISCV_TIMER 6572bc3fc87SAnup Patel bool "Timer for the RISC-V platform" if COMPILE_TEST 658ab310544SKefeng Wang depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI 65962b01943SPalmer Dabbelt select TIMER_PROBE 66062b01943SPalmer Dabbelt select TIMER_OF 66162b01943SPalmer Dabbelt help 66262b01943SPalmer Dabbelt This enables the per-hart timer built into all RISC-V systems, which 66362b01943SPalmer Dabbelt is accessed via both the SBI and the rdcycle instruction. This is 66462b01943SPalmer Dabbelt required for all RISC-V systems. 66562b01943SPalmer Dabbelt 6662ac6795fSAnup Patelconfig CLINT_TIMER 6672ac6795fSAnup Patel bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST 6682ac6795fSAnup Patel depends on GENERIC_SCHED_CLOCK && RISCV 6692ac6795fSAnup Patel select TIMER_PROBE 6702ac6795fSAnup Patel select TIMER_OF 6712ac6795fSAnup Patel help 6722ac6795fSAnup Patel This option enables the CLINT timer for RISC-V systems. The CLINT 6732ac6795fSAnup Patel driver is usually used for NoMMU RISC-V systems. 6742ac6795fSAnup Patel 675a7ad38b0SGuo Renconfig CSKY_MP_TIMER 676a7ad38b0SGuo Ren bool "SMP Timer for the C-SKY platform" if COMPILE_TEST 677a7ad38b0SGuo Ren depends on CSKY 678a7ad38b0SGuo Ren select TIMER_OF 679a7ad38b0SGuo Ren help 680a7ad38b0SGuo Ren Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP 681a7ad38b0SGuo Ren system. 68206293463SRandy Dunlap csky,mptimer is not only used in SMP system, it also could be used in 68306293463SRandy Dunlap single core system. It's not a mmio reg and it uses mtcr/mfcr instruction. 684a7ad38b0SGuo Ren 68533745c3cSGuo Renconfig GX6605S_TIMER 68633745c3cSGuo Ren bool "Gx6605s SOC system timer driver" if COMPILE_TEST 68733745c3cSGuo Ren depends on CSKY 68833745c3cSGuo Ren select CLKSRC_MMIO 68933745c3cSGuo Ren select TIMER_OF 69033745c3cSGuo Ren help 69133745c3cSGuo Ren This option enables support for gx6605s SOC's timer. 69233745c3cSGuo Ren 693b58f28f3SSugaya Taichiconfig MILBEAUT_TIMER 694b58f28f3SSugaya Taichi bool "Milbeaut timer driver" if COMPILE_TEST 695b58f28f3SSugaya Taichi depends on OF 696b58f28f3SSugaya Taichi depends on ARM 697b58f28f3SSugaya Taichi select TIMER_OF 698b58f28f3SSugaya Taichi select CLKSRC_MMIO 699b58f28f3SSugaya Taichi help 700b58f28f3SSugaya Taichi Enables the support for Milbeaut timer driver. 701b58f28f3SSugaya Taichi 7025fc1f93fSRomain Perierconfig MSC313E_TIMER 7035fc1f93fSRomain Perier bool "MSC313E timer driver" if COMPILE_TEST 7045fc1f93fSRomain Perier select TIMER_OF 7055fc1f93fSRomain Perier select CLKSRC_MMIO 7065fc1f93fSRomain Perier help 7075fc1f93fSRomain Perier Enables support for the MStar MSC313E timer driver. 7085fc1f93fSRomain Perier This provides access to multiple interrupt generating 7095fc1f93fSRomain Perier programmable 32-bit free running incrementing counters. 7105fc1f93fSRomain Perier 71134e93683SPaul Cercueilconfig INGENIC_TIMER 71234e93683SPaul Cercueil bool "Clocksource/timer using the TCU in Ingenic JZ SoCs" 71334e93683SPaul Cercueil default MACH_INGENIC 71434e93683SPaul Cercueil depends on MIPS || COMPILE_TEST 71534e93683SPaul Cercueil depends on COMMON_CLK 71634e93683SPaul Cercueil select MFD_SYSCON 71734e93683SPaul Cercueil select TIMER_OF 71834e93683SPaul Cercueil select IRQ_DOMAIN 71934e93683SPaul Cercueil help 72034e93683SPaul Cercueil Support for the timer/counter unit of the Ingenic JZ SoCs. 72134e93683SPaul Cercueil 7225ecafc12S周琰杰 (Zhou Yanjie)config INGENIC_SYSOST 7235ecafc12S周琰杰 (Zhou Yanjie) bool "Clocksource/timer using the SYSOST in Ingenic X SoCs" 7245ecafc12S周琰杰 (Zhou Yanjie) depends on MIPS || COMPILE_TEST 7255ecafc12S周琰杰 (Zhou Yanjie) depends on COMMON_CLK 7265ecafc12S周琰杰 (Zhou Yanjie) select MFD_SYSCON 7275ecafc12S周琰杰 (Zhou Yanjie) select TIMER_OF 7285ecafc12S周琰杰 (Zhou Yanjie) select IRQ_DOMAIN 7295ecafc12S周琰杰 (Zhou Yanjie) help 7305ecafc12S周琰杰 (Zhou Yanjie) Support for the SYSOST of the Ingenic X Series SoCs. 7315ecafc12S周琰杰 (Zhou Yanjie) 732ca7b72b5SMaarten ter Huurneconfig INGENIC_OST 7335ecafc12S周琰杰 (Zhou Yanjie) bool "Clocksource using the OST in Ingenic JZ SoCs" 734ca7b72b5SMaarten ter Huurne depends on MIPS || COMPILE_TEST 735ca7b72b5SMaarten ter Huurne depends on COMMON_CLK 736ca7b72b5SMaarten ter Huurne select MFD_SYSCON 737ca7b72b5SMaarten ter Huurne help 738ca7b72b5SMaarten ter Huurne Support for the Operating System Timer of the Ingenic JZ SoCs. 739ca7b72b5SMaarten ter Huurne 740625022a5SClaudiu Bezneaconfig MICROCHIP_PIT64B 741625022a5SClaudiu Beznea bool "Microchip PIT64B support" 742d19c8b2eSClaudiu Beznea depends on OF && ARM 74325259f7aSMichael Ellerman select TIMER_OF 744625022a5SClaudiu Beznea help 745625022a5SClaudiu Beznea This option enables Microchip PIT64B timer for Atmel 746625022a5SClaudiu Beznea based system. It supports the oneshot, the periodic 747625022a5SClaudiu Beznea modes and high resolution. It is used as a clocksource 748625022a5SClaudiu Beznea and a clockevent. 749625022a5SClaudiu Beznea 750c92e7ef1SLaurent Vivierconfig GOLDFISH_TIMER 751c92e7ef1SLaurent Vivier bool "Clocksource using goldfish-rtc" 752c92e7ef1SLaurent Vivier depends on M68K || COMPILE_TEST 753c92e7ef1SLaurent Vivier depends on RTC_DRV_GOLDFISH 754c92e7ef1SLaurent Vivier help 755c92e7ef1SLaurent Vivier Support for the timer/counter of goldfish-rtc 756c92e7ef1SLaurent Vivier 757c28ca80bSNikita Shubinconfig EP93XX_TIMER 758c28ca80bSNikita Shubin bool "Cirrus Logic ep93xx timer driver" if COMPILE_TEST 759c28ca80bSNikita Shubin depends on ARCH_EP93XX 760c28ca80bSNikita Shubin depends on GENERIC_CLOCKEVENTS 761c28ca80bSNikita Shubin depends on HAS_IOMEM 762c28ca80bSNikita Shubin select CLKSRC_MMIO 763c28ca80bSNikita Shubin select TIMER_OF 764c28ca80bSNikita Shubin help 765c28ca80bSNikita Shubin Enables support for the Cirrus Logic timer block 766c28ca80bSNikita Shubin EP93XX. 767c28ca80bSNikita Shubin 768cd537561SSergio Paracuellosconfig RALINK_TIMER 769cd537561SSergio Paracuellos bool "Ralink System Tick Counter" 770cd537561SSergio Paracuellos depends on SOC_RT305X || SOC_MT7620 || COMPILE_TEST 771cd537561SSergio Paracuellos select CLKSRC_MMIO 772cd537561SSergio Paracuellos select TIMER_OF 773cd537561SSergio Paracuellos help 774cd537561SSergio Paracuellos Enables support for system tick counter present on 775cd537561SSergio Paracuellos Ralink SoCs RT3352 and MT7620. 776cd537561SSergio Paracuellos 777cec32ac7SDaniel Lezcanoconfig NXP_STM_TIMER 778cec32ac7SDaniel Lezcano bool "NXP System Timer Module driver" 779cec32ac7SDaniel Lezcano depends on ARCH_S32 || COMPILE_TEST 780cec32ac7SDaniel Lezcano select CLKSRC_MMIO 781cec32ac7SDaniel Lezcano help 782cec32ac7SDaniel Lezcano Enables the support for NXP System Timer Module found in the 783cec32ac7SDaniel Lezcano s32g NXP platform series. 784cec32ac7SDaniel Lezcano 78558394271SJean Delvareendmenu 786