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 309b8bb773SBaruch Siachconfig DIGICOLOR_TIMER 31e6c1db13SDaniel Lezcano bool "Digicolor timer driver" if COMPILE_TEST 32e6c1db13SDaniel Lezcano help 33e6c1db13SDaniel Lezcano Enables the support for the digicolor timer driver. 349b8bb773SBaruch Siach 3506c3df49SJamie Ilesconfig DW_APB_TIMER 365b097f6bSDaniel Lezcano bool "DW APB timer driver" if COMPILE_TEST 375b097f6bSDaniel Lezcano help 385b097f6bSDaniel Lezcano Enables the support for the dw_apb timer. 39489bcceaSMattias Wallin 40cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 41cfda5901SDinh Nguyen bool 421b4eca0fSHeiko Stuebner select DW_APB_TIMER 4310021488SHeiko Stuebner select CLKSRC_OF 44cfda5901SDinh Nguyen 45468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 4640ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 4740ada2aaSDaniel Lezcano depends on ARM || ARM64 48468b8c4cSDaniel Lezcano select CLKSRC_OF 4940ada2aaSDaniel Lezcano help 5040ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 51468b8c4cSDaniel Lezcano 526fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 539519e80cSDaniel Lezcano bool "Armada 370 and XP timer driver" if COMPILE_TEST 549519e80cSDaniel Lezcano depends on ARM 557b0dd72aSJean Pihet select CLKSRC_OF 569519e80cSDaniel Lezcano help 579519e80cSDaniel Lezcano Enables the support for the Armada 370 and XP timer driver. 586fe9cbd1SGregory CLEMENT 59e4a6b378SCarlo Caioneconfig MESON6_TIMER 600b7a7bb7SDaniel Lezcano bool "Meson6 timer driver" if COMPILE_TEST 617b6b0a45SBeniamino Galvani select CLKSRC_MMIO 620b7a7bb7SDaniel Lezcano help 630b7a7bb7SDaniel Lezcano Enables the support for the Meson6 timer driver. 64e4a6b378SCarlo Caione 650c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 66c9165549SDaniel Lezcano bool "Orion timer driver" if COMPILE_TEST 67c9165549SDaniel Lezcano depends on ARM 680c1dcfd5SSebastian Hesselbarth select CLKSRC_OF 690c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 70c9165549SDaniel Lezcano help 71c9165549SDaniel Lezcano Enables the support for the Orion timer driver 720c1dcfd5SSebastian Hesselbarth 73119fd635SMaxime Ripardconfig SUN4I_TIMER 74b4fcd48bSDaniel Lezcano bool "Sun4i timer driver" if COMPILE_TEST 7571c568c0SMaxime Ripard select CLKSRC_MMIO 76b4fcd48bSDaniel Lezcano help 77b4fcd48bSDaniel Lezcano Enables support for the Sun4i timer. 78b2ac5d75SMaxime Ripard 7967905540SMaxime Ripardconfig SUN5I_HSTIMER 80f0c5afb7SDaniel Lezcano bool "Sun5i timer driver" if COMPILE_TEST 8167905540SMaxime Ripard select CLKSRC_MMIO 82f0c5afb7SDaniel Lezcano depends on COMMON_CLK 83f0c5afb7SDaniel Lezcano help 84f0c5afb7SDaniel Lezcano Enables support the Sun5i timer. 8567905540SMaxime Ripard 86910978e7SThierry Redingconfig TEGRA_TIMER 87adce4bc8SDaniel Lezcano bool "Tegra timer driver" if COMPILE_TEST 88adce4bc8SDaniel Lezcano depends on ARM 89adce4bc8SDaniel Lezcano help 90adce4bc8SDaniel Lezcano Enables support for the Tegra driver. 91910978e7SThierry Reding 92ff7ec345STony Priskconfig VT8500_TIMER 93b4bdf7efSDaniel Lezcano bool "VT8500 timer driver" if COMPILE_TEST 94b4bdf7efSDaniel Lezcano help 95b4bdf7efSDaniel Lezcano Enables support for the VT8500 driver. 96ff7ec345STony Prisk 974f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 98*57f49318SDaniel Lezcano bool "Cadence TTC timer driver" if COMPILE_TEST 99*57f49318SDaniel Lezcano depends on COMMON_CLK 100*57f49318SDaniel Lezcano help 101*57f49318SDaniel Lezcano Enables support for the cadence ttc driver. 1024f0f234fSMichal Simek 103a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 104a8b1b9fcSDaniel Lezcano bool 105a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 106a8b1b9fcSDaniel Lezcano select CLKSRC_OF 107a8b1b9fcSDaniel Lezcano 108694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 109694e33a7SLinus Walleij bool 110694e33a7SLinus Walleij depends on (ARCH_NOMADIK || ARCH_U8500) 111694e33a7SLinus Walleij select CLKSRC_MMIO 112694e33a7SLinus Walleij help 113694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 114694e33a7SLinus Walleij to multiple interrupt generating programmable 115694e33a7SLinus Walleij 32-bit free running decrementing counters. 116694e33a7SLinus Walleij 117694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK 118694e33a7SLinus Walleij bool 119694e33a7SLinus Walleij depends on CLKSRC_NOMADIK_MTU 120694e33a7SLinus Walleij help 121694e33a7SLinus Walleij Use the Multi Timer Unit as the sched_clock. 122694e33a7SLinus Walleij 123489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 124489bcceaSMattias Wallin bool "Clocksource PRCMU Timer" 12529746f48SLinus Walleij depends on UX500_SOC_DB8500 126489bcceaSMattias Wallin default y 127489bcceaSMattias Wallin help 128489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 129489bcceaSMattias Wallin 130489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK 131489bcceaSMattias Wallin bool "Clocksource PRCMU Timer sched_clock" 132694e33a7SLinus Walleij depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) 133489bcceaSMattias Wallin default y 134489bcceaSMattias Wallin help 135489bcceaSMattias Wallin Use the always on PRCMU Timer as sched_clock 136985c0679SMarc Zyngier 1379c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 1389c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 1399c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 14009ca2757SAxel Lin select CLKSRC_MMIO 1419c9b7818SUwe Kleine-König default ARCH_EFM32 1429c9b7818SUwe Kleine-König help 1439c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 1449c9b7818SUwe Kleine-König event device. 1459c9b7818SUwe Kleine-König 146050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 147050dd322SJoachim Eastwood bool 148050dd322SJoachim Eastwood select CLKSRC_MMIO 149050dd322SJoachim Eastwood select CLKSRC_OF 150050dd322SJoachim Eastwood 15184583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 152dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 15384583983SEzequiel Garcia select CLKSRC_OF 154dfdb1652SDaniel Lezcano help 155dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 15684583983SEzequiel Garcia 157fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 158fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 159dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 160fe851f56SFelipe Balbi select CLKSRC_OF if OF 161fe851f56SFelipe Balbi help 162fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 163fe851f56SFelipe Balbi available on many OMAP-like platforms. 164fe851f56SFelipe Balbi 165e37e4593SMaxime Coquelinconfig CLKSRC_STM32 1661cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 1671cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 168e37e4593SMaxime Coquelin select CLKSRC_MMIO 169e37e4593SMaxime Coquelin 1708a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 1718a4da6e3SMark Rutland bool 1720583fe47SRob Herring select CLKSRC_OF if OF 173ae281cbdSMarc Zyngier select CLKSRC_ACPI if ACPI 174a2c5d4edSJames Hogan 175037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 176037f6377SWill Deacon bool "Support for ARM architected timer event stream generation" 177037f6377SWill Deacon default y if ARM_ARCH_TIMER 17877f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 179037f6377SWill Deacon help 180037f6377SWill Deacon This option enables support for event stream generation based on 181037f6377SWill Deacon the ARM architected timer. It is used for waking up CPUs executing 182037f6377SWill Deacon the wfe instruction at a frequency represented as a power-of-2 183037f6377SWill Deacon divisor of the clock rate. 184037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 185037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 186037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 187037f6377SWill Deacon event is not generated. 188037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 189037f6377SWill Deacon hardware anomalies of missing events. 190037f6377SWill Deacon 191c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 192c1b40e44SStuart Menefy bool 193c1b40e44SStuart Menefy select CLKSRC_OF if OF 194c1b40e44SStuart Menefy help 195c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 196c1b40e44SStuart Menefy 1970b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 1980b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 199002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 2000b7402dcSSudeep Holla select CLKSRC_MMIO 2010b7402dcSSudeep Holla select CLKSRC_OF if OF 2020b7402dcSSudeep Holla 203c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 204c1b40e44SStuart Menefy bool 205c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 206c1b40e44SStuart Menefy default y 207c1b40e44SStuart Menefy help 208c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 209c1b40e44SStuart Menefy 2104958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 2114958ebb3SMaxime Coquelin bool 2124958ebb3SMaxime Coquelin select CLKSRC_OF if OF 2134958ebb3SMaxime Coquelin select CLKSRC_MMIO 2144958ebb3SMaxime Coquelin help 2154958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 2164958ebb3SMaxime Coquelin 217b052ff30SMaxime Ripardconfig ATMEL_PIT 218b052ff30SMaxime Ripard select CLKSRC_OF if OF 219b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 220b052ff30SMaxime Ripard 221b53cdd03SAlexandre Belloniconfig ATMEL_ST 222b53cdd03SAlexandre Belloni bool 223b53cdd03SAlexandre Belloni select CLKSRC_OF 2247ab7ef74SAlexandre Belloni select MFD_SYSCON 225b53cdd03SAlexandre Belloni 226a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC 227a2c5d4edSJames Hogan def_bool y if METAG 228a2c5d4edSJames Hogan help 229a2c5d4edSJames Hogan This option enables support for the Meta per-thread timers. 2306938d75aSThomas Abraham 2316938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 2326938d75aSThomas Abraham def_bool y if ARCH_EXYNOS 2333252a646SDoug Anderson depends on !ARM64 2346938d75aSThomas Abraham help 2356938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 236241a9871SArnd Bergmann 237f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 23877d84434STomasz Figa bool 239f1189989STomasz Figa help 240f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 241f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 242f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 243f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 244c1967249SJingchang Lu 2452529c3a3SXiubo Liconfig FSL_FTM_TIMER 2462529c3a3SXiubo Li bool 2472529c3a3SXiubo Li help 2482529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 2492529c3a3SXiubo Li 250c1967249SJingchang Luconfig VF_PIT_TIMER 251c1967249SJingchang Lu bool 252c1967249SJingchang Lu help 253c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 254fd3f1270SMagnus Damm 255fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 256fd3f1270SMagnus Damm bool 257fd3f1270SMagnus Damm 258ecb3530dSMatthias Bruggerconfig MTK_TIMER 259fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 260ecb3530dSMatthias Brugger select CLKSRC_OF 261ecb3530dSMatthias Brugger select CLKSRC_MMIO 262fbca9eabSDaniel Lezcano help 263fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 264ecb3530dSMatthias Brugger 265fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 266fd3f1270SMagnus Damm bool 267fd3f1270SMagnus Damm 268fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 269fd3f1270SMagnus Damm bool 270fd3f1270SMagnus Damm 271fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 272fd3f1270SMagnus Damm bool 273fd3f1270SMagnus Damm 274fd3f1270SMagnus Dammconfig SH_TIMER_CMT 275fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 27687291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 27711bc26feSRichard Weinberger depends on HAS_IOMEM 278fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 279fd3f1270SMagnus Damm help 280fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 281fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 282fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 283fd3f1270SMagnus Damm 284fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 285fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 28687291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 28711bc26feSRichard Weinberger depends on HAS_IOMEM 288fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 289fd3f1270SMagnus Damm help 290fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 2917e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 292fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 293fd3f1270SMagnus Damm 294fd3f1270SMagnus Dammconfig SH_TIMER_TMU 295fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 29687291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 29711bc26feSRichard Weinberger depends on HAS_IOMEM 298fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 299fd3f1270SMagnus Damm help 300fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 301fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 302fd3f1270SMagnus Damm SoCs from Renesas. 303fd3f1270SMagnus Damm 304fd3f1270SMagnus Dammconfig EM_TIMER_STI 305fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 30640c96312SChen Gang depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 307fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 308fd3f1270SMagnus Damm help 309fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 310fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 311fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 312dfc25e45SLinus Torvalds 3133f8e8ceeSKumar Galaconfig CLKSRC_QCOM 3143dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 3153dc0e9f6SDaniel Lezcano depends on ARM 3163dc0e9f6SDaniel Lezcano select CLKSRC_OF 3173dc0e9f6SDaniel Lezcano help 3183dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 3193dc0e9f6SDaniel Lezcano Qualcomm SoCs. 320220e2a8dSPawel Moll 321220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 322220e2a8dSPawel Moll bool "ARM Versatile (Express) reference platforms clock source" 323ff37015bSDeng-Cheng Zhu depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 324220e2a8dSPawel Moll select CLKSRC_OF 325220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 326220e2a8dSPawel Moll help 327220e2a8dSPawel Moll This option enables clock source based on free running 328220e2a8dSPawel Moll counter available in the "System Registers" block of 329220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 330220e2a8dSPawel Moll platforms. 33158394271SJean Delvare 332fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 333fa5635a2SAndrew Bresticker bool 334fa5635a2SAndrew Bresticker depends on MIPS_GIC 335e12aa828SAndrew Bresticker select CLKSRC_OF 336fa5635a2SAndrew Bresticker 337ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL 3385a7351f0SDaniel Lezcano bool "Clocksource for Tango SoC" if COMPILE_TEST 3395a7351f0SDaniel Lezcano depends on ARM 340ccd63ce4SMarc Gonzalez select CLKSRC_OF 3415a7351f0SDaniel Lezcano help 3425a7351f0SDaniel Lezcano This enables the clocksource for Tango SoC 343ccd63ce4SMarc Gonzalez 344e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 3455ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 3465ae996cbSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 3475ae996cbSDaniel Lezcano select CLKSRC_MMIO 348e074ff86SDmitry Eremin-Solenikov help 349e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 350e074ff86SDmitry Eremin-Solenikov platforms. 351618b902dSYoshinori Sato 352618b902dSYoshinori Satoconfig H8300_TMR16 353618b902dSYoshinori Sato bool 354618b902dSYoshinori Sato 355618b902dSYoshinori Satoconfig H8300_TPU 356618b902dSYoshinori Sato bool 357618b902dSYoshinori Sato 358bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 359bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 360bea5af41SShawn Guo depends on ARM && CLKDEV_LOOKUP 361bea5af41SShawn Guo select CLKSRC_MMIO 362bea5af41SShawn Guo 36370bef01cSLee Jonesconfig CLKSRC_ST_LPC 364baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 36570bef01cSLee Jones select CLKSRC_OF if OF 36670bef01cSLee Jones help 36770bef01cSLee Jones Enable this option to use the Low Power controller timer 36870bef01cSLee Jones as clocksource. 36970bef01cSLee Jones 37058394271SJean Delvareendmenu 371