158394271SJean Delvaremenu "Clock Source drivers" 22f8a26c1SArnd Bergmann depends on GENERIC_CLOCKEVENTS 358394271SJean Delvare 4bb0eb050SDaniel Lezcanoconfig TIMER_OF 5ae278a93SStephen Warren bool 6bb0eb050SDaniel Lezcano select TIMER_PROBE 7aad83b15SMarc Zyngier 8fa1bffabSDaniel Lezcanoconfig TIMER_ACPI 9aad83b15SMarc Zyngier bool 10bb0eb050SDaniel Lezcano select TIMER_PROBE 11aad83b15SMarc Zyngier 12bb0eb050SDaniel Lezcanoconfig TIMER_PROBE 13aad83b15SMarc Zyngier bool 14ae278a93SStephen Warren 1589c0b8e2SRussell Kingconfig CLKSRC_I8253 1689c0b8e2SRussell King bool 17442c8176SRussell King 18e6220bdcSThomas Gleixnerconfig CLKEVT_I8253 19e6220bdcSThomas Gleixner bool 20e6220bdcSThomas Gleixner 2115f304b6SRalf Baechleconfig I8253_LOCK 2215f304b6SRalf Baechle bool 2315f304b6SRalf Baechle 24af04aa85SKeerthyconfig OMAP_DM_TIMER 25af04aa85SKeerthy bool 26af04aa85SKeerthy 2715f304b6SRalf Baechleconfig CLKBLD_I8253 28e6220bdcSThomas Gleixner def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 2915f304b6SRalf Baechle 30442c8176SRussell Kingconfig CLKSRC_MMIO 31442c8176SRussell King bool 3206c3df49SJamie Iles 332ea879a7SDaniel Lezcanoconfig BCM2835_TIMER 342ea879a7SDaniel Lezcano bool "BCM2835 timer driver" if COMPILE_TEST 352ea879a7SDaniel Lezcano select CLKSRC_MMIO 362ea879a7SDaniel Lezcano help 372ea879a7SDaniel Lezcano Enables the support for the BCM2835 timer driver. 382ea879a7SDaniel Lezcano 391cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER 401cad71e3SDaniel Lezcano bool "BCM mobile timer driver" if COMPILE_TEST 411cad71e3SDaniel Lezcano select CLKSRC_MMIO 421cad71e3SDaniel Lezcano help 431cad71e3SDaniel Lezcano Enables the support for the BCM Kona mobile timer driver. 441cad71e3SDaniel Lezcano 459b8bb773SBaruch Siachconfig DIGICOLOR_TIMER 46e6c1db13SDaniel Lezcano bool "Digicolor timer driver" if COMPILE_TEST 472be6d9bfSArnd Bergmann select CLKSRC_MMIO 48d7023e62SRichard Weinberger depends on HAS_IOMEM 49e6c1db13SDaniel Lezcano help 50e6c1db13SDaniel Lezcano Enables the support for the digicolor timer driver. 519b8bb773SBaruch Siach 5206c3df49SJamie Ilesconfig DW_APB_TIMER 535b097f6bSDaniel Lezcano bool "DW APB timer driver" if COMPILE_TEST 545b097f6bSDaniel Lezcano help 555b097f6bSDaniel Lezcano Enables the support for the dw_apb timer. 56489bcceaSMattias Wallin 57cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 58cfda5901SDinh Nguyen bool 591b4eca0fSHeiko Stuebner select DW_APB_TIMER 60bb0eb050SDaniel Lezcano select TIMER_OF 61cfda5901SDinh Nguyen 62f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER 63f5bf0ee4SLinus Walleij bool "Faraday Technology timer driver" if COMPILE_TEST 644750535bSLinus Walleij depends on HAS_IOMEM 654750535bSLinus Walleij select CLKSRC_MMIO 66bb0eb050SDaniel Lezcano select TIMER_OF 674750535bSLinus Walleij select MFD_SYSCON 684750535bSLinus Walleij help 69f5bf0ee4SLinus Walleij Enables support for the Faraday Technology timer block 70f5bf0ee4SLinus Walleij FTTMR010. 714750535bSLinus Walleij 72468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 7340ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 7440ada2aaSDaniel Lezcano depends on ARM || ARM64 75bb0eb050SDaniel Lezcano select TIMER_OF 765e0a39d0SAlexander Kochetkov select CLKSRC_MMIO 7740ada2aaSDaniel Lezcano help 7840ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 79468b8c4cSDaniel Lezcano 806fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 819519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 829519e80cSDaniel Lezcano depends on ARM 83bb0eb050SDaniel Lezcano select TIMER_OF 842be6d9bfSArnd Bergmann select CLKSRC_MMIO 859519e80cSDaniel Lezcano help 869519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 876fe9cbd1SGregory CLEMENT 88e4a6b378SCarlo Caioneconfig MESON6_TIMER 890b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 907b6b0a45SBeniamino Galvani select CLKSRC_MMIO 910b7a7bb7SDaniel Lezcano help 920b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 93e4a6b378SCarlo Caione 940c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 95c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 96c9165549SDaniel Lezcano depends on ARM 97bb0eb050SDaniel Lezcano select TIMER_OF 980c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 99c9165549SDaniel Lezcano help 100c9165549SDaniel Lezcano Enables the support for the Orion timer driver 1010c1dcfd5SSebastian Hesselbarth 1024be78a86SAndreas Färberconfig OWL_TIMER 1034be78a86SAndreas Färber bool "Owl timer driver" if COMPILE_TEST 1044be78a86SAndreas Färber select CLKSRC_MMIO 1054be78a86SAndreas Färber help 1064be78a86SAndreas Färber Enables the support for the Actions Semi Owl timer driver. 1074be78a86SAndreas Färber 108119fd635SMaxime Ripardconfig SUN4I_TIMER 109b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 110d7023e62SRichard Weinberger depends on HAS_IOMEM 11171c568c0SMaxime Ripard select CLKSRC_MMIO 112239751edSDaniel Lezcano select TIMER_OF 113b4fcd48bSDaniel Lezcano help 114b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 115b2ac5d75SMaxime Ripard 11667905540SMaxime Ripardconfig SUN5I_HSTIMER 117f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 11867905540SMaxime Ripard select CLKSRC_MMIO 119f0c5afb7SDaniel Lezcano depends on COMMON_CLK 120f0c5afb7SDaniel Lezcano help 121f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 12267905540SMaxime Ripard 123910978e7SThierry Redingconfig TEGRA_TIMER 124adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1252be6d9bfSArnd Bergmann select CLKSRC_MMIO 126adce4bc8SDaniel Lezcano depends on ARM 127adce4bc8SDaniel Lezcano help 128adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 129910978e7SThierry Reding 130ff7ec345STony Priskconfig VT8500_TIMER 131b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 132d7023e62SRichard Weinberger depends on HAS_IOMEM 133b4bdf7efSDaniel Lezcano help 134b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 135ff7ec345STony Prisk 1361c00289eSTomer Maimonconfig NPCM7XX_TIMER 1371c00289eSTomer Maimon bool "NPCM7xx timer driver" if COMPILE_TEST 1381c00289eSTomer Maimon depends on HAS_IOMEM 1391c00289eSTomer Maimon select CLKSRC_MMIO 1401c00289eSTomer Maimon help 1411c00289eSTomer Maimon Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 1421c00289eSTomer Maimon While TIMER0 serves as clockevent and TIMER1 serves as clocksource. 1431c00289eSTomer Maimon 1444f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 14557f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 14657f49318SDaniel Lezcano depends on COMMON_CLK 14757f49318SDaniel Lezcano help 14857f49318SDaniel Lezcano Enables support for the cadence ttc driver. 1494f0f234fSMichal Simek 150a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 151b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 152a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 153bb0eb050SDaniel Lezcano select TIMER_OF 154b9755841SDaniel Lezcano help 155b9755841SDaniel Lezcano Enables support for the ASM9260 timer. 156a8b1b9fcSDaniel Lezcano 157694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 15870329653SDaniel Lezcano bool "Nomakdik clocksource driver" if COMPILE_TEST 15970329653SDaniel Lezcano depends on ARM 160694e33a7SLinus Walleij select CLKSRC_MMIO 161694e33a7SLinus Walleij help 162694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 163694e33a7SLinus Walleij to multiple interrupt generating programmable 164694e33a7SLinus Walleij 32-bit free running decrementing counters. 165694e33a7SLinus Walleij 166489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 1671becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 168d7023e62SRichard Weinberger depends on HAS_IOMEM 169489bcceaSMattias Wallin help 170489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 171489bcceaSMattias Wallin 172ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 173ecf0efdcSDaniel Lezcano bool "Cirrus logic timer driver" if COMPILE_TEST 174ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 175ecf0efdcSDaniel Lezcano help 176ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 177ecf0efdcSDaniel Lezcano 178b56d5d21SDaniel Lezcanoconfig ATLAS7_TIMER 179b56d5d21SDaniel Lezcano bool "Atlas7 timer driver" if COMPILE_TEST 180b56d5d21SDaniel Lezcano select CLKSRC_MMIO 181b56d5d21SDaniel Lezcano help 182b56d5d21SDaniel Lezcano Enables support for the Atlas7 timer. 183b56d5d21SDaniel Lezcano 184d81c50a0SDaniel Lezcanoconfig MXS_TIMER 185d81c50a0SDaniel Lezcano bool "Mxs timer driver" if COMPILE_TEST 186d81c50a0SDaniel Lezcano select CLKSRC_MMIO 187d81c50a0SDaniel Lezcano select STMP_DEVICE 188d81c50a0SDaniel Lezcano help 189d81c50a0SDaniel Lezcano Enables support for the Mxs timer. 190d81c50a0SDaniel Lezcano 191f3550d49SDaniel Lezcanoconfig PRIMA2_TIMER 192f3550d49SDaniel Lezcano bool "Prima2 timer driver" if COMPILE_TEST 193f3550d49SDaniel Lezcano select CLKSRC_MMIO 194f3550d49SDaniel Lezcano help 195f3550d49SDaniel Lezcano Enables support for the Prima2 timer. 196f3550d49SDaniel Lezcano 19785f98db4SDaniel Lezcanoconfig U300_TIMER 19885f98db4SDaniel Lezcano bool "U300 timer driver" if COMPILE_TEST 19985f98db4SDaniel Lezcano depends on ARM 20085f98db4SDaniel Lezcano select CLKSRC_MMIO 20185f98db4SDaniel Lezcano help 20285f98db4SDaniel Lezcano Enables support for the U300 timer. 20385f98db4SDaniel Lezcano 204d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 205d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 206d683b9dcSDaniel Lezcano select CLKSRC_MMIO 207d683b9dcSDaniel Lezcano help 208d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 209d683b9dcSDaniel Lezcano 210c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 211c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 212c12547a0SDaniel Lezcano depends on ARM || ARM64 213c12547a0SDaniel Lezcano select CLKSRC_MMIO 214c12547a0SDaniel Lezcano help 215c12547a0SDaniel Lezcano Enables support for the Keystone timer. 216c12547a0SDaniel Lezcano 217568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER 218568c0342SDaniel Lezcano bool "Integrator-ap timer driver" if COMPILE_TEST 219568c0342SDaniel Lezcano select CLKSRC_MMIO 220568c0342SDaniel Lezcano help 221568c0342SDaniel Lezcano Enables support for the Integrator-ap timer. 222568c0342SDaniel Lezcano 2239c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 2249c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 2259c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 22609ca2757SAxel Lin select CLKSRC_MMIO 2279c9b7818SUwe Kleine-König default ARCH_EFM32 2289c9b7818SUwe Kleine-König help 2299c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 2309c9b7818SUwe Kleine-König event device. 2319c9b7818SUwe Kleine-König 232050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 233ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 2342f8a26c1SArnd Bergmann depends on HAS_IOMEM 2351b18fd20SEzequiel Garcia depends on ARM 236050dd322SJoachim Eastwood select CLKSRC_MMIO 237bb0eb050SDaniel Lezcano select TIMER_OF 238ddcf48c7SDaniel Lezcano help 239ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 240050dd322SJoachim Eastwood 24184583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 242dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 2432f8a26c1SArnd Bergmann depends on HAS_IOMEM 244bb0eb050SDaniel Lezcano select TIMER_OF 245dfdb1652SDaniel Lezcano help 246dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 24784583983SEzequiel Garcia 248fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 249fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 250dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 251bb0eb050SDaniel Lezcano select TIMER_OF if OF 252fe851f56SFelipe Balbi help 253fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 254fe851f56SFelipe Balbi available on many OMAP-like platforms. 255fe851f56SFelipe Balbi 256a5322457SNoam Camusconfig CLKSRC_NPS 257a5322457SNoam Camus bool "NPS400 clocksource driver" if COMPILE_TEST 258a5322457SNoam Camus depends on !PHYS_ADDR_T_64BIT 259a5322457SNoam Camus select CLKSRC_MMIO 260bb0eb050SDaniel Lezcano select TIMER_OF if OF 261a5322457SNoam Camus help 262a5322457SNoam Camus NPS400 clocksource support. 263a5322457SNoam Camus Got 64 bit counter with update rate up to 1000MHz. 264a5322457SNoam Camus This counter is accessed via couple of 32 bit memory mapped registers. 265a5322457SNoam Camus 266e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2671cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2681cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 269e37e4593SMaxime Coquelin select CLKSRC_MMIO 270d04af490SBenjamin Gaignard select TIMER_OF 271e37e4593SMaxime Coquelin 2720302637fSVladimir Murzinconfig CLKSRC_MPS2 2730302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2740302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2750302637fSVladimir Murzin select CLKSRC_MMIO 276bb0eb050SDaniel Lezcano select TIMER_OF 2770302637fSVladimir Murzin 278c4c9a040SVineet Guptaconfig ARC_TIMERS 279c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 280bb0eb050SDaniel Lezcano select TIMER_OF 281c4c9a040SVineet Gupta help 282c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 283c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 284c4c9a040SVineet Gupta TIMER0 serves as clockevent while TIMER1 provides clocksource 285c4c9a040SVineet Gupta 286c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 287c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 288c4c9a040SVineet Gupta depends on ARC_TIMERS 289bb0eb050SDaniel Lezcano select TIMER_OF 290c4c9a040SVineet Gupta help 291c4c9a040SVineet Gupta This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP) 292c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 293c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 294c4c9a040SVineet Gupta as appropriate. 295c4c9a040SVineet Gupta 2968a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 2978a4da6e3SMark Rutland bool 298bb0eb050SDaniel Lezcano select TIMER_OF if OF 299fa1bffabSDaniel Lezcano select TIMER_ACPI if ACPI 300a2c5d4edSJames Hogan 301037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 30246fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 303037f6377SWill Deacon default y if ARM_ARCH_TIMER 30477f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 305037f6377SWill Deacon help 30646fd5c6bSWill Deacon This option enables support by default for event stream generation 30746fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 30846fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 30946fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 31046fd5c6bSWill Deacon overridden on the command line using the 31146fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 312037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 313037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 314037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 315037f6377SWill Deacon event is not generated. 316037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 317037f6377SWill Deacon hardware anomalies of missing events. 318037f6377SWill Deacon 31916d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND 32016d10ef2SDing Tianhong bool 32116d10ef2SDing Tianhong 322f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 323f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 324f6dc1576SScott Wood default y 325f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 32616d10ef2SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 327f6dc1576SScott Wood help 328f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 329f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 330f6dc1576SScott Wood value"). The workaround will only be active if the 331f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 332f6dc1576SScott Wood 333bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101 334bb42ca47SDing Tianhong bool "Workaround for Hisilicon Erratum 161010101" 335bb42ca47SDing Tianhong default y 336bb42ca47SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 337bb42ca47SDing Tianhong depends on ARM_ARCH_TIMER && ARM64 338bb42ca47SDing Tianhong help 339bb42ca47SDing Tianhong This option enables a workaround for Hisilicon Erratum 340bb42ca47SDing Tianhong 161010101. The workaround will be active if the hisilicon,erratum-161010101 341bb42ca47SDing Tianhong property is found in the timer node. 342bb42ca47SDing Tianhong 343fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921 344fa8d815fSMarc Zyngier bool "Workaround for Cortex-A73 erratum 858921" 345fa8d815fSMarc Zyngier default y 346fa8d815fSMarc Zyngier select ARM_ARCH_TIMER_OOL_WORKAROUND 347fa8d815fSMarc Zyngier depends on ARM_ARCH_TIMER && ARM64 348fa8d815fSMarc Zyngier help 349fa8d815fSMarc Zyngier This option enables a workaround applicable to Cortex-A73 350fa8d815fSMarc Zyngier (all versions), whose counter may return incorrect values. 351fa8d815fSMarc Zyngier The workaround will be dynamically enabled when an affected 352fa8d815fSMarc Zyngier core is detected. 353fa8d815fSMarc Zyngier 354c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 35567a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 356bb0eb050SDaniel Lezcano select TIMER_OF if OF 35767a87a43SDaniel Lezcano depends on ARM 358c1b40e44SStuart Menefy help 359c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 360c1b40e44SStuart Menefy 3610b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 3620b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 363002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 3640b7402dcSSudeep Holla select CLKSRC_MMIO 365bb0eb050SDaniel Lezcano select TIMER_OF if OF 3660b7402dcSSudeep Holla 367c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 368c1b40e44SStuart Menefy bool 369c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 370c1b40e44SStuart Menefy default y 371c1b40e44SStuart Menefy help 372c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 373c1b40e44SStuart Menefy 3744958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 375e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 376bb0eb050SDaniel Lezcano select TIMER_OF if OF 3774958ebb3SMaxime Coquelin select CLKSRC_MMIO 3784958ebb3SMaxime Coquelin help 3794958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 3804958ebb3SMaxime Coquelin 381b052ff30SMaxime Ripardconfig ATMEL_PIT 382bb0eb050SDaniel Lezcano select TIMER_OF if OF 383b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 384b052ff30SMaxime Ripard 385b53cdd03SAlexandre Belloniconfig ATMEL_ST 386b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 387bd2746f0SMasahiro Yamada depends on HAS_IOMEM 388bb0eb050SDaniel Lezcano select TIMER_OF 3897ab7ef74SAlexandre Belloni select MFD_SYSCON 390b988d3f0SDaniel Lezcano help 391b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 392b53cdd03SAlexandre Belloni 3936938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 39439366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 395f1a4c1f3SChanwoo Choi depends on ARM || ARM64 3966938d75aSThomas Abraham help 3976938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 398241a9871SArnd Bergmann 399f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 400de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 401d7023e62SRichard Weinberger depends on HAS_IOMEM 402f1189989STomasz Figa help 403f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 404f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 405f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 406f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 407c1967249SJingchang Lu 4082529c3a3SXiubo Liconfig FSL_FTM_TIMER 409ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 410d7023e62SRichard Weinberger depends on HAS_IOMEM 41103724ac3SDaniel Lezcano select CLKSRC_MMIO 4122529c3a3SXiubo Li help 4132529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4142529c3a3SXiubo Li 415c1967249SJingchang Luconfig VF_PIT_TIMER 416c1967249SJingchang Lu bool 4172be6d9bfSArnd Bergmann select CLKSRC_MMIO 418c1967249SJingchang Lu help 419c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 420fd3f1270SMagnus Damm 42189355274SNeil Armstrongconfig OXNAS_RPS_TIMER 42289355274SNeil Armstrong bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST 423bb0eb050SDaniel Lezcano select TIMER_OF 42489355274SNeil Armstrong select CLKSRC_MMIO 42589355274SNeil Armstrong help 42689355274SNeil Armstrong This enables support for the Oxford Semiconductor OXNAS RPS timers. 42789355274SNeil Armstrong 428fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 429fd3f1270SMagnus Damm bool 430fd3f1270SMagnus Damm 431ecb3530dSMatthias Bruggerconfig MTK_TIMER 432fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 4332f8a26c1SArnd Bergmann depends on HAS_IOMEM 434bb0eb050SDaniel Lezcano select TIMER_OF 435ecb3530dSMatthias Brugger select CLKSRC_MMIO 436fbca9eabSDaniel Lezcano help 437fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 438ecb3530dSMatthias Brugger 439067bc914SBaolin Wangconfig SPRD_TIMER 4408a1ece26SChunyan Zhang bool "Spreadtrum timer driver" if EXPERT 441067bc914SBaolin Wang depends on HAS_IOMEM 4428a1ece26SChunyan Zhang depends on (ARCH_SPRD || COMPILE_TEST) 4438a1ece26SChunyan Zhang default ARCH_SPRD 444067bc914SBaolin Wang select TIMER_OF 445067bc914SBaolin Wang help 446067bc914SBaolin Wang Enables support for the Spreadtrum timer driver. 447067bc914SBaolin Wang 448fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 449fd3f1270SMagnus Damm bool 450fd3f1270SMagnus Damm 451fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 452fd3f1270SMagnus Damm bool 453fd3f1270SMagnus Damm 454fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 455fd3f1270SMagnus Damm bool 456fd3f1270SMagnus Damm 4579995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 4589995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 4599995f4f1SRich Felker depends on OF 4609995f4f1SRich Felker depends on HAS_IOMEM 4619995f4f1SRich Felker select CLKSRC_MMIO 4629995f4f1SRich Felker help 4639995f4f1SRich Felker This enables build of clocksource and clockevent driver for 4649995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 4659995f4f1SRich Felker 466fd3f1270SMagnus Dammconfig SH_TIMER_CMT 467fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 46811bc26feSRichard Weinberger depends on HAS_IOMEM 469fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 470fd3f1270SMagnus Damm help 471fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 472fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 473fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 474fd3f1270SMagnus Damm 475fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 476fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 47711bc26feSRichard Weinberger depends on HAS_IOMEM 478fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 479fd3f1270SMagnus Damm help 480fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 4817e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 482fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 483fd3f1270SMagnus Damm 484fb6002a8SChris Brandtconfig RENESAS_OSTM 485fb6002a8SChris Brandt bool "Renesas OSTM timer driver" if COMPILE_TEST 486fb6002a8SChris Brandt select CLKSRC_MMIO 487fb6002a8SChris Brandt help 488fb6002a8SChris Brandt Enables the support for the Renesas OSTM. 489fb6002a8SChris Brandt 490fd3f1270SMagnus Dammconfig SH_TIMER_TMU 491fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 49211bc26feSRichard Weinberger depends on HAS_IOMEM 493fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 494fd3f1270SMagnus Damm help 495fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 496fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 497fd3f1270SMagnus Damm SoCs from Renesas. 498fd3f1270SMagnus Damm 499fd3f1270SMagnus Dammconfig EM_TIMER_STI 500fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 5012f8a26c1SArnd Bergmann depends on HAS_IOMEM 502fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 503fd3f1270SMagnus Damm help 504fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 505fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 506fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 507dfc25e45SLinus Torvalds 5083f8e8ceeSKumar Galaconfig CLKSRC_QCOM 5093dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 5103dc0e9f6SDaniel Lezcano depends on ARM 511bb0eb050SDaniel Lezcano select TIMER_OF 5123dc0e9f6SDaniel Lezcano help 5133dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 5143dc0e9f6SDaniel Lezcano Qualcomm SoCs. 515220e2a8dSPawel Moll 516220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 5175cc87a4dSDaniel Lezcano bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 5185cc87a4dSDaniel Lezcano depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 519bb0eb050SDaniel Lezcano select TIMER_OF 520220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 521220e2a8dSPawel Moll help 522220e2a8dSPawel Moll This option enables clock source based on free running 523220e2a8dSPawel Moll counter available in the "System Registers" block of 524220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 525220e2a8dSPawel Moll platforms. 52658394271SJean Delvare 527fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 528fa5635a2SAndrew Bresticker bool 529fa5635a2SAndrew Bresticker depends on MIPS_GIC 530bb0eb050SDaniel Lezcano select TIMER_OF 531fa5635a2SAndrew Bresticker 532ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL 5335a7351f0SDaniel Lezcano bool "Clocksource for Tango SoC" if COMPILE_TEST 5345a7351f0SDaniel Lezcano depends on ARM 535bb0eb050SDaniel Lezcano select TIMER_OF 5360881841fSDaniel Lezcano select CLKSRC_MMIO 5375a7351f0SDaniel Lezcano help 5385a7351f0SDaniel Lezcano This enables the clocksource for Tango SoC 539ccd63ce4SMarc Gonzalez 540e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 5415ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 542d7023e62SRichard Weinberger depends on HAS_IOMEM 5435ae996cbSDaniel Lezcano select CLKSRC_MMIO 544e074ff86SDmitry Eremin-Solenikov help 545e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 546e074ff86SDmitry Eremin-Solenikov platforms. 547618b902dSYoshinori Sato 54897a23bebSDaniel Lezcanoconfig H8300_TMR8 54946e7c3c6SDaniel Lezcano bool "Clockevent timer for the H8300 platform" if COMPILE_TEST 5502f8a26c1SArnd Bergmann depends on HAS_IOMEM 55146e7c3c6SDaniel Lezcano help 55246e7c3c6SDaniel Lezcano This enables the 8 bits timer for the H8300 platform. 55397a23bebSDaniel Lezcano 554618b902dSYoshinori Satoconfig H8300_TMR16 55546e7c3c6SDaniel Lezcano bool "Clockevent timer for the H83069 platform" if COMPILE_TEST 5562f8a26c1SArnd Bergmann depends on HAS_IOMEM 55746e7c3c6SDaniel Lezcano help 55846e7c3c6SDaniel Lezcano This enables the 16 bits timer for the H8300 platform with the 55946e7c3c6SDaniel Lezcano H83069 cpu. 560618b902dSYoshinori Sato 561618b902dSYoshinori Satoconfig H8300_TPU 56246e7c3c6SDaniel Lezcano bool "Clocksource for the H8300 platform" if COMPILE_TEST 5632f8a26c1SArnd Bergmann depends on HAS_IOMEM 56446e7c3c6SDaniel Lezcano help 56546e7c3c6SDaniel Lezcano This enables the clocksource for the H8300 platform with the 56646e7c3c6SDaniel Lezcano H8S2678 cpu. 567618b902dSYoshinori Sato 568bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 569bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 570*df181e38SAnson Huang depends on (ARM || ARM64) && CLKDEV_LOOKUP 571bea5af41SShawn Guo select CLKSRC_MMIO 572bea5af41SShawn Guo 573059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM 574059ab7b8SDong Aisheng bool "Clocksource using i.MX TPM" if COMPILE_TEST 5752f8a26c1SArnd Bergmann depends on ARM && CLKDEV_LOOKUP 576059ab7b8SDong Aisheng select CLKSRC_MMIO 577059ab7b8SDong Aisheng help 578059ab7b8SDong Aisheng Enable this option to use IMX Timer/PWM Module (TPM) timer as 579059ab7b8SDong Aisheng clocksource. 580059ab7b8SDong Aisheng 58170bef01cSLee Jonesconfig CLKSRC_ST_LPC 582baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 583bb0eb050SDaniel Lezcano select TIMER_OF if OF 584863ee050SRichard Weinberger depends on HAS_IOMEM 5852be6d9bfSArnd Bergmann select CLKSRC_MMIO 58670bef01cSLee Jones help 58770bef01cSLee Jones Enable this option to use the Low Power controller timer 58870bef01cSLee Jones as clocksource. 58970bef01cSLee Jones 59035dbb74aSRick Chenconfig ATCPIT100_TIMER 59135dbb74aSRick Chen bool "ATCPIT100 timer driver" 59235dbb74aSRick Chen depends on NDS32 || COMPILE_TEST 59335dbb74aSRick Chen depends on HAS_IOMEM 59435dbb74aSRick Chen select TIMER_OF 59535dbb74aSRick Chen default NDS32 59635dbb74aSRick Chen help 59735dbb74aSRick Chen This option enables support for the Andestech ATCPIT100 timers. 59835dbb74aSRick Chen 59962b01943SPalmer Dabbeltconfig RISCV_TIMER 60062b01943SPalmer Dabbelt bool "Timer for the RISC-V platform" 60162b01943SPalmer Dabbelt depends on RISCV 60262b01943SPalmer Dabbelt default y 60362b01943SPalmer Dabbelt select TIMER_PROBE 60462b01943SPalmer Dabbelt select TIMER_OF 60562b01943SPalmer Dabbelt help 60662b01943SPalmer Dabbelt This enables the per-hart timer built into all RISC-V systems, which 60762b01943SPalmer Dabbelt is accessed via both the SBI and the rdcycle instruction. This is 60862b01943SPalmer Dabbelt required for all RISC-V systems. 60962b01943SPalmer Dabbelt 610a7ad38b0SGuo Renconfig CSKY_MP_TIMER 611a7ad38b0SGuo Ren bool "SMP Timer for the C-SKY platform" if COMPILE_TEST 612a7ad38b0SGuo Ren depends on CSKY 613a7ad38b0SGuo Ren select TIMER_OF 614a7ad38b0SGuo Ren help 615a7ad38b0SGuo Ren Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP 616a7ad38b0SGuo Ren system. 617a7ad38b0SGuo Ren csky,mptimer is not only used in SMP system, it also could be used 618a7ad38b0SGuo Ren single core system. It's not a mmio reg and it use mtcr/mfcr instruction. 619a7ad38b0SGuo Ren 62033745c3cSGuo Renconfig GX6605S_TIMER 62133745c3cSGuo Ren bool "Gx6605s SOC system timer driver" if COMPILE_TEST 62233745c3cSGuo Ren depends on CSKY 62333745c3cSGuo Ren select CLKSRC_MMIO 62433745c3cSGuo Ren select TIMER_OF 62533745c3cSGuo Ren help 62633745c3cSGuo Ren This option enables support for gx6605s SOC's timer. 62733745c3cSGuo Ren 62858394271SJean Delvareendmenu 629