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 8*376bc271SDaniel Lezcanoconfig CLKEVT_OF 9*376bc271SDaniel Lezcano bool 10*376bc271SDaniel Lezcano select CLKEVT_PROBE 11*376bc271SDaniel Lezcano 12aad83b15SMarc Zyngierconfig CLKSRC_ACPI 13aad83b15SMarc Zyngier bool 14aad83b15SMarc Zyngier select CLKSRC_PROBE 15aad83b15SMarc Zyngier 16aad83b15SMarc Zyngierconfig CLKSRC_PROBE 17aad83b15SMarc Zyngier bool 18ae278a93SStephen Warren 19*376bc271SDaniel Lezcanoconfig CLKEVT_PROBE 20*376bc271SDaniel Lezcano bool 21*376bc271SDaniel Lezcano 2289c0b8e2SRussell Kingconfig CLKSRC_I8253 2389c0b8e2SRussell King bool 24442c8176SRussell King 25e6220bdcSThomas Gleixnerconfig CLKEVT_I8253 26e6220bdcSThomas Gleixner bool 27e6220bdcSThomas Gleixner 2815f304b6SRalf Baechleconfig I8253_LOCK 2915f304b6SRalf Baechle bool 3015f304b6SRalf Baechle 3115f304b6SRalf Baechleconfig CLKBLD_I8253 32e6220bdcSThomas Gleixner def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 3315f304b6SRalf Baechle 34442c8176SRussell Kingconfig CLKSRC_MMIO 35442c8176SRussell King bool 3606c3df49SJamie Iles 372ea879a7SDaniel Lezcanoconfig BCM2835_TIMER 382ea879a7SDaniel Lezcano bool "BCM2835 timer driver" if COMPILE_TEST 392ea879a7SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 402ea879a7SDaniel Lezcano select CLKSRC_MMIO 412ea879a7SDaniel Lezcano help 422ea879a7SDaniel Lezcano Enables the support for the BCM2835 timer driver. 432ea879a7SDaniel Lezcano 441cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER 451cad71e3SDaniel Lezcano bool "BCM mobile timer driver" if COMPILE_TEST 461cad71e3SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 471cad71e3SDaniel Lezcano select CLKSRC_MMIO 481cad71e3SDaniel Lezcano help 491cad71e3SDaniel Lezcano Enables the support for the BCM Kona mobile timer driver. 501cad71e3SDaniel Lezcano 519b8bb773SBaruch Siachconfig DIGICOLOR_TIMER 52e6c1db13SDaniel Lezcano bool "Digicolor timer driver" if COMPILE_TEST 530901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 542be6d9bfSArnd Bergmann select CLKSRC_MMIO 55d7023e62SRichard Weinberger depends on HAS_IOMEM 56e6c1db13SDaniel Lezcano help 57e6c1db13SDaniel Lezcano Enables the support for the digicolor timer driver. 589b8bb773SBaruch Siach 5906c3df49SJamie Ilesconfig DW_APB_TIMER 605b097f6bSDaniel Lezcano bool "DW APB timer driver" if COMPILE_TEST 610901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 625b097f6bSDaniel Lezcano help 635b097f6bSDaniel Lezcano Enables the support for the dw_apb timer. 64489bcceaSMattias Wallin 65cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 66cfda5901SDinh Nguyen bool 671b4eca0fSHeiko Stuebner select DW_APB_TIMER 6810021488SHeiko Stuebner select CLKSRC_OF 69cfda5901SDinh Nguyen 70468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 7140ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 7240ada2aaSDaniel Lezcano depends on ARM || ARM64 73468b8c4cSDaniel Lezcano select CLKSRC_OF 7440ada2aaSDaniel Lezcano help 7540ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 76468b8c4cSDaniel Lezcano 776fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 789519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 799519e80cSDaniel Lezcano depends on ARM 807b0dd72aSJean Pihet select CLKSRC_OF 812be6d9bfSArnd Bergmann select CLKSRC_MMIO 829519e80cSDaniel Lezcano help 839519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 846fe9cbd1SGregory CLEMENT 85e4a6b378SCarlo Caioneconfig MESON6_TIMER 860b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 870901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 887b6b0a45SBeniamino Galvani select CLKSRC_MMIO 890b7a7bb7SDaniel Lezcano help 900b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 91e4a6b378SCarlo Caione 920c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 93c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 94c9165549SDaniel Lezcano depends on ARM 950c1dcfd5SSebastian Hesselbarth select CLKSRC_OF 960c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 97c9165549SDaniel Lezcano help 98c9165549SDaniel Lezcano Enables the support for the Orion timer driver 990c1dcfd5SSebastian Hesselbarth 100119fd635SMaxime Ripardconfig SUN4I_TIMER 101b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 1020901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 103d7023e62SRichard Weinberger depends on HAS_IOMEM 10471c568c0SMaxime Ripard select CLKSRC_MMIO 105b4fcd48bSDaniel Lezcano help 106b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 107b2ac5d75SMaxime Ripard 10867905540SMaxime Ripardconfig SUN5I_HSTIMER 109f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 11067905540SMaxime Ripard select CLKSRC_MMIO 111f0c5afb7SDaniel Lezcano depends on COMMON_CLK 112f0c5afb7SDaniel Lezcano help 113f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 11467905540SMaxime Ripard 115910978e7SThierry Redingconfig TEGRA_TIMER 116adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 1172be6d9bfSArnd Bergmann select CLKSRC_MMIO 118adce4bc8SDaniel Lezcano depends on ARM 119adce4bc8SDaniel Lezcano help 120adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 121910978e7SThierry Reding 122ff7ec345STony Priskconfig VT8500_TIMER 123b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 1240901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 125d7023e62SRichard Weinberger depends on HAS_IOMEM 126b4bdf7efSDaniel Lezcano help 127b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 128ff7ec345STony Prisk 1294f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 13057f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 13157f49318SDaniel Lezcano depends on COMMON_CLK 13257f49318SDaniel Lezcano help 13357f49318SDaniel Lezcano Enables support for the cadence ttc driver. 1344f0f234fSMichal Simek 135a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 136b9755841SDaniel Lezcano bool "ASM9260 timer driver" if COMPILE_TEST 1370901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 138a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 139a8b1b9fcSDaniel Lezcano select CLKSRC_OF 140b9755841SDaniel Lezcano help 141b9755841SDaniel Lezcano Enables support for the ASM9260 timer. 142a8b1b9fcSDaniel Lezcano 143694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 14470329653SDaniel Lezcano bool "Nomakdik clocksource driver" if COMPILE_TEST 14570329653SDaniel Lezcano depends on ARM 146694e33a7SLinus Walleij select CLKSRC_MMIO 147694e33a7SLinus Walleij help 148694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 149694e33a7SLinus Walleij to multiple interrupt generating programmable 150694e33a7SLinus Walleij 32-bit free running decrementing counters. 151694e33a7SLinus Walleij 152694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK 153694e33a7SLinus Walleij bool 154694e33a7SLinus Walleij depends on CLKSRC_NOMADIK_MTU 155694e33a7SLinus Walleij help 156694e33a7SLinus Walleij Use the Multi Timer Unit as the sched_clock. 157694e33a7SLinus Walleij 158489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 1591becd6edSDaniel Lezcano bool "Clocksource PRCMU Timer" if COMPILE_TEST 1600901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 161d7023e62SRichard Weinberger depends on HAS_IOMEM 162489bcceaSMattias Wallin help 163489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 164489bcceaSMattias Wallin 165ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER 166ecf0efdcSDaniel Lezcano bool "Cirrus logic timer driver" if COMPILE_TEST 167ecf0efdcSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 168ecf0efdcSDaniel Lezcano select CLKSRC_MMIO 169ecf0efdcSDaniel Lezcano help 170ecf0efdcSDaniel Lezcano Enables support for the Cirrus Logic PS711 timer. 171ecf0efdcSDaniel Lezcano 172b56d5d21SDaniel Lezcanoconfig ATLAS7_TIMER 173b56d5d21SDaniel Lezcano bool "Atlas7 timer driver" if COMPILE_TEST 174b56d5d21SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 175b56d5d21SDaniel Lezcano select CLKSRC_MMIO 176b56d5d21SDaniel Lezcano help 177b56d5d21SDaniel Lezcano Enables support for the Atlas7 timer. 178b56d5d21SDaniel Lezcano 179419be9e3SDaniel Lezcanoconfig MOXART_TIMER 180419be9e3SDaniel Lezcano bool "Moxart timer driver" if COMPILE_TEST 181419be9e3SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 182419be9e3SDaniel Lezcano select CLKSRC_MMIO 183419be9e3SDaniel Lezcano help 184419be9e3SDaniel Lezcano Enables support for the Moxart timer. 185419be9e3SDaniel Lezcano 186d81c50a0SDaniel Lezcanoconfig MXS_TIMER 187d81c50a0SDaniel Lezcano bool "Mxs timer driver" if COMPILE_TEST 188d81c50a0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 189d81c50a0SDaniel Lezcano select CLKSRC_MMIO 190d81c50a0SDaniel Lezcano select STMP_DEVICE 191d81c50a0SDaniel Lezcano help 192d81c50a0SDaniel Lezcano Enables support for the Mxs timer. 193d81c50a0SDaniel Lezcano 194f3550d49SDaniel Lezcanoconfig PRIMA2_TIMER 195f3550d49SDaniel Lezcano bool "Prima2 timer driver" if COMPILE_TEST 196f3550d49SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 197f3550d49SDaniel Lezcano select CLKSRC_MMIO 198f3550d49SDaniel Lezcano help 199f3550d49SDaniel Lezcano Enables support for the Prima2 timer. 200f3550d49SDaniel Lezcano 20185f98db4SDaniel Lezcanoconfig U300_TIMER 20285f98db4SDaniel Lezcano bool "U300 timer driver" if COMPILE_TEST 20385f98db4SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 20485f98db4SDaniel Lezcano depends on ARM 20585f98db4SDaniel Lezcano select CLKSRC_MMIO 20685f98db4SDaniel Lezcano help 20785f98db4SDaniel Lezcano Enables support for the U300 timer. 20885f98db4SDaniel Lezcano 209d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER 210d683b9dcSDaniel Lezcano bool "NSpire timer driver" if COMPILE_TEST 211d683b9dcSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 212d683b9dcSDaniel Lezcano select CLKSRC_MMIO 213d683b9dcSDaniel Lezcano help 214d683b9dcSDaniel Lezcano Enables support for the Nspire timer. 215d683b9dcSDaniel Lezcano 216c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER 217c12547a0SDaniel Lezcano bool "Keystone timer driver" if COMPILE_TEST 218c12547a0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 219c12547a0SDaniel Lezcano depends on ARM || ARM64 220c12547a0SDaniel Lezcano select CLKSRC_MMIO 221c12547a0SDaniel Lezcano help 222c12547a0SDaniel Lezcano Enables support for the Keystone timer. 223c12547a0SDaniel Lezcano 224568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER 225568c0342SDaniel Lezcano bool "Integrator-ap timer driver" if COMPILE_TEST 226568c0342SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 227568c0342SDaniel Lezcano select CLKSRC_MMIO 228568c0342SDaniel Lezcano help 229568c0342SDaniel Lezcano Enables support for the Integrator-ap timer. 230568c0342SDaniel Lezcano 231489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK 232489bcceaSMattias Wallin bool "Clocksource PRCMU Timer sched_clock" 233694e33a7SLinus Walleij depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) 234489bcceaSMattias Wallin default y 235489bcceaSMattias Wallin help 236489bcceaSMattias Wallin Use the always on PRCMU Timer as sched_clock 237985c0679SMarc Zyngier 2389c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 2399c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 2409c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 24109ca2757SAxel Lin select CLKSRC_MMIO 2429c9b7818SUwe Kleine-König default ARCH_EFM32 2439c9b7818SUwe Kleine-König help 2449c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 2459c9b7818SUwe Kleine-König event device. 2469c9b7818SUwe Kleine-König 247050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 248ddcf48c7SDaniel Lezcano bool "Clocksource for LPC32XX" if COMPILE_TEST 249863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 2501b18fd20SEzequiel Garcia depends on ARM 251050dd322SJoachim Eastwood select CLKSRC_MMIO 252050dd322SJoachim Eastwood select CLKSRC_OF 253ddcf48c7SDaniel Lezcano help 254ddcf48c7SDaniel Lezcano Support for the LPC32XX clocksource. 255050dd322SJoachim Eastwood 25684583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 257dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 258863ee050SRichard Weinberger depends on HAS_IOMEM 25984583983SEzequiel Garcia select CLKSRC_OF 260dfdb1652SDaniel Lezcano help 261dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 26284583983SEzequiel Garcia 263fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 264fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 265dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 266fe851f56SFelipe Balbi select CLKSRC_OF if OF 267fe851f56SFelipe Balbi help 268fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 269fe851f56SFelipe Balbi available on many OMAP-like platforms. 270fe851f56SFelipe Balbi 271a5322457SNoam Camusconfig CLKSRC_NPS 272a5322457SNoam Camus bool "NPS400 clocksource driver" if COMPILE_TEST 273a5322457SNoam Camus depends on !PHYS_ADDR_T_64BIT 274a5322457SNoam Camus select CLKSRC_MMIO 275a5322457SNoam Camus select CLKSRC_OF if OF 276a5322457SNoam Camus help 277a5322457SNoam Camus NPS400 clocksource support. 278a5322457SNoam Camus Got 64 bit counter with update rate up to 1000MHz. 279a5322457SNoam Camus This counter is accessed via couple of 32 bit memory mapped registers. 280a5322457SNoam Camus 281e37e4593SMaxime Coquelinconfig CLKSRC_STM32 2821cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 2831cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 284e37e4593SMaxime Coquelin select CLKSRC_MMIO 285e37e4593SMaxime Coquelin 2860302637fSVladimir Murzinconfig CLKSRC_MPS2 2870302637fSVladimir Murzin bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 2880302637fSVladimir Murzin depends on GENERIC_SCHED_CLOCK 2890302637fSVladimir Murzin select CLKSRC_MMIO 2900302637fSVladimir Murzin select CLKSRC_OF 2910302637fSVladimir Murzin 292c4c9a040SVineet Guptaconfig ARC_TIMERS 293c4c9a040SVineet Gupta bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 294c4c9a040SVineet Gupta depends on GENERIC_CLOCKEVENTS 295c4c9a040SVineet Gupta select CLKSRC_OF 296c4c9a040SVineet Gupta help 297c4c9a040SVineet Gupta These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 298c4c9a040SVineet Gupta (ARC700 as well as ARC HS38). 299c4c9a040SVineet Gupta TIMER0 serves as clockevent while TIMER1 provides clocksource 300c4c9a040SVineet Gupta 301c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT 302c4c9a040SVineet Gupta bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 303c4c9a040SVineet Gupta depends on GENERIC_CLOCKEVENTS 304c4c9a040SVineet Gupta depends on ARC_TIMERS 305c4c9a040SVineet Gupta select CLKSRC_OF 306c4c9a040SVineet Gupta help 307c4c9a040SVineet Gupta This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP) 308c4c9a040SVineet Gupta RTC is implemented inside the core, while GFRC sits outside the core in 309c4c9a040SVineet Gupta ARConnect IP block. Driver automatically picks one of them for clocksource 310c4c9a040SVineet Gupta as appropriate. 311c4c9a040SVineet Gupta 3128a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 3138a4da6e3SMark Rutland bool 3140583fe47SRob Herring select CLKSRC_OF if OF 315ae281cbdSMarc Zyngier select CLKSRC_ACPI if ACPI 316a2c5d4edSJames Hogan 317037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 31846fd5c6bSWill Deacon bool "Enable ARM architected timer event stream generation by default" 319037f6377SWill Deacon default y if ARM_ARCH_TIMER 32077f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 321037f6377SWill Deacon help 32246fd5c6bSWill Deacon This option enables support by default for event stream generation 32346fd5c6bSWill Deacon based on the ARM architected timer. It is used for waking up CPUs 32446fd5c6bSWill Deacon executing the wfe instruction at a frequency represented as a 32546fd5c6bSWill Deacon power-of-2 divisor of the clock rate. The behaviour can also be 32646fd5c6bSWill Deacon overridden on the command line using the 32746fd5c6bSWill Deacon clocksource.arm_arch_timer.evtstream parameter. 328037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 329037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 330037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 331037f6377SWill Deacon event is not generated. 332037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 333037f6377SWill Deacon hardware anomalies of missing events. 334037f6377SWill Deacon 335f6dc1576SScott Woodconfig FSL_ERRATUM_A008585 336f6dc1576SScott Wood bool "Workaround for Freescale/NXP Erratum A-008585" 337f6dc1576SScott Wood default y 338f6dc1576SScott Wood depends on ARM_ARCH_TIMER && ARM64 339f6dc1576SScott Wood help 340f6dc1576SScott Wood This option enables a workaround for Freescale/NXP Erratum 341f6dc1576SScott Wood A-008585 ("ARM generic timer may contain an erroneous 342f6dc1576SScott Wood value"). The workaround will only be active if the 343f6dc1576SScott Wood fsl,erratum-a008585 property is found in the timer node. 344f6dc1576SScott Wood 345c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 34667a87a43SDaniel Lezcano bool "Support for the ARM global timer" if COMPILE_TEST 347c1b40e44SStuart Menefy select CLKSRC_OF if OF 34867a87a43SDaniel Lezcano depends on ARM 349c1b40e44SStuart Menefy help 350c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 351c1b40e44SStuart Menefy 3520b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 3530b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 354002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 3550b7402dcSSudeep Holla select CLKSRC_MMIO 3560b7402dcSSudeep Holla select CLKSRC_OF if OF 3570b7402dcSSudeep Holla 358c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 359c1b40e44SStuart Menefy bool 360c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 361c1b40e44SStuart Menefy default y 362c1b40e44SStuart Menefy help 363c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 364c1b40e44SStuart Menefy 3654958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 366e2146d86SDaniel Lezcano bool "Support for the ARMv7M system time" if COMPILE_TEST 3674958ebb3SMaxime Coquelin select CLKSRC_OF if OF 3684958ebb3SMaxime Coquelin select CLKSRC_MMIO 3694958ebb3SMaxime Coquelin help 3704958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 3714958ebb3SMaxime Coquelin 372b052ff30SMaxime Ripardconfig ATMEL_PIT 373b052ff30SMaxime Ripard select CLKSRC_OF if OF 374b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 375b052ff30SMaxime Ripard 376b53cdd03SAlexandre Belloniconfig ATMEL_ST 377b988d3f0SDaniel Lezcano bool "Atmel ST timer support" if COMPILE_TEST 378b988d3f0SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 379b53cdd03SAlexandre Belloni select CLKSRC_OF 3807ab7ef74SAlexandre Belloni select MFD_SYSCON 381b988d3f0SDaniel Lezcano help 382b988d3f0SDaniel Lezcano Support for the Atmel ST timer. 383b53cdd03SAlexandre Belloni 384a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC 385a2c5d4edSJames Hogan def_bool y if METAG 386a2c5d4edSJames Hogan help 387a2c5d4edSJames Hogan This option enables support for the Meta per-thread timers. 3886938d75aSThomas Abraham 3896938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 39039366ef4SDaniel Lezcano bool "Exynos multi core timer driver" if COMPILE_TEST 391f1a4c1f3SChanwoo Choi depends on ARM || ARM64 3926938d75aSThomas Abraham help 3936938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 394241a9871SArnd Bergmann 395f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 396de37b0b5SAlexandre Belloni bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 3970901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 398d7023e62SRichard Weinberger depends on HAS_IOMEM 399f1189989STomasz Figa help 400f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 401f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 402f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 403f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 404c1967249SJingchang Lu 4052529c3a3SXiubo Liconfig FSL_FTM_TIMER 406ef49336bSDaniel Lezcano bool "Freescale FlexTimer Module driver" if COMPILE_TEST 4070901f184SDaniel Lezcano depends on GENERIC_CLOCKEVENTS 408d7023e62SRichard Weinberger depends on HAS_IOMEM 40903724ac3SDaniel Lezcano select CLKSRC_MMIO 4102529c3a3SXiubo Li help 4112529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 4122529c3a3SXiubo Li 413c1967249SJingchang Luconfig VF_PIT_TIMER 414c1967249SJingchang Lu bool 4152be6d9bfSArnd Bergmann select CLKSRC_MMIO 416c1967249SJingchang Lu help 417c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 418fd3f1270SMagnus Damm 41989355274SNeil Armstrongconfig OXNAS_RPS_TIMER 42089355274SNeil Armstrong bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST 42189355274SNeil Armstrong depends on GENERIC_CLOCKEVENTS 42289355274SNeil Armstrong select CLKSRC_OF 42389355274SNeil Armstrong select CLKSRC_MMIO 42489355274SNeil Armstrong help 42589355274SNeil Armstrong This enables support for the Oxford Semiconductor OXNAS RPS timers. 42689355274SNeil Armstrong 427fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 428fd3f1270SMagnus Damm bool 429fd3f1270SMagnus Damm 430ecb3530dSMatthias Bruggerconfig MTK_TIMER 431fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 432863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 433ecb3530dSMatthias Brugger select CLKSRC_OF 434ecb3530dSMatthias Brugger select CLKSRC_MMIO 435fbca9eabSDaniel Lezcano help 436fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 437ecb3530dSMatthias Brugger 438fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 439fd3f1270SMagnus Damm bool 440fd3f1270SMagnus Damm 441fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 442fd3f1270SMagnus Damm bool 443fd3f1270SMagnus Damm 444fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 445fd3f1270SMagnus Damm bool 446fd3f1270SMagnus Damm 4479995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT 4489995f4f1SRich Felker bool "J-Core PIT timer driver" if COMPILE_TEST 4499995f4f1SRich Felker depends on OF 4509995f4f1SRich Felker depends on GENERIC_CLOCKEVENTS 4519995f4f1SRich Felker depends on HAS_IOMEM 4529995f4f1SRich Felker select CLKSRC_MMIO 4539995f4f1SRich Felker help 4549995f4f1SRich Felker This enables build of clocksource and clockevent driver for 4559995f4f1SRich Felker the integrated PIT in the J-Core synthesizable, open source SoC. 4569995f4f1SRich Felker 457fd3f1270SMagnus Dammconfig SH_TIMER_CMT 458fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 45987291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 46011bc26feSRichard Weinberger depends on HAS_IOMEM 461fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 462fd3f1270SMagnus Damm help 463fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 464fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 465fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 466fd3f1270SMagnus Damm 467fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 468fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 46987291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 47011bc26feSRichard Weinberger depends on HAS_IOMEM 471fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 472fd3f1270SMagnus Damm help 473fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 4747e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 475fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 476fd3f1270SMagnus Damm 477fd3f1270SMagnus Dammconfig SH_TIMER_TMU 478fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 47987291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 48011bc26feSRichard Weinberger depends on HAS_IOMEM 481fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 482fd3f1270SMagnus Damm help 483fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 484fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 485fd3f1270SMagnus Damm SoCs from Renesas. 486fd3f1270SMagnus Damm 487fd3f1270SMagnus Dammconfig EM_TIMER_STI 488fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 48940c96312SChen Gang depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 490fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 491fd3f1270SMagnus Damm help 492fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 493fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 494fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 495dfc25e45SLinus Torvalds 4963f8e8ceeSKumar Galaconfig CLKSRC_QCOM 4973dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 4983dc0e9f6SDaniel Lezcano depends on ARM 4993dc0e9f6SDaniel Lezcano select CLKSRC_OF 5003dc0e9f6SDaniel Lezcano help 5013dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 5023dc0e9f6SDaniel Lezcano Qualcomm SoCs. 503220e2a8dSPawel Moll 504220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 5055cc87a4dSDaniel Lezcano bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 5065cc87a4dSDaniel Lezcano depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 507220e2a8dSPawel Moll select CLKSRC_OF 508220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 509220e2a8dSPawel Moll help 510220e2a8dSPawel Moll This option enables clock source based on free running 511220e2a8dSPawel Moll counter available in the "System Registers" block of 512220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 513220e2a8dSPawel Moll platforms. 51458394271SJean Delvare 515fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 516fa5635a2SAndrew Bresticker bool 517fa5635a2SAndrew Bresticker depends on MIPS_GIC 518e12aa828SAndrew Bresticker select CLKSRC_OF 519fa5635a2SAndrew Bresticker 520ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL 5215a7351f0SDaniel Lezcano bool "Clocksource for Tango SoC" if COMPILE_TEST 5225a7351f0SDaniel Lezcano depends on ARM 523ccd63ce4SMarc Gonzalez select CLKSRC_OF 5240881841fSDaniel Lezcano select CLKSRC_MMIO 5255a7351f0SDaniel Lezcano help 5265a7351f0SDaniel Lezcano This enables the clocksource for Tango SoC 527ccd63ce4SMarc Gonzalez 528e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 5295ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 5305ae996cbSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 531d7023e62SRichard Weinberger depends on HAS_IOMEM 5325ae996cbSDaniel Lezcano select CLKSRC_MMIO 533e074ff86SDmitry Eremin-Solenikov help 534e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 535e074ff86SDmitry Eremin-Solenikov platforms. 536618b902dSYoshinori Sato 53797a23bebSDaniel Lezcanoconfig H8300_TMR8 53846e7c3c6SDaniel Lezcano bool "Clockevent timer for the H8300 platform" if COMPILE_TEST 539863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 54046e7c3c6SDaniel Lezcano help 54146e7c3c6SDaniel Lezcano This enables the 8 bits timer for the H8300 platform. 54297a23bebSDaniel Lezcano 543618b902dSYoshinori Satoconfig H8300_TMR16 54446e7c3c6SDaniel Lezcano bool "Clockevent timer for the H83069 platform" if COMPILE_TEST 545863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 54646e7c3c6SDaniel Lezcano help 54746e7c3c6SDaniel Lezcano This enables the 16 bits timer for the H8300 platform with the 54846e7c3c6SDaniel Lezcano H83069 cpu. 549618b902dSYoshinori Sato 550618b902dSYoshinori Satoconfig H8300_TPU 55146e7c3c6SDaniel Lezcano bool "Clocksource for the H8300 platform" if COMPILE_TEST 552863ee050SRichard Weinberger depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 55346e7c3c6SDaniel Lezcano help 55446e7c3c6SDaniel Lezcano This enables the clocksource for the H8300 platform with the 55546e7c3c6SDaniel Lezcano H8S2678 cpu. 556618b902dSYoshinori Sato 557bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 558bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 559bea5af41SShawn Guo depends on ARM && CLKDEV_LOOKUP 560bea5af41SShawn Guo select CLKSRC_MMIO 561bea5af41SShawn Guo 56270bef01cSLee Jonesconfig CLKSRC_ST_LPC 563baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 56470bef01cSLee Jones select CLKSRC_OF if OF 565863ee050SRichard Weinberger depends on HAS_IOMEM 5662be6d9bfSArnd Bergmann select CLKSRC_MMIO 56770bef01cSLee Jones help 56870bef01cSLee Jones Enable this option to use the Low Power controller timer 56970bef01cSLee Jones as clocksource. 57070bef01cSLee Jones 57158394271SJean Delvareendmenu 572