158394271SJean Delvaremenu "Clock Source drivers" 23da6d49eSArnd Bergmann depends on !ARCH_USES_GETTIMEOFFSET 358394271SJean Delvare 4ae278a93SStephen Warrenconfig CLKSRC_OF 5ae278a93SStephen Warren bool 6aad83b15SMarc Zyngier select CLKSRC_PROBE 7aad83b15SMarc Zyngier 8aad83b15SMarc Zyngierconfig CLKSRC_ACPI 9aad83b15SMarc Zyngier bool 10aad83b15SMarc Zyngier select CLKSRC_PROBE 11aad83b15SMarc Zyngier 12aad83b15SMarc Zyngierconfig CLKSRC_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 2415f304b6SRalf Baechleconfig CLKBLD_I8253 25e6220bdcSThomas Gleixner def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 2615f304b6SRalf Baechle 27442c8176SRussell Kingconfig CLKSRC_MMIO 28442c8176SRussell King bool 2906c3df49SJamie Iles 302ea879a7SDaniel Lezcanoconfig BCM2835_TIMER 312ea879a7SDaniel Lezcano bool "BCM2835 timer driver" if COMPILE_TEST 322ea879a7SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 332ea879a7SDaniel Lezcano select CLKSRC_MMIO 342ea879a7SDaniel Lezcano help 352ea879a7SDaniel Lezcano Enables the support for the BCM2835 timer driver. 362ea879a7SDaniel Lezcano 371cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER 381cad71e3SDaniel Lezcano bool "BCM mobile timer driver" if COMPILE_TEST 391cad71e3SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 401cad71e3SDaniel Lezcano select CLKSRC_MMIO 411cad71e3SDaniel Lezcano help 421cad71e3SDaniel Lezcano Enables the support for the BCM Kona mobile timer driver. 431cad71e3SDaniel Lezcano 449b8bb773SBaruch Siachconfig DIGICOLOR_TIMER 45e6c1db13SDaniel Lezcano bool "Digicolor timer driver" if COMPILE_TEST 460901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 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 540901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 555b097f6bSDaniel Lezcano help 565b097f6bSDaniel Lezcano Enables the support for the dw_apb timer. 57489bcceaSMattias Wallin 58cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 59cfda5901SDinh Nguyen bool 601b4eca0fSHeiko Stuebner select DW_APB_TIMER 6110021488SHeiko Stuebner select CLKSRC_OF 62cfda5901SDinh Nguyen 63468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 6440ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 6540ada2aaSDaniel Lezcano depends on ARM || ARM64 66468b8c4cSDaniel Lezcano select CLKSRC_OF 6740ada2aaSDaniel Lezcano help 6840ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 69468b8c4cSDaniel Lezcano 706fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 719519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 729519e80cSDaniel Lezcano depends on ARM 737b0dd72aSJean Pihet select CLKSRC_OF 742be6d9bfSArnd Bergmann select CLKSRC_MMIO 759519e80cSDaniel Lezcano help 769519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 776fe9cbd1SGregory CLEMENT 78e4a6b378SCarlo Caioneconfig MESON6_TIMER 790b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 800901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 817b6b0a45SBeniamino Galvani select CLKSRC_MMIO 820b7a7bb7SDaniel Lezcano help 830b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 84e4a6b378SCarlo Caione 850c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 86c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 87c9165549SDaniel Lezcano depends on ARM 880c1dcfd5SSebastian Hesselbarth select CLKSRC_OF 890c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 90c9165549SDaniel Lezcano help 91c9165549SDaniel Lezcano Enables the support for the Orion timer driver 920c1dcfd5SSebastian Hesselbarth 93119fd635SMaxime Ripardconfig SUN4I_TIMER 94b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 950901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 96d7023e62SRichard Weinberger depends on HAS_IOMEM 9771c568c0SMaxime Ripard select CLKSRC_MMIO 98b4fcd48bSDaniel Lezcano help 99b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 100b2ac5d75SMaxime Ripard 10167905540SMaxime Ripardconfig SUN5I_HSTIMER 102f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 10367905540SMaxime Ripard select CLKSRC_MMIO 104f0c5afb7SDaniel Lezcano depends on COMMON_CLK 105f0c5afb7SDaniel Lezcano help 106f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 10767905540SMaxime Ripard 108910978e7SThierry Redingconfig TEGRA_TIMER 109adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1102be6d9bfSArnd Bergmann select CLKSRC_MMIO 111adce4bc8SDaniel Lezcano depends on ARM 112adce4bc8SDaniel Lezcano help 113adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 114910978e7SThierry Reding 115ff7ec345STony Priskconfig VT8500_TIMER 116b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 1170901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 118d7023e62SRichard Weinberger depends on HAS_IOMEM 119b4bdf7efSDaniel Lezcano help 120b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 121ff7ec345STony Prisk 1224f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 12357f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 12457f49318SDaniel Lezcano depends on COMMON_CLK 12557f49318SDaniel Lezcano help 12657f49318SDaniel Lezcano Enables support for the cadence ttc driver. 1274f0f234fSMichal Simek 128a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 129b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 1300901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 131a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 132a8b1b9fcSDaniel Lezcano select CLKSRC_OF 133b9755841SDaniel Lezcano help 134b9755841SDaniel Lezcano Enables support for the ASM9260 timer. 135a8b1b9fcSDaniel Lezcano 136694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 13770329653SDaniel Lezcano bool "Nomakdik clocksource driver" if COMPILE_TEST 13870329653SDaniel Lezcano depends on ARM 139694e33a7SLinus Walleij select CLKSRC_MMIO 140694e33a7SLinus Walleij help 141694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 142694e33a7SLinus Walleij to multiple interrupt generating programmable 143694e33a7SLinus Walleij 32-bit free running decrementing counters. 144694e33a7SLinus Walleij 145694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK 146694e33a7SLinus Walleij bool 147694e33a7SLinus Walleij depends on CLKSRC_NOMADIK_MTU 148694e33a7SLinus Walleij help 149694e33a7SLinus Walleij Use the Multi Timer Unit as the sched_clock. 150694e33a7SLinus Walleij 151489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 1521becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 1530901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 154d7023e62SRichard Weinberger depends on HAS_IOMEM 155489bcceaSMattias Wallin help 156489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 157489bcceaSMattias Wallin 158ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 159ecf0efdcSDaniel Lezcano bool "Cirrus logic timer driver" if COMPILE_TEST 160ecf0efdcSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 161ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 162ecf0efdcSDaniel Lezcano help 163ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 164ecf0efdcSDaniel Lezcano 165b56d5d21SDaniel Lezcanoconfig ATLAS7_TIMER 166b56d5d21SDaniel Lezcano bool "Atlas7 timer driver" if COMPILE_TEST 167b56d5d21SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 168b56d5d21SDaniel Lezcano select CLKSRC_MMIO 169b56d5d21SDaniel Lezcano help 170b56d5d21SDaniel Lezcano Enables support for the Atlas7 timer. 171b56d5d21SDaniel Lezcano 172419be9e3SDaniel Lezcanoconfig MOXART_TIMER 173419be9e3SDaniel Lezcano bool "Moxart timer driver" if COMPILE_TEST 174419be9e3SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 175419be9e3SDaniel Lezcano select CLKSRC_MMIO 176419be9e3SDaniel Lezcano help 177419be9e3SDaniel Lezcano Enables support for the Moxart timer. 178419be9e3SDaniel Lezcano 179d81c50a0SDaniel Lezcanoconfig MXS_TIMER 180d81c50a0SDaniel Lezcano bool "Mxs timer driver" if COMPILE_TEST 181d81c50a0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 182d81c50a0SDaniel Lezcano select CLKSRC_MMIO 183d81c50a0SDaniel Lezcano select STMP_DEVICE 184d81c50a0SDaniel Lezcano help 185d81c50a0SDaniel Lezcano Enables support for the Mxs timer. 186d81c50a0SDaniel Lezcano 187f3550d49SDaniel Lezcanoconfig PRIMA2_TIMER 188f3550d49SDaniel Lezcano bool "Prima2 timer driver" if COMPILE_TEST 189f3550d49SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 190f3550d49SDaniel Lezcano select CLKSRC_MMIO 191f3550d49SDaniel Lezcano help 192f3550d49SDaniel Lezcano Enables support for the Prima2 timer. 193f3550d49SDaniel Lezcano 19485f98db4SDaniel Lezcanoconfig U300_TIMER 19585f98db4SDaniel Lezcano bool "U300 timer driver" if COMPILE_TEST 19685f98db4SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 19785f98db4SDaniel Lezcano depends on ARM 19885f98db4SDaniel Lezcano select CLKSRC_MMIO 19985f98db4SDaniel Lezcano help 20085f98db4SDaniel Lezcano Enables support for the U300 timer. 20185f98db4SDaniel Lezcano 202d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 203d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 204d683b9dcSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 205d683b9dcSDaniel Lezcano select CLKSRC_MMIO 206d683b9dcSDaniel Lezcano help 207d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 208d683b9dcSDaniel Lezcano 209c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 210c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 211c12547a0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 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 depends on GENERIC_CLOCKEVENTS 220568c0342SDaniel Lezcano select CLKSRC_MMIO 221568c0342SDaniel Lezcano help 222568c0342SDaniel Lezcano Enables support for the Integrator-ap timer. 223568c0342SDaniel Lezcano 224489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK 225489bcceaSMattias Wallin bool "Clocksource PRCMU Timer sched_clock" 226694e33a7SLinus Walleij depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) 227489bcceaSMattias Wallin default y 228489bcceaSMattias Wallin help 229489bcceaSMattias Wallin Use the always on PRCMU Timer as sched_clock 230985c0679SMarc Zyngier 2319c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 2329c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 2339c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 23409ca2757SAxel Lin select CLKSRC_MMIO 2359c9b7818SUwe Kleine-König default ARCH_EFM32 2369c9b7818SUwe Kleine-König help 2379c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 2389c9b7818SUwe Kleine-König event device. 2399c9b7818SUwe Kleine-König 240050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 241ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 242863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 2431b18fd20SEzequiel Garcia depends on ARM 244050dd322SJoachim Eastwood select CLKSRC_MMIO 245050dd322SJoachim Eastwood select CLKSRC_OF 246ddcf48c7SDaniel Lezcano help 247ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 248050dd322SJoachim Eastwood 24984583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 250dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 251863ee050SRichard Weinberger depends on HAS_IOMEM 25284583983SEzequiel Garcia select CLKSRC_OF 253dfdb1652SDaniel Lezcano help 254dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 25584583983SEzequiel Garcia 256fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 257fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 258dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 259fe851f56SFelipe Balbi select CLKSRC_OF if OF 260fe851f56SFelipe Balbi help 261fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 262fe851f56SFelipe Balbi available on many OMAP-like platforms. 263fe851f56SFelipe Balbi 264a5322457SNoam Camusconfig CLKSRC_NPS 265a5322457SNoam Camus bool "NPS400 clocksource driver" if COMPILE_TEST 266a5322457SNoam Camus depends on !PHYS_ADDR_T_64BIT 267a5322457SNoam Camus select CLKSRC_MMIO 268a5322457SNoam Camus select CLKSRC_OF if OF 269a5322457SNoam Camus help 270a5322457SNoam Camus NPS400 clocksource support. 271a5322457SNoam Camus Got 64 bit counter with update rate up to 1000MHz. 272a5322457SNoam Camus This counter is accessed via couple of 32 bit memory mapped registers. 273a5322457SNoam Camus 274e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2751cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2761cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 277e37e4593SMaxime Coquelin select CLKSRC_MMIO 278e37e4593SMaxime Coquelin 2790302637fSVladimir Murzinconfig CLKSRC_MPS2 2800302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2810302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2820302637fSVladimir Murzin select CLKSRC_MMIO 2830302637fSVladimir Murzin select CLKSRC_OF 2840302637fSVladimir Murzin 285c4c9a040SVineet Guptaconfig ARC_TIMERS 286c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 287c4c9a040SVineet Gupta depends on GENERIC_CLOCKEVENTS 288c4c9a040SVineet Gupta select CLKSRC_OF 289c4c9a040SVineet Gupta help 290c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 291c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 292c4c9a040SVineet Gupta TIMER0 serves as clockevent while TIMER1 provides clocksource 293c4c9a040SVineet Gupta 294c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 295c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 296c4c9a040SVineet Gupta depends on GENERIC_CLOCKEVENTS 297c4c9a040SVineet Gupta depends on ARC_TIMERS 298c4c9a040SVineet Gupta select CLKSRC_OF 299c4c9a040SVineet Gupta help 300c4c9a040SVineet Gupta This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP) 301c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 302c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 303c4c9a040SVineet Gupta as appropriate. 304c4c9a040SVineet Gupta 3058a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 3068a4da6e3SMark Rutland bool 3070583fe47SRob Herring select CLKSRC_OF if OF 308ae281cbdSMarc Zyngier select CLKSRC_ACPI if ACPI 309a2c5d4edSJames Hogan 310037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 31146fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 312037f6377SWill Deacon default y if ARM_ARCH_TIMER 31377f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 314037f6377SWill Deacon help 31546fd5c6bSWill Deacon This option enables support by default for event stream generation 31646fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 31746fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 31846fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 31946fd5c6bSWill Deacon overridden on the command line using the 32046fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 321037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 322037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 323037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 324037f6377SWill Deacon event is not generated. 325037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 326037f6377SWill Deacon hardware anomalies of missing events. 327037f6377SWill Deacon 328f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 329f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 330f6dc1576SScott Wood default y 331f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 332f6dc1576SScott Wood help 333f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 334f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 335f6dc1576SScott Wood value"). The workaround will only be active if the 336f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 337f6dc1576SScott Wood 338c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 33967a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 340c1b40e44SStuart Menefy select CLKSRC_OF if OF 34167a87a43SDaniel Lezcano depends on ARM 342c1b40e44SStuart Menefy help 343c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 344c1b40e44SStuart Menefy 3450b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 3460b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 347002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 3480b7402dcSSudeep Holla select CLKSRC_MMIO 3490b7402dcSSudeep Holla select CLKSRC_OF if OF 3500b7402dcSSudeep Holla 351c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 352c1b40e44SStuart Menefy bool 353c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 354c1b40e44SStuart Menefy default y 355c1b40e44SStuart Menefy help 356c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 357c1b40e44SStuart Menefy 3584958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 359e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 3604958ebb3SMaxime Coquelin select CLKSRC_OF if OF 3614958ebb3SMaxime Coquelin select CLKSRC_MMIO 3624958ebb3SMaxime Coquelin help 3634958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 3644958ebb3SMaxime Coquelin 365b052ff30SMaxime Ripardconfig ATMEL_PIT 366b052ff30SMaxime Ripard select CLKSRC_OF if OF 367b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 368b052ff30SMaxime Ripard 369b53cdd03SAlexandre Belloniconfig ATMEL_ST 370b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 371b988d3f0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 372b53cdd03SAlexandre Belloni select CLKSRC_OF 3737ab7ef74SAlexandre Belloni select MFD_SYSCON 374b988d3f0SDaniel Lezcano help 375b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 376b53cdd03SAlexandre Belloni 377a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC 378a2c5d4edSJames Hogan def_bool y if METAG 379a2c5d4edSJames Hogan help 380a2c5d4edSJames Hogan This option enables support for the Meta per-thread timers. 3816938d75aSThomas Abraham 3826938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 38339366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 384f1a4c1f3SChanwoo Choi depends on ARM || ARM64 3856938d75aSThomas Abraham help 3866938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 387241a9871SArnd Bergmann 388f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 389de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 3900901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 391d7023e62SRichard Weinberger depends on HAS_IOMEM 392f1189989STomasz Figa help 393f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 394f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 395f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 396f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 397c1967249SJingchang Lu 3982529c3a3SXiubo Liconfig FSL_FTM_TIMER 399ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 4000901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 401d7023e62SRichard Weinberger depends on HAS_IOMEM 40203724ac3SDaniel Lezcano select CLKSRC_MMIO 4032529c3a3SXiubo Li help 4042529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4052529c3a3SXiubo Li 406c1967249SJingchang Luconfig VF_PIT_TIMER 407c1967249SJingchang Lu bool 4082be6d9bfSArnd Bergmann select CLKSRC_MMIO 409c1967249SJingchang Lu help 410c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 411fd3f1270SMagnus Damm 41289355274SNeil Armstrongconfig OXNAS_RPS_TIMER 41389355274SNeil Armstrong bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST 41489355274SNeil Armstrong depends on GENERIC_CLOCKEVENTS 41589355274SNeil Armstrong select CLKSRC_OF 41689355274SNeil Armstrong select CLKSRC_MMIO 41789355274SNeil Armstrong help 41889355274SNeil Armstrong This enables support for the Oxford Semiconductor OXNAS RPS timers. 41989355274SNeil Armstrong 420fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 421fd3f1270SMagnus Damm bool 422fd3f1270SMagnus Damm 423ecb3530dSMatthias Bruggerconfig MTK_TIMER 424fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 425863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 426ecb3530dSMatthias Brugger select CLKSRC_OF 427ecb3530dSMatthias Brugger select CLKSRC_MMIO 428fbca9eabSDaniel Lezcano help 429fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 430ecb3530dSMatthias Brugger 431fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 432fd3f1270SMagnus Damm bool 433fd3f1270SMagnus Damm 434fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 435fd3f1270SMagnus Damm bool 436fd3f1270SMagnus Damm 437fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 438fd3f1270SMagnus Damm bool 439fd3f1270SMagnus Damm 4409995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 4419995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 4429995f4f1SRich Felker depends on OF 4439995f4f1SRich Felker depends on GENERIC_CLOCKEVENTS 4449995f4f1SRich Felker depends on HAS_IOMEM 4459995f4f1SRich Felker select CLKSRC_MMIO 4469995f4f1SRich Felker help 4479995f4f1SRich Felker This enables build of clocksource and clockevent driver for 4489995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 4499995f4f1SRich Felker 450fd3f1270SMagnus Dammconfig SH_TIMER_CMT 451fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 45287291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 45311bc26feSRichard Weinberger depends on HAS_IOMEM 454fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 455fd3f1270SMagnus Damm help 456fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 457fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 458fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 459fd3f1270SMagnus Damm 460fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 461fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 46287291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 46311bc26feSRichard Weinberger depends on HAS_IOMEM 464fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 465fd3f1270SMagnus Damm help 466fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 4677e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 468fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 469fd3f1270SMagnus Damm 470fd3f1270SMagnus Dammconfig SH_TIMER_TMU 471fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 47287291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 47311bc26feSRichard Weinberger depends on HAS_IOMEM 474fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 475fd3f1270SMagnus Damm help 476fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 477fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 478fd3f1270SMagnus Damm SoCs from Renesas. 479fd3f1270SMagnus Damm 480fd3f1270SMagnus Dammconfig EM_TIMER_STI 481fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 48240c96312SChen Gang depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 483fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 484fd3f1270SMagnus Damm help 485fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 486fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 487fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 488dfc25e45SLinus Torvalds 4893f8e8ceeSKumar Galaconfig CLKSRC_QCOM 4903dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 4913dc0e9f6SDaniel Lezcano depends on ARM 4923dc0e9f6SDaniel Lezcano select CLKSRC_OF 4933dc0e9f6SDaniel Lezcano help 4943dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 4953dc0e9f6SDaniel Lezcano Qualcomm SoCs. 496220e2a8dSPawel Moll 497220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 4985cc87a4dSDaniel Lezcano bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 4995cc87a4dSDaniel Lezcano depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 500220e2a8dSPawel Moll select CLKSRC_OF 501220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 502220e2a8dSPawel Moll help 503220e2a8dSPawel Moll This option enables clock source based on free running 504220e2a8dSPawel Moll counter available in the "System Registers" block of 505220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 506220e2a8dSPawel Moll platforms. 50758394271SJean Delvare 508fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 509fa5635a2SAndrew Bresticker bool 510fa5635a2SAndrew Bresticker depends on MIPS_GIC 511e12aa828SAndrew Bresticker select CLKSRC_OF 512fa5635a2SAndrew Bresticker 513ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL 5145a7351f0SDaniel Lezcano bool "Clocksource for Tango SoC" if COMPILE_TEST 5155a7351f0SDaniel Lezcano depends on ARM 516ccd63ce4SMarc Gonzalez select CLKSRC_OF 5170881841fSDaniel Lezcano select CLKSRC_MMIO 5185a7351f0SDaniel Lezcano help 5195a7351f0SDaniel Lezcano This enables the clocksource for Tango SoC 520ccd63ce4SMarc Gonzalez 521e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 5225ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 5235ae996cbSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 524d7023e62SRichard Weinberger depends on HAS_IOMEM 5255ae996cbSDaniel Lezcano select CLKSRC_MMIO 526e074ff86SDmitry Eremin-Solenikov help 527e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 528e074ff86SDmitry Eremin-Solenikov platforms. 529618b902dSYoshinori Sato 53097a23bebSDaniel Lezcanoconfig H8300_TMR8 53146e7c3c6SDaniel Lezcano bool "Clockevent timer for the H8300 platform" if COMPILE_TEST 532863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 53346e7c3c6SDaniel Lezcano help 53446e7c3c6SDaniel Lezcano This enables the 8 bits timer for the H8300 platform. 53597a23bebSDaniel Lezcano 536618b902dSYoshinori Satoconfig H8300_TMR16 53746e7c3c6SDaniel Lezcano bool "Clockevent timer for the H83069 platform" if COMPILE_TEST 538863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 53946e7c3c6SDaniel Lezcano help 54046e7c3c6SDaniel Lezcano This enables the 16 bits timer for the H8300 platform with the 54146e7c3c6SDaniel Lezcano H83069 cpu. 542618b902dSYoshinori Sato 543618b902dSYoshinori Satoconfig H8300_TPU 54446e7c3c6SDaniel Lezcano bool "Clocksource for the H8300 platform" if COMPILE_TEST 545863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 54646e7c3c6SDaniel Lezcano help 54746e7c3c6SDaniel Lezcano This enables the clocksource for the H8300 platform with the 54846e7c3c6SDaniel Lezcano H8S2678 cpu. 549618b902dSYoshinori Sato 550bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 551bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 552bea5af41SShawn Guo depends on ARM && CLKDEV_LOOKUP 553bea5af41SShawn Guo select CLKSRC_MMIO 554bea5af41SShawn Guo 55570bef01cSLee Jonesconfig CLKSRC_ST_LPC 556baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 55770bef01cSLee Jones select CLKSRC_OF if OF 558863ee050SRichard Weinberger depends on HAS_IOMEM 5592be6d9bfSArnd Bergmann select CLKSRC_MMIO 56070bef01cSLee Jones help 56170bef01cSLee Jones Enable this option to use the Low Power controller timer 56270bef01cSLee Jones as clocksource. 56370bef01cSLee Jones 56458394271SJean Delvareendmenu 565