158394271SJean Delvaremenu "Clock Source drivers" 23da6d49eSArnd Bergmann depends on !ARCH_USES_GETTIMEOFFSET 358394271SJean Delvare 4bb0eb050SDaniel Lezcanoconfig TIMER_OF 5ae278a93SStephen Warren bool 6dc11bae7SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 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 2515f304b6SRalf Baechleconfig CLKBLD_I8253 26e6220bdcSThomas Gleixner def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 2715f304b6SRalf Baechle 28442c8176SRussell Kingconfig CLKSRC_MMIO 29442c8176SRussell King bool 3006c3df49SJamie Iles 312ea879a7SDaniel Lezcanoconfig BCM2835_TIMER 322ea879a7SDaniel Lezcano bool "BCM2835 timer driver" if COMPILE_TEST 332ea879a7SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 342ea879a7SDaniel Lezcano select CLKSRC_MMIO 352ea879a7SDaniel Lezcano help 362ea879a7SDaniel Lezcano Enables the support for the BCM2835 timer driver. 372ea879a7SDaniel Lezcano 381cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER 391cad71e3SDaniel Lezcano bool "BCM mobile timer driver" if COMPILE_TEST 401cad71e3SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 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 470901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 482be6d9bfSArnd Bergmann select CLKSRC_MMIO 49d7023e62SRichard Weinberger depends on HAS_IOMEM 50e6c1db13SDaniel Lezcano help 51e6c1db13SDaniel Lezcano Enables the support for the digicolor timer driver. 529b8bb773SBaruch Siach 5306c3df49SJamie Ilesconfig DW_APB_TIMER 545b097f6bSDaniel Lezcano bool "DW APB timer driver" if COMPILE_TEST 550901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 565b097f6bSDaniel Lezcano help 575b097f6bSDaniel Lezcano Enables the support for the dw_apb timer. 58489bcceaSMattias Wallin 59cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 60cfda5901SDinh Nguyen bool 611b4eca0fSHeiko Stuebner select DW_APB_TIMER 62bb0eb050SDaniel Lezcano select TIMER_OF 63cfda5901SDinh Nguyen 64f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER 65f5bf0ee4SLinus Walleij bool "Faraday Technology timer driver" if COMPILE_TEST 664750535bSLinus Walleij depends on GENERIC_CLOCKEVENTS 674750535bSLinus Walleij depends on HAS_IOMEM 684750535bSLinus Walleij select CLKSRC_MMIO 69bb0eb050SDaniel Lezcano select TIMER_OF 704750535bSLinus Walleij select MFD_SYSCON 714750535bSLinus Walleij help 72f5bf0ee4SLinus Walleij Enables support for the Faraday Technology timer block 73f5bf0ee4SLinus Walleij FTTMR010. 744750535bSLinus Walleij 75468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 7640ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 7740ada2aaSDaniel Lezcano depends on ARM || ARM64 78bb0eb050SDaniel Lezcano select TIMER_OF 795e0a39d0SAlexander Kochetkov select CLKSRC_MMIO 8040ada2aaSDaniel Lezcano help 8140ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 82468b8c4cSDaniel Lezcano 836fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 849519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 859519e80cSDaniel Lezcano depends on ARM 86bb0eb050SDaniel Lezcano select TIMER_OF 872be6d9bfSArnd Bergmann select CLKSRC_MMIO 889519e80cSDaniel Lezcano help 899519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 906fe9cbd1SGregory CLEMENT 91e4a6b378SCarlo Caioneconfig MESON6_TIMER 920b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 930901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 947b6b0a45SBeniamino Galvani select CLKSRC_MMIO 950b7a7bb7SDaniel Lezcano help 960b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 97e4a6b378SCarlo Caione 980c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 99c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 100c9165549SDaniel Lezcano depends on ARM 101bb0eb050SDaniel Lezcano select TIMER_OF 1020c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 103c9165549SDaniel Lezcano help 104c9165549SDaniel Lezcano Enables the support for the Orion timer driver 1050c1dcfd5SSebastian Hesselbarth 1064be78a86SAndreas Färberconfig OWL_TIMER 1074be78a86SAndreas Färber bool "Owl timer driver" if COMPILE_TEST 1084be78a86SAndreas Färber depends on GENERIC_CLOCKEVENTS 1094be78a86SAndreas Färber select CLKSRC_MMIO 1104be78a86SAndreas Färber help 1114be78a86SAndreas Färber Enables the support for the Actions Semi Owl timer driver. 1124be78a86SAndreas Färber 113119fd635SMaxime Ripardconfig SUN4I_TIMER 114b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 1150901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 116d7023e62SRichard Weinberger depends on HAS_IOMEM 11771c568c0SMaxime Ripard select CLKSRC_MMIO 118239751edSDaniel Lezcano select TIMER_OF 119b4fcd48bSDaniel Lezcano help 120b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 121b2ac5d75SMaxime Ripard 12267905540SMaxime Ripardconfig SUN5I_HSTIMER 123f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 12467905540SMaxime Ripard select CLKSRC_MMIO 125f0c5afb7SDaniel Lezcano depends on COMMON_CLK 126f0c5afb7SDaniel Lezcano help 127f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 12867905540SMaxime Ripard 129910978e7SThierry Redingconfig TEGRA_TIMER 130adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1312be6d9bfSArnd Bergmann select CLKSRC_MMIO 132adce4bc8SDaniel Lezcano depends on ARM 133adce4bc8SDaniel Lezcano help 134adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 135910978e7SThierry Reding 136ff7ec345STony Priskconfig VT8500_TIMER 137b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 1380901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 139d7023e62SRichard Weinberger depends on HAS_IOMEM 140b4bdf7efSDaniel Lezcano help 141b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 142ff7ec345STony Prisk 1434f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 14457f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 14557f49318SDaniel Lezcano depends on COMMON_CLK 14657f49318SDaniel Lezcano help 14757f49318SDaniel Lezcano Enables support for the cadence ttc driver. 1484f0f234fSMichal Simek 149a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 150b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 1510901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 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 166694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK 167694e33a7SLinus Walleij bool 168694e33a7SLinus Walleij depends on CLKSRC_NOMADIK_MTU 169694e33a7SLinus Walleij help 170694e33a7SLinus Walleij Use the Multi Timer Unit as the sched_clock. 171694e33a7SLinus Walleij 172489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 1731becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 1740901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 175d7023e62SRichard Weinberger depends on HAS_IOMEM 176489bcceaSMattias Wallin help 177489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 178489bcceaSMattias Wallin 179ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 180ecf0efdcSDaniel Lezcano bool "Cirrus logic timer driver" if COMPILE_TEST 181ecf0efdcSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 182ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 183ecf0efdcSDaniel Lezcano help 184ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 185ecf0efdcSDaniel Lezcano 186b56d5d21SDaniel Lezcanoconfig ATLAS7_TIMER 187b56d5d21SDaniel Lezcano bool "Atlas7 timer driver" if COMPILE_TEST 188b56d5d21SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 189b56d5d21SDaniel Lezcano select CLKSRC_MMIO 190b56d5d21SDaniel Lezcano help 191b56d5d21SDaniel Lezcano Enables support for the Atlas7 timer. 192b56d5d21SDaniel Lezcano 193d81c50a0SDaniel Lezcanoconfig MXS_TIMER 194d81c50a0SDaniel Lezcano bool "Mxs timer driver" if COMPILE_TEST 195d81c50a0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 196d81c50a0SDaniel Lezcano select CLKSRC_MMIO 197d81c50a0SDaniel Lezcano select STMP_DEVICE 198d81c50a0SDaniel Lezcano help 199d81c50a0SDaniel Lezcano Enables support for the Mxs timer. 200d81c50a0SDaniel Lezcano 201f3550d49SDaniel Lezcanoconfig PRIMA2_TIMER 202f3550d49SDaniel Lezcano bool "Prima2 timer driver" if COMPILE_TEST 203f3550d49SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 204f3550d49SDaniel Lezcano select CLKSRC_MMIO 205f3550d49SDaniel Lezcano help 206f3550d49SDaniel Lezcano Enables support for the Prima2 timer. 207f3550d49SDaniel Lezcano 20885f98db4SDaniel Lezcanoconfig U300_TIMER 20985f98db4SDaniel Lezcano bool "U300 timer driver" if COMPILE_TEST 21085f98db4SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 21185f98db4SDaniel Lezcano depends on ARM 21285f98db4SDaniel Lezcano select CLKSRC_MMIO 21385f98db4SDaniel Lezcano help 21485f98db4SDaniel Lezcano Enables support for the U300 timer. 21585f98db4SDaniel Lezcano 216d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 217d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 218d683b9dcSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 219d683b9dcSDaniel Lezcano select CLKSRC_MMIO 220d683b9dcSDaniel Lezcano help 221d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 222d683b9dcSDaniel Lezcano 223c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 224c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 225c12547a0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 226c12547a0SDaniel Lezcano depends on ARM || ARM64 227c12547a0SDaniel Lezcano select CLKSRC_MMIO 228c12547a0SDaniel Lezcano help 229c12547a0SDaniel Lezcano Enables support for the Keystone timer. 230c12547a0SDaniel Lezcano 231568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER 232568c0342SDaniel Lezcano bool "Integrator-ap timer driver" if COMPILE_TEST 233568c0342SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 234568c0342SDaniel Lezcano select CLKSRC_MMIO 235568c0342SDaniel Lezcano help 236568c0342SDaniel Lezcano Enables support for the Integrator-ap timer. 237568c0342SDaniel Lezcano 238489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK 239489bcceaSMattias Wallin bool "Clocksource PRCMU Timer sched_clock" 240694e33a7SLinus Walleij depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) 241489bcceaSMattias Wallin default y 242489bcceaSMattias Wallin help 243489bcceaSMattias Wallin Use the always on PRCMU Timer as sched_clock 244985c0679SMarc Zyngier 2459c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 2469c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 2479c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 24809ca2757SAxel Lin select CLKSRC_MMIO 2499c9b7818SUwe Kleine-König default ARCH_EFM32 2509c9b7818SUwe Kleine-König help 2519c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 2529c9b7818SUwe Kleine-König event device. 2539c9b7818SUwe Kleine-König 254050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 255ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 256863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 2571b18fd20SEzequiel Garcia depends on ARM 258050dd322SJoachim Eastwood select CLKSRC_MMIO 259bb0eb050SDaniel Lezcano select TIMER_OF 260ddcf48c7SDaniel Lezcano help 261ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 262050dd322SJoachim Eastwood 26384583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 264dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 265863ee050SRichard Weinberger depends on HAS_IOMEM 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 278a5322457SNoam Camusconfig CLKSRC_NPS 279a5322457SNoam Camus bool "NPS400 clocksource driver" if COMPILE_TEST 280a5322457SNoam Camus depends on !PHYS_ADDR_T_64BIT 281a5322457SNoam Camus select CLKSRC_MMIO 282bb0eb050SDaniel Lezcano select TIMER_OF if OF 283a5322457SNoam Camus help 284a5322457SNoam Camus NPS400 clocksource support. 285a5322457SNoam Camus Got 64 bit counter with update rate up to 1000MHz. 286a5322457SNoam Camus This counter is accessed via couple of 32 bit memory mapped registers. 287a5322457SNoam Camus 288e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2891cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2901cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 291e37e4593SMaxime Coquelin select CLKSRC_MMIO 292e37e4593SMaxime Coquelin 2930302637fSVladimir Murzinconfig CLKSRC_MPS2 2940302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2950302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2960302637fSVladimir Murzin select CLKSRC_MMIO 297bb0eb050SDaniel Lezcano select TIMER_OF 2980302637fSVladimir Murzin 299c4c9a040SVineet Guptaconfig ARC_TIMERS 300c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 301c4c9a040SVineet Gupta depends on GENERIC_CLOCKEVENTS 302bb0eb050SDaniel Lezcano select TIMER_OF 303c4c9a040SVineet Gupta help 304c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 305c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 306c4c9a040SVineet Gupta TIMER0 serves as clockevent while TIMER1 provides clocksource 307c4c9a040SVineet Gupta 308c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 309c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 310c4c9a040SVineet Gupta depends on GENERIC_CLOCKEVENTS 311c4c9a040SVineet Gupta depends on ARC_TIMERS 312bb0eb050SDaniel Lezcano select TIMER_OF 313c4c9a040SVineet Gupta help 314c4c9a040SVineet Gupta This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP) 315c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 316c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 317c4c9a040SVineet Gupta as appropriate. 318c4c9a040SVineet Gupta 3198a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 3208a4da6e3SMark Rutland bool 321bb0eb050SDaniel Lezcano select TIMER_OF if OF 322fa1bffabSDaniel Lezcano select TIMER_ACPI if ACPI 323a2c5d4edSJames Hogan 324037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 32546fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 326037f6377SWill Deacon default y if ARM_ARCH_TIMER 32777f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 328037f6377SWill Deacon help 32946fd5c6bSWill Deacon This option enables support by default for event stream generation 33046fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 33146fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 33246fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 33346fd5c6bSWill Deacon overridden on the command line using the 33446fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 335037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 336037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 337037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 338037f6377SWill Deacon event is not generated. 339037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 340037f6377SWill Deacon hardware anomalies of missing events. 341037f6377SWill Deacon 34216d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND 34316d10ef2SDing Tianhong bool 34416d10ef2SDing Tianhong 345f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 346f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 347f6dc1576SScott Wood default y 348f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 34916d10ef2SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 350f6dc1576SScott Wood help 351f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 352f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 353f6dc1576SScott Wood value"). The workaround will only be active if the 354f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 355f6dc1576SScott Wood 356bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101 357bb42ca47SDing Tianhong bool "Workaround for Hisilicon Erratum 161010101" 358bb42ca47SDing Tianhong default y 359bb42ca47SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 360bb42ca47SDing Tianhong depends on ARM_ARCH_TIMER && ARM64 361bb42ca47SDing Tianhong help 362bb42ca47SDing Tianhong This option enables a workaround for Hisilicon Erratum 363bb42ca47SDing Tianhong 161010101. The workaround will be active if the hisilicon,erratum-161010101 364bb42ca47SDing Tianhong property is found in the timer node. 365bb42ca47SDing Tianhong 366fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921 367fa8d815fSMarc Zyngier bool "Workaround for Cortex-A73 erratum 858921" 368fa8d815fSMarc Zyngier default y 369fa8d815fSMarc Zyngier select ARM_ARCH_TIMER_OOL_WORKAROUND 370fa8d815fSMarc Zyngier depends on ARM_ARCH_TIMER && ARM64 371fa8d815fSMarc Zyngier help 372fa8d815fSMarc Zyngier This option enables a workaround applicable to Cortex-A73 373fa8d815fSMarc Zyngier (all versions), whose counter may return incorrect values. 374fa8d815fSMarc Zyngier The workaround will be dynamically enabled when an affected 375fa8d815fSMarc Zyngier core is detected. 376fa8d815fSMarc Zyngier 377c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 37867a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 379bb0eb050SDaniel Lezcano select TIMER_OF if OF 38067a87a43SDaniel Lezcano depends on ARM 381c1b40e44SStuart Menefy help 382c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 383c1b40e44SStuart Menefy 3840b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 3850b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 386002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 3870b7402dcSSudeep Holla select CLKSRC_MMIO 388bb0eb050SDaniel Lezcano select TIMER_OF if OF 3890b7402dcSSudeep Holla 390c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 391c1b40e44SStuart Menefy bool 392c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 393c1b40e44SStuart Menefy default y 394c1b40e44SStuart Menefy help 395c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 396c1b40e44SStuart Menefy 3974958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 398e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 399bb0eb050SDaniel Lezcano select TIMER_OF if OF 4004958ebb3SMaxime Coquelin select CLKSRC_MMIO 4014958ebb3SMaxime Coquelin help 4024958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 4034958ebb3SMaxime Coquelin 404b052ff30SMaxime Ripardconfig ATMEL_PIT 405bb0eb050SDaniel Lezcano select TIMER_OF if OF 406b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 407b052ff30SMaxime Ripard 408b53cdd03SAlexandre Belloniconfig ATMEL_ST 409b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 410b988d3f0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 411bb0eb050SDaniel Lezcano select TIMER_OF 4127ab7ef74SAlexandre Belloni select MFD_SYSCON 413b988d3f0SDaniel Lezcano help 414b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 415b53cdd03SAlexandre Belloni 416a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC 417a2c5d4edSJames Hogan def_bool y if METAG 418a2c5d4edSJames Hogan help 419a2c5d4edSJames Hogan This option enables support for the Meta per-thread timers. 4206938d75aSThomas Abraham 4216938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 42239366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 423f1a4c1f3SChanwoo Choi depends on ARM || ARM64 4246938d75aSThomas Abraham help 4256938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 426241a9871SArnd Bergmann 427f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 428de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 4290901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 430d7023e62SRichard Weinberger depends on HAS_IOMEM 431f1189989STomasz Figa help 432f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 433f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 434f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 435f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 436c1967249SJingchang Lu 4372529c3a3SXiubo Liconfig FSL_FTM_TIMER 438ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 4390901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 440d7023e62SRichard Weinberger depends on HAS_IOMEM 44103724ac3SDaniel Lezcano select CLKSRC_MMIO 4422529c3a3SXiubo Li help 4432529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4442529c3a3SXiubo Li 445c1967249SJingchang Luconfig VF_PIT_TIMER 446c1967249SJingchang Lu bool 4472be6d9bfSArnd Bergmann select CLKSRC_MMIO 448c1967249SJingchang Lu help 449c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 450fd3f1270SMagnus Damm 45189355274SNeil Armstrongconfig OXNAS_RPS_TIMER 45289355274SNeil Armstrong bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST 45389355274SNeil Armstrong depends on GENERIC_CLOCKEVENTS 454bb0eb050SDaniel Lezcano select TIMER_OF 45589355274SNeil Armstrong select CLKSRC_MMIO 45689355274SNeil Armstrong help 45789355274SNeil Armstrong This enables support for the Oxford Semiconductor OXNAS RPS timers. 45889355274SNeil Armstrong 459fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 460fd3f1270SMagnus Damm bool 461fd3f1270SMagnus Damm 462ecb3530dSMatthias Bruggerconfig MTK_TIMER 463fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 464863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 465bb0eb050SDaniel Lezcano select TIMER_OF 466ecb3530dSMatthias Brugger select CLKSRC_MMIO 467fbca9eabSDaniel Lezcano help 468fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 469ecb3530dSMatthias Brugger 470fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 471fd3f1270SMagnus Damm bool 472fd3f1270SMagnus Damm 473fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 474fd3f1270SMagnus Damm bool 475fd3f1270SMagnus Damm 476fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 477fd3f1270SMagnus Damm bool 478fd3f1270SMagnus Damm 4799995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 4809995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 4819995f4f1SRich Felker depends on OF 4829995f4f1SRich Felker depends on GENERIC_CLOCKEVENTS 4839995f4f1SRich Felker depends on HAS_IOMEM 4849995f4f1SRich Felker select CLKSRC_MMIO 4859995f4f1SRich Felker help 4869995f4f1SRich Felker This enables build of clocksource and clockevent driver for 4879995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 4889995f4f1SRich Felker 489fd3f1270SMagnus Dammconfig SH_TIMER_CMT 490fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 49187291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 49211bc26feSRichard Weinberger depends on HAS_IOMEM 493fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 494fd3f1270SMagnus Damm help 495fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 496fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 497fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 498fd3f1270SMagnus Damm 499fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 500fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 50187291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 50211bc26feSRichard Weinberger depends on HAS_IOMEM 503fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 504fd3f1270SMagnus Damm help 505fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 5067e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 507fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 508fd3f1270SMagnus Damm 509fb6002a8SChris Brandtconfig RENESAS_OSTM 510fb6002a8SChris Brandt bool "Renesas OSTM timer driver" if COMPILE_TEST 511fb6002a8SChris Brandt depends on GENERIC_CLOCKEVENTS 512fb6002a8SChris Brandt select CLKSRC_MMIO 513fb6002a8SChris Brandt help 514fb6002a8SChris Brandt Enables the support for the Renesas OSTM. 515fb6002a8SChris Brandt 516fd3f1270SMagnus Dammconfig SH_TIMER_TMU 517fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 51887291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 51911bc26feSRichard Weinberger depends on HAS_IOMEM 520fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 521fd3f1270SMagnus Damm help 522fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 523fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 524fd3f1270SMagnus Damm SoCs from Renesas. 525fd3f1270SMagnus Damm 526fd3f1270SMagnus Dammconfig EM_TIMER_STI 527fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 52840c96312SChen Gang depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 529fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 530fd3f1270SMagnus Damm help 531fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 532fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 533fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 534dfc25e45SLinus Torvalds 5353f8e8ceeSKumar Galaconfig CLKSRC_QCOM 5363dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 5373dc0e9f6SDaniel Lezcano depends on ARM 538bb0eb050SDaniel Lezcano select TIMER_OF 5393dc0e9f6SDaniel Lezcano help 5403dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 5413dc0e9f6SDaniel Lezcano Qualcomm SoCs. 542220e2a8dSPawel Moll 543220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 5445cc87a4dSDaniel Lezcano bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 5455cc87a4dSDaniel Lezcano depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 546bb0eb050SDaniel Lezcano select TIMER_OF 547220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 548220e2a8dSPawel Moll help 549220e2a8dSPawel Moll This option enables clock source based on free running 550220e2a8dSPawel Moll counter available in the "System Registers" block of 551220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 552220e2a8dSPawel Moll platforms. 55358394271SJean Delvare 554fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 555fa5635a2SAndrew Bresticker bool 556fa5635a2SAndrew Bresticker depends on MIPS_GIC 557bb0eb050SDaniel Lezcano select TIMER_OF 558fa5635a2SAndrew Bresticker 559ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL 5605a7351f0SDaniel Lezcano bool "Clocksource for Tango SoC" if COMPILE_TEST 5615a7351f0SDaniel Lezcano depends on ARM 562bb0eb050SDaniel Lezcano select TIMER_OF 5630881841fSDaniel Lezcano select CLKSRC_MMIO 5645a7351f0SDaniel Lezcano help 5655a7351f0SDaniel Lezcano This enables the clocksource for Tango SoC 566ccd63ce4SMarc Gonzalez 567e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 5685ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 5695ae996cbSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 570d7023e62SRichard Weinberger depends on HAS_IOMEM 5715ae996cbSDaniel Lezcano select CLKSRC_MMIO 572e074ff86SDmitry Eremin-Solenikov help 573e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 574e074ff86SDmitry Eremin-Solenikov platforms. 575618b902dSYoshinori Sato 57697a23bebSDaniel Lezcanoconfig H8300_TMR8 57746e7c3c6SDaniel Lezcano bool "Clockevent timer for the H8300 platform" if COMPILE_TEST 578863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 57946e7c3c6SDaniel Lezcano help 58046e7c3c6SDaniel Lezcano This enables the 8 bits timer for the H8300 platform. 58197a23bebSDaniel Lezcano 582618b902dSYoshinori Satoconfig H8300_TMR16 58346e7c3c6SDaniel Lezcano bool "Clockevent timer for the H83069 platform" if COMPILE_TEST 584863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 58546e7c3c6SDaniel Lezcano help 58646e7c3c6SDaniel Lezcano This enables the 16 bits timer for the H8300 platform with the 58746e7c3c6SDaniel Lezcano H83069 cpu. 588618b902dSYoshinori Sato 589618b902dSYoshinori Satoconfig H8300_TPU 59046e7c3c6SDaniel Lezcano bool "Clocksource for the H8300 platform" if COMPILE_TEST 591863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 59246e7c3c6SDaniel Lezcano help 59346e7c3c6SDaniel Lezcano This enables the clocksource for the H8300 platform with the 59446e7c3c6SDaniel Lezcano H8S2678 cpu. 595618b902dSYoshinori Sato 596bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 597bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 598bea5af41SShawn Guo depends on ARM && CLKDEV_LOOKUP 599bea5af41SShawn Guo select CLKSRC_MMIO 600bea5af41SShawn Guo 601*059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM 602*059ab7b8SDong Aisheng bool "Clocksource using i.MX TPM" if COMPILE_TEST 603*059ab7b8SDong Aisheng depends on ARM && CLKDEV_LOOKUP && GENERIC_CLOCKEVENTS 604*059ab7b8SDong Aisheng select CLKSRC_MMIO 605*059ab7b8SDong Aisheng help 606*059ab7b8SDong Aisheng Enable this option to use IMX Timer/PWM Module (TPM) timer as 607*059ab7b8SDong Aisheng clocksource. 608*059ab7b8SDong Aisheng 60970bef01cSLee Jonesconfig CLKSRC_ST_LPC 610baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 611bb0eb050SDaniel Lezcano select TIMER_OF if OF 612863ee050SRichard Weinberger depends on HAS_IOMEM 6132be6d9bfSArnd Bergmann select CLKSRC_MMIO 61470bef01cSLee Jones help 61570bef01cSLee Jones Enable this option to use the Low Power controller timer 61670bef01cSLee Jones as clocksource. 61770bef01cSLee Jones 61858394271SJean Delvareendmenu 619