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 72*13e0b405SLinus Walleijconfig IXP4XX_TIMER 73*13e0b405SLinus Walleij bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST 74*13e0b405SLinus Walleij depends on HAS_IOMEM 75*13e0b405SLinus Walleij select CLKSRC_MMIO 76*13e0b405SLinus Walleij help 77*13e0b405SLinus Walleij Enables support for the Intel XScale IXP4xx SoC timer. 78*13e0b405SLinus Walleij 79468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 8040ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 8140ada2aaSDaniel Lezcano depends on ARM || ARM64 82bb0eb050SDaniel Lezcano select TIMER_OF 835e0a39d0SAlexander Kochetkov select CLKSRC_MMIO 8440ada2aaSDaniel Lezcano help 8540ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 86468b8c4cSDaniel Lezcano 876fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 889519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 899519e80cSDaniel Lezcano depends on ARM 90bb0eb050SDaniel Lezcano select TIMER_OF 912be6d9bfSArnd Bergmann select CLKSRC_MMIO 929519e80cSDaniel Lezcano help 939519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 946fe9cbd1SGregory CLEMENT 95e4a6b378SCarlo Caioneconfig MESON6_TIMER 960b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 977b6b0a45SBeniamino Galvani select CLKSRC_MMIO 980b7a7bb7SDaniel Lezcano help 990b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 100e4a6b378SCarlo Caione 1010c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 102c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 103c9165549SDaniel Lezcano depends on ARM 104bb0eb050SDaniel Lezcano select TIMER_OF 1050c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 106c9165549SDaniel Lezcano help 107c9165549SDaniel Lezcano Enables the support for the Orion timer driver 1080c1dcfd5SSebastian Hesselbarth 1094be78a86SAndreas Färberconfig OWL_TIMER 1104be78a86SAndreas Färber bool "Owl timer driver" if COMPILE_TEST 1114be78a86SAndreas Färber select CLKSRC_MMIO 1124be78a86SAndreas Färber help 1134be78a86SAndreas Färber Enables the support for the Actions Semi Owl timer driver. 1144be78a86SAndreas Färber 1157f83a132SManivannan Sadhasivamconfig RDA_TIMER 1167f83a132SManivannan Sadhasivam bool "RDA timer driver" if COMPILE_TEST 1177f83a132SManivannan Sadhasivam depends on GENERIC_CLOCKEVENTS 1187f83a132SManivannan Sadhasivam select CLKSRC_MMIO 1197f83a132SManivannan Sadhasivam select TIMER_OF 1207f83a132SManivannan Sadhasivam help 1217f83a132SManivannan Sadhasivam Enables the support for the RDA Micro timer driver. 1227f83a132SManivannan Sadhasivam 123119fd635SMaxime Ripardconfig SUN4I_TIMER 124b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 125d7023e62SRichard Weinberger depends on HAS_IOMEM 12671c568c0SMaxime Ripard select CLKSRC_MMIO 127239751edSDaniel Lezcano select TIMER_OF 128b4fcd48bSDaniel Lezcano help 129b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 130b2ac5d75SMaxime Ripard 13167905540SMaxime Ripardconfig SUN5I_HSTIMER 132f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 13367905540SMaxime Ripard select CLKSRC_MMIO 134f0c5afb7SDaniel Lezcano depends on COMMON_CLK 135f0c5afb7SDaniel Lezcano help 136f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 13767905540SMaxime Ripard 138910978e7SThierry Redingconfig TEGRA_TIMER 139adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1402be6d9bfSArnd Bergmann select CLKSRC_MMIO 141b4822dc7SJoseph Lo select TIMER_OF 142b4822dc7SJoseph Lo depends on ARM || ARM64 143adce4bc8SDaniel Lezcano help 144adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 145910978e7SThierry Reding 146ff7ec345STony Priskconfig VT8500_TIMER 147b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 148d7023e62SRichard Weinberger depends on HAS_IOMEM 149b4bdf7efSDaniel Lezcano help 150b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 151ff7ec345STony Prisk 1521c00289eSTomer Maimonconfig NPCM7XX_TIMER 1531c00289eSTomer Maimon bool "NPCM7xx timer driver" if COMPILE_TEST 1541c00289eSTomer Maimon depends on HAS_IOMEM 1551c00289eSTomer Maimon select CLKSRC_MMIO 1561c00289eSTomer Maimon help 1571c00289eSTomer Maimon Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 1581c00289eSTomer Maimon While TIMER0 serves as clockevent and TIMER1 serves as clocksource. 1591c00289eSTomer Maimon 1604f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 16157f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 16257f49318SDaniel Lezcano depends on COMMON_CLK 16357f49318SDaniel Lezcano help 16457f49318SDaniel Lezcano Enables support for the cadence ttc driver. 1654f0f234fSMichal Simek 166a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 167b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 168a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 169bb0eb050SDaniel Lezcano select TIMER_OF 170b9755841SDaniel Lezcano help 171b9755841SDaniel Lezcano Enables support for the ASM9260 timer. 172a8b1b9fcSDaniel Lezcano 173694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 17470329653SDaniel Lezcano bool "Nomakdik clocksource driver" if COMPILE_TEST 17570329653SDaniel Lezcano depends on ARM 176694e33a7SLinus Walleij select CLKSRC_MMIO 177694e33a7SLinus Walleij help 178694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 179694e33a7SLinus Walleij to multiple interrupt generating programmable 180694e33a7SLinus Walleij 32-bit free running decrementing counters. 181694e33a7SLinus Walleij 182489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 1831becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 184d7023e62SRichard Weinberger depends on HAS_IOMEM 185489bcceaSMattias Wallin help 186489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 187489bcceaSMattias Wallin 188ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 189ecf0efdcSDaniel Lezcano bool "Cirrus logic timer driver" if COMPILE_TEST 190ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 191ecf0efdcSDaniel Lezcano help 192ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 193ecf0efdcSDaniel Lezcano 194b56d5d21SDaniel Lezcanoconfig ATLAS7_TIMER 195b56d5d21SDaniel Lezcano bool "Atlas7 timer driver" if COMPILE_TEST 196b56d5d21SDaniel Lezcano select CLKSRC_MMIO 197b56d5d21SDaniel Lezcano help 198b56d5d21SDaniel Lezcano Enables support for the Atlas7 timer. 199b56d5d21SDaniel Lezcano 200d81c50a0SDaniel Lezcanoconfig MXS_TIMER 201d81c50a0SDaniel Lezcano bool "Mxs timer driver" if COMPILE_TEST 202d81c50a0SDaniel Lezcano select CLKSRC_MMIO 203d81c50a0SDaniel Lezcano select STMP_DEVICE 204d81c50a0SDaniel Lezcano help 205d81c50a0SDaniel Lezcano Enables support for the Mxs timer. 206d81c50a0SDaniel Lezcano 207f3550d49SDaniel Lezcanoconfig PRIMA2_TIMER 208f3550d49SDaniel Lezcano bool "Prima2 timer driver" if COMPILE_TEST 209f3550d49SDaniel Lezcano select CLKSRC_MMIO 210f3550d49SDaniel Lezcano help 211f3550d49SDaniel Lezcano Enables support for the Prima2 timer. 212f3550d49SDaniel Lezcano 21385f98db4SDaniel Lezcanoconfig U300_TIMER 21485f98db4SDaniel Lezcano bool "U300 timer driver" if COMPILE_TEST 21585f98db4SDaniel Lezcano depends on ARM 21685f98db4SDaniel Lezcano select CLKSRC_MMIO 21785f98db4SDaniel Lezcano help 21885f98db4SDaniel Lezcano Enables support for the U300 timer. 21985f98db4SDaniel Lezcano 220d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 221d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 222d683b9dcSDaniel Lezcano select CLKSRC_MMIO 223d683b9dcSDaniel Lezcano help 224d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 225d683b9dcSDaniel Lezcano 226c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 227c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 228c12547a0SDaniel Lezcano depends on ARM || ARM64 229c12547a0SDaniel Lezcano select CLKSRC_MMIO 230c12547a0SDaniel Lezcano help 231c12547a0SDaniel Lezcano Enables support for the Keystone timer. 232c12547a0SDaniel Lezcano 233568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER 234568c0342SDaniel Lezcano bool "Integrator-ap timer driver" if COMPILE_TEST 235568c0342SDaniel Lezcano select CLKSRC_MMIO 236568c0342SDaniel Lezcano help 237568c0342SDaniel Lezcano Enables support for the Integrator-ap timer. 238568c0342SDaniel Lezcano 2399c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 2409c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 2419c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 24209ca2757SAxel Lin select CLKSRC_MMIO 2439c9b7818SUwe Kleine-König default ARCH_EFM32 2449c9b7818SUwe Kleine-König help 2459c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 2469c9b7818SUwe Kleine-König event device. 2479c9b7818SUwe Kleine-König 248050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 249ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 2502f8a26c1SArnd Bergmann depends on HAS_IOMEM 2511b18fd20SEzequiel Garcia depends on ARM 252050dd322SJoachim Eastwood select CLKSRC_MMIO 253bb0eb050SDaniel Lezcano select TIMER_OF 254ddcf48c7SDaniel Lezcano help 255ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 256050dd322SJoachim Eastwood 25784583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 258dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 2592f8a26c1SArnd Bergmann depends on HAS_IOMEM 260bb0eb050SDaniel Lezcano select TIMER_OF 261dfdb1652SDaniel Lezcano help 262dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 26384583983SEzequiel Garcia 264fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 265fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 266dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 267bb0eb050SDaniel Lezcano select TIMER_OF if OF 268fe851f56SFelipe Balbi help 269fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 270fe851f56SFelipe Balbi available on many OMAP-like platforms. 271fe851f56SFelipe Balbi 272a5322457SNoam Camusconfig CLKSRC_NPS 273a5322457SNoam Camus bool "NPS400 clocksource driver" if COMPILE_TEST 274a5322457SNoam Camus depends on !PHYS_ADDR_T_64BIT 275a5322457SNoam Camus select CLKSRC_MMIO 276bb0eb050SDaniel Lezcano select TIMER_OF if OF 277a5322457SNoam Camus help 278a5322457SNoam Camus NPS400 clocksource support. 279a5322457SNoam Camus Got 64 bit counter with update rate up to 1000MHz. 280a5322457SNoam Camus This counter is accessed via couple of 32 bit memory mapped registers. 281a5322457SNoam Camus 282e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2831cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2841cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 285e37e4593SMaxime Coquelin select CLKSRC_MMIO 286d04af490SBenjamin Gaignard select TIMER_OF 287e37e4593SMaxime Coquelin 2880302637fSVladimir Murzinconfig CLKSRC_MPS2 2890302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2900302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2910302637fSVladimir Murzin select CLKSRC_MMIO 292bb0eb050SDaniel Lezcano select TIMER_OF 2930302637fSVladimir Murzin 294c4c9a040SVineet Guptaconfig ARC_TIMERS 295c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 296bf287607SAlexey Brodkin depends on GENERIC_SCHED_CLOCK 297bb0eb050SDaniel Lezcano select TIMER_OF 298c4c9a040SVineet Gupta help 299c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 300c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 301c4c9a040SVineet Gupta TIMER0 serves as clockevent while TIMER1 provides clocksource 302c4c9a040SVineet Gupta 303c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 304c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 305c4c9a040SVineet Gupta depends on ARC_TIMERS 306bb0eb050SDaniel Lezcano select TIMER_OF 307c4c9a040SVineet Gupta help 308c4c9a040SVineet Gupta This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP) 309c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 310c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 311c4c9a040SVineet Gupta as appropriate. 312c4c9a040SVineet Gupta 3138a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 3148a4da6e3SMark Rutland bool 315bb0eb050SDaniel Lezcano select TIMER_OF if OF 316fa1bffabSDaniel Lezcano select TIMER_ACPI if ACPI 317a2c5d4edSJames Hogan 318037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 31946fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 320037f6377SWill Deacon default y if ARM_ARCH_TIMER 32177f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 322037f6377SWill Deacon help 32346fd5c6bSWill Deacon This option enables support by default for event stream generation 32446fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 32546fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 32646fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 32746fd5c6bSWill Deacon overridden on the command line using the 32846fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 329037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 330037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 331037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 332037f6377SWill Deacon event is not generated. 333037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 334037f6377SWill Deacon hardware anomalies of missing events. 335037f6377SWill Deacon 33616d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND 33716d10ef2SDing Tianhong bool 33816d10ef2SDing Tianhong 339f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 340f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 341f6dc1576SScott Wood default y 342f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 34316d10ef2SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 344f6dc1576SScott Wood help 345f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 346f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 347f6dc1576SScott Wood value"). The workaround will only be active if the 348f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 349f6dc1576SScott Wood 350bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101 351bb42ca47SDing Tianhong bool "Workaround for Hisilicon Erratum 161010101" 352bb42ca47SDing Tianhong default y 353bb42ca47SDing Tianhong select ARM_ARCH_TIMER_OOL_WORKAROUND 354bb42ca47SDing Tianhong depends on ARM_ARCH_TIMER && ARM64 355bb42ca47SDing Tianhong help 356bb42ca47SDing Tianhong This option enables a workaround for Hisilicon Erratum 357bb42ca47SDing Tianhong 161010101. The workaround will be active if the hisilicon,erratum-161010101 358bb42ca47SDing Tianhong property is found in the timer node. 359bb42ca47SDing Tianhong 360fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921 361fa8d815fSMarc Zyngier bool "Workaround for Cortex-A73 erratum 858921" 362fa8d815fSMarc Zyngier default y 363fa8d815fSMarc Zyngier select ARM_ARCH_TIMER_OOL_WORKAROUND 364fa8d815fSMarc Zyngier depends on ARM_ARCH_TIMER && ARM64 365fa8d815fSMarc Zyngier help 366fa8d815fSMarc Zyngier This option enables a workaround applicable to Cortex-A73 367fa8d815fSMarc Zyngier (all versions), whose counter may return incorrect values. 368fa8d815fSMarc Zyngier The workaround will be dynamically enabled when an affected 369fa8d815fSMarc Zyngier core is detected. 370fa8d815fSMarc Zyngier 371c950ca8cSSamuel Hollandconfig SUN50I_ERRATUM_UNKNOWN1 372c950ca8cSSamuel Holland bool "Workaround for Allwinner A64 erratum UNKNOWN1" 373c950ca8cSSamuel Holland default y 374c950ca8cSSamuel Holland depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI 375c950ca8cSSamuel Holland select ARM_ARCH_TIMER_OOL_WORKAROUND 376c950ca8cSSamuel Holland help 377c950ca8cSSamuel Holland This option enables a workaround for instability in the timer on 378c950ca8cSSamuel Holland the Allwinner A64 SoC. The workaround will only be active if the 379c950ca8cSSamuel Holland allwinner,erratum-unknown1 property is found in the timer node. 380c950ca8cSSamuel Holland 381c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 38267a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 383bb0eb050SDaniel Lezcano select TIMER_OF if OF 38467a87a43SDaniel Lezcano depends on ARM 385c1b40e44SStuart Menefy help 386c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 387c1b40e44SStuart Menefy 3880b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 3890b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 390002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 3910b7402dcSSudeep Holla select CLKSRC_MMIO 392bb0eb050SDaniel Lezcano select TIMER_OF if OF 3930b7402dcSSudeep Holla 394c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 395c1b40e44SStuart Menefy bool 396c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 397c1b40e44SStuart Menefy default y 398c1b40e44SStuart Menefy help 399c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 400c1b40e44SStuart Menefy 4014958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 402e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 403bb0eb050SDaniel Lezcano select TIMER_OF if OF 4044958ebb3SMaxime Coquelin select CLKSRC_MMIO 4054958ebb3SMaxime Coquelin help 4064958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 4074958ebb3SMaxime Coquelin 408b052ff30SMaxime Ripardconfig ATMEL_PIT 409bb0eb050SDaniel Lezcano select TIMER_OF if OF 410b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 411b052ff30SMaxime Ripard 412b53cdd03SAlexandre Belloniconfig ATMEL_ST 413b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 414bd2746f0SMasahiro Yamada depends on HAS_IOMEM 415bb0eb050SDaniel Lezcano select TIMER_OF 4167ab7ef74SAlexandre Belloni select MFD_SYSCON 417b988d3f0SDaniel Lezcano help 418b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 419b53cdd03SAlexandre Belloni 4206938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 42139366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 422f1a4c1f3SChanwoo Choi depends on ARM || ARM64 4236938d75aSThomas Abraham help 4246938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 425241a9871SArnd Bergmann 426f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 427de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 428d7023e62SRichard Weinberger depends on HAS_IOMEM 429f1189989STomasz Figa help 430f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 431f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 432f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 433f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 434c1967249SJingchang Lu 4352529c3a3SXiubo Liconfig FSL_FTM_TIMER 436ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 437d7023e62SRichard Weinberger depends on HAS_IOMEM 43803724ac3SDaniel Lezcano select CLKSRC_MMIO 4392529c3a3SXiubo Li help 4402529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4412529c3a3SXiubo Li 442c1967249SJingchang Luconfig VF_PIT_TIMER 443c1967249SJingchang Lu bool 4442be6d9bfSArnd Bergmann select CLKSRC_MMIO 445c1967249SJingchang Lu help 446c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 447fd3f1270SMagnus Damm 44889355274SNeil Armstrongconfig OXNAS_RPS_TIMER 44989355274SNeil Armstrong bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST 450bb0eb050SDaniel Lezcano select TIMER_OF 45189355274SNeil Armstrong select CLKSRC_MMIO 45289355274SNeil Armstrong help 45389355274SNeil Armstrong This enables support for the Oxford Semiconductor OXNAS RPS timers. 45489355274SNeil Armstrong 455fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 456fd3f1270SMagnus Damm bool 457fd3f1270SMagnus Damm 458ecb3530dSMatthias Bruggerconfig MTK_TIMER 459fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 4602f8a26c1SArnd Bergmann depends on HAS_IOMEM 461bb0eb050SDaniel Lezcano select TIMER_OF 462ecb3530dSMatthias Brugger select CLKSRC_MMIO 463fbca9eabSDaniel Lezcano help 464fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 465ecb3530dSMatthias Brugger 466067bc914SBaolin Wangconfig SPRD_TIMER 4678a1ece26SChunyan Zhang bool "Spreadtrum timer driver" if EXPERT 468067bc914SBaolin Wang depends on HAS_IOMEM 4698a1ece26SChunyan Zhang depends on (ARCH_SPRD || COMPILE_TEST) 4708a1ece26SChunyan Zhang default ARCH_SPRD 471067bc914SBaolin Wang select TIMER_OF 472067bc914SBaolin Wang help 473067bc914SBaolin Wang Enables support for the Spreadtrum timer driver. 474067bc914SBaolin Wang 475fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 476fd3f1270SMagnus Damm bool 477fd3f1270SMagnus Damm 478fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 479fd3f1270SMagnus Damm bool 480fd3f1270SMagnus Damm 481fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 482fd3f1270SMagnus Damm bool 483fd3f1270SMagnus Damm 4849995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 4859995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 4869995f4f1SRich Felker depends on OF 4879995f4f1SRich Felker depends on HAS_IOMEM 4889995f4f1SRich Felker select CLKSRC_MMIO 4899995f4f1SRich Felker help 4909995f4f1SRich Felker This enables build of clocksource and clockevent driver for 4919995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 4929995f4f1SRich Felker 493fd3f1270SMagnus Dammconfig SH_TIMER_CMT 494fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 49511bc26feSRichard Weinberger depends on HAS_IOMEM 496fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 497fd3f1270SMagnus Damm help 498fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 499fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 500fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 501fd3f1270SMagnus Damm 502fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 503fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 50411bc26feSRichard Weinberger depends on HAS_IOMEM 505fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 506fd3f1270SMagnus Damm help 507fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 5087e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 509fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 510fd3f1270SMagnus Damm 511fb6002a8SChris Brandtconfig RENESAS_OSTM 512fb6002a8SChris Brandt bool "Renesas OSTM timer driver" if COMPILE_TEST 513fb6002a8SChris Brandt select CLKSRC_MMIO 514fb6002a8SChris Brandt help 515fb6002a8SChris Brandt Enables the support for the Renesas OSTM. 516fb6002a8SChris Brandt 517fd3f1270SMagnus Dammconfig SH_TIMER_TMU 518fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 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 5282f8a26c1SArnd Bergmann depends on 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 569d7023e62SRichard Weinberger depends on HAS_IOMEM 5705ae996cbSDaniel Lezcano select CLKSRC_MMIO 571e074ff86SDmitry Eremin-Solenikov help 572e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 573e074ff86SDmitry Eremin-Solenikov platforms. 574618b902dSYoshinori Sato 57597a23bebSDaniel Lezcanoconfig H8300_TMR8 57646e7c3c6SDaniel Lezcano bool "Clockevent timer for the H8300 platform" if COMPILE_TEST 5772f8a26c1SArnd Bergmann depends on HAS_IOMEM 57846e7c3c6SDaniel Lezcano help 57946e7c3c6SDaniel Lezcano This enables the 8 bits timer for the H8300 platform. 58097a23bebSDaniel Lezcano 581618b902dSYoshinori Satoconfig H8300_TMR16 58246e7c3c6SDaniel Lezcano bool "Clockevent timer for the H83069 platform" if COMPILE_TEST 5832f8a26c1SArnd Bergmann depends on HAS_IOMEM 58446e7c3c6SDaniel Lezcano help 58546e7c3c6SDaniel Lezcano This enables the 16 bits timer for the H8300 platform with the 58646e7c3c6SDaniel Lezcano H83069 cpu. 587618b902dSYoshinori Sato 588618b902dSYoshinori Satoconfig H8300_TPU 58946e7c3c6SDaniel Lezcano bool "Clocksource for the H8300 platform" if COMPILE_TEST 5902f8a26c1SArnd Bergmann depends on HAS_IOMEM 59146e7c3c6SDaniel Lezcano help 59246e7c3c6SDaniel Lezcano This enables the clocksource for the H8300 platform with the 59346e7c3c6SDaniel Lezcano H8S2678 cpu. 594618b902dSYoshinori Sato 595bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 596bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 597df181e38SAnson Huang depends on (ARM || ARM64) && CLKDEV_LOOKUP 598bea5af41SShawn Guo select CLKSRC_MMIO 599bea5af41SShawn Guo 600059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM 601059ab7b8SDong Aisheng bool "Clocksource using i.MX TPM" if COMPILE_TEST 6022f8a26c1SArnd Bergmann depends on ARM && CLKDEV_LOOKUP 603059ab7b8SDong Aisheng select CLKSRC_MMIO 604059ab7b8SDong Aisheng help 605059ab7b8SDong Aisheng Enable this option to use IMX Timer/PWM Module (TPM) timer as 606059ab7b8SDong Aisheng clocksource. 607059ab7b8SDong Aisheng 60870bef01cSLee Jonesconfig CLKSRC_ST_LPC 609baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 610bb0eb050SDaniel Lezcano select TIMER_OF if OF 611863ee050SRichard Weinberger depends on HAS_IOMEM 6122be6d9bfSArnd Bergmann select CLKSRC_MMIO 61370bef01cSLee Jones help 61470bef01cSLee Jones Enable this option to use the Low Power controller timer 61570bef01cSLee Jones as clocksource. 61670bef01cSLee Jones 61735dbb74aSRick Chenconfig ATCPIT100_TIMER 61835dbb74aSRick Chen bool "ATCPIT100 timer driver" 61935dbb74aSRick Chen depends on NDS32 || COMPILE_TEST 62035dbb74aSRick Chen depends on HAS_IOMEM 62135dbb74aSRick Chen select TIMER_OF 62235dbb74aSRick Chen default NDS32 62335dbb74aSRick Chen help 62435dbb74aSRick Chen This option enables support for the Andestech ATCPIT100 timers. 62535dbb74aSRick Chen 62662b01943SPalmer Dabbeltconfig RISCV_TIMER 62762b01943SPalmer Dabbelt bool "Timer for the RISC-V platform" 62892e0d143SAnup Patel depends on GENERIC_SCHED_CLOCK && RISCV 62962b01943SPalmer Dabbelt default y 63062b01943SPalmer Dabbelt select TIMER_PROBE 63162b01943SPalmer Dabbelt select TIMER_OF 63262b01943SPalmer Dabbelt help 63362b01943SPalmer Dabbelt This enables the per-hart timer built into all RISC-V systems, which 63462b01943SPalmer Dabbelt is accessed via both the SBI and the rdcycle instruction. This is 63562b01943SPalmer Dabbelt required for all RISC-V systems. 63662b01943SPalmer Dabbelt 637a7ad38b0SGuo Renconfig CSKY_MP_TIMER 638a7ad38b0SGuo Ren bool "SMP Timer for the C-SKY platform" if COMPILE_TEST 639a7ad38b0SGuo Ren depends on CSKY 640a7ad38b0SGuo Ren select TIMER_OF 641a7ad38b0SGuo Ren help 642a7ad38b0SGuo Ren Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP 643a7ad38b0SGuo Ren system. 644a7ad38b0SGuo Ren csky,mptimer is not only used in SMP system, it also could be used 645a7ad38b0SGuo Ren single core system. It's not a mmio reg and it use mtcr/mfcr instruction. 646a7ad38b0SGuo Ren 64733745c3cSGuo Renconfig GX6605S_TIMER 64833745c3cSGuo Ren bool "Gx6605s SOC system timer driver" if COMPILE_TEST 64933745c3cSGuo Ren depends on CSKY 65033745c3cSGuo Ren select CLKSRC_MMIO 65133745c3cSGuo Ren select TIMER_OF 65233745c3cSGuo Ren help 65333745c3cSGuo Ren This option enables support for gx6605s SOC's timer. 65433745c3cSGuo Ren 655b58f28f3SSugaya Taichiconfig MILBEAUT_TIMER 656b58f28f3SSugaya Taichi bool "Milbeaut timer driver" if COMPILE_TEST 657b58f28f3SSugaya Taichi depends on OF 658b58f28f3SSugaya Taichi depends on ARM 659b58f28f3SSugaya Taichi select TIMER_OF 660b58f28f3SSugaya Taichi select CLKSRC_MMIO 661b58f28f3SSugaya Taichi help 662b58f28f3SSugaya Taichi Enables the support for Milbeaut timer driver. 663b58f28f3SSugaya Taichi 66458394271SJean Delvareendmenu 665