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 319b8bb773SBaruch Siach bool 329b8bb773SBaruch Siach 3306c3df49SJamie Ilesconfig DW_APB_TIMER 3406c3df49SJamie Iles bool 35489bcceaSMattias Wallin 36cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 37cfda5901SDinh Nguyen bool 381b4eca0fSHeiko Stuebner select DW_APB_TIMER 3910021488SHeiko Stuebner select CLKSRC_OF 40cfda5901SDinh Nguyen 41468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 42*40ada2aaSDaniel Lezcano bool "Rockchip timer driver" if COMPILE_TEST 43*40ada2aaSDaniel Lezcano depends on ARM || ARM64 44468b8c4cSDaniel Lezcano select CLKSRC_OF 45*40ada2aaSDaniel Lezcano help 46*40ada2aaSDaniel Lezcano Enables the support for the rockchip timer driver. 47468b8c4cSDaniel Lezcano 486fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 496fe9cbd1SGregory CLEMENT bool 507b0dd72aSJean Pihet select CLKSRC_OF 516fe9cbd1SGregory CLEMENT 52e4a6b378SCarlo Caioneconfig MESON6_TIMER 53e4a6b378SCarlo Caione bool 547b6b0a45SBeniamino Galvani select CLKSRC_MMIO 55e4a6b378SCarlo Caione 560c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 570c1dcfd5SSebastian Hesselbarth select CLKSRC_OF 580c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 590c1dcfd5SSebastian Hesselbarth bool 600c1dcfd5SSebastian Hesselbarth 61119fd635SMaxime Ripardconfig SUN4I_TIMER 6271c568c0SMaxime Ripard select CLKSRC_MMIO 63b2ac5d75SMaxime Ripard bool 64b2ac5d75SMaxime Ripard 6567905540SMaxime Ripardconfig SUN5I_HSTIMER 6667905540SMaxime Ripard select CLKSRC_MMIO 6767905540SMaxime Ripard bool 6867905540SMaxime Ripard 69910978e7SThierry Redingconfig TEGRA_TIMER 70910978e7SThierry Reding bool 71910978e7SThierry Reding 72ff7ec345STony Priskconfig VT8500_TIMER 73ff7ec345STony Prisk bool 74ff7ec345STony Prisk 754f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 764f0f234fSMichal Simek bool 774f0f234fSMichal Simek 78a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 79a8b1b9fcSDaniel Lezcano bool 80a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 81a8b1b9fcSDaniel Lezcano select CLKSRC_OF 82a8b1b9fcSDaniel Lezcano 83694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 84694e33a7SLinus Walleij bool 85694e33a7SLinus Walleij depends on (ARCH_NOMADIK || ARCH_U8500) 86694e33a7SLinus Walleij select CLKSRC_MMIO 87694e33a7SLinus Walleij help 88694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 89694e33a7SLinus Walleij to multiple interrupt generating programmable 90694e33a7SLinus Walleij 32-bit free running decrementing counters. 91694e33a7SLinus Walleij 92694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK 93694e33a7SLinus Walleij bool 94694e33a7SLinus Walleij depends on CLKSRC_NOMADIK_MTU 95694e33a7SLinus Walleij help 96694e33a7SLinus Walleij Use the Multi Timer Unit as the sched_clock. 97694e33a7SLinus Walleij 98489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 99489bcceaSMattias Wallin bool "Clocksource PRCMU Timer" 10029746f48SLinus Walleij depends on UX500_SOC_DB8500 101489bcceaSMattias Wallin default y 102489bcceaSMattias Wallin help 103489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 104489bcceaSMattias Wallin 105489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK 106489bcceaSMattias Wallin bool "Clocksource PRCMU Timer sched_clock" 107694e33a7SLinus Walleij depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) 108489bcceaSMattias Wallin default y 109489bcceaSMattias Wallin help 110489bcceaSMattias Wallin Use the always on PRCMU Timer as sched_clock 111985c0679SMarc Zyngier 1129c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 1139c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 1149c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 11509ca2757SAxel Lin select CLKSRC_MMIO 1169c9b7818SUwe Kleine-König default ARCH_EFM32 1179c9b7818SUwe Kleine-König help 1189c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 1199c9b7818SUwe Kleine-König event device. 1209c9b7818SUwe Kleine-König 121050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 122050dd322SJoachim Eastwood bool 123050dd322SJoachim Eastwood select CLKSRC_MMIO 124050dd322SJoachim Eastwood select CLKSRC_OF 125050dd322SJoachim Eastwood 12684583983SEzequiel Garciaconfig CLKSRC_PISTACHIO 127dfdb1652SDaniel Lezcano bool "Clocksource for Pistachio SoC" if COMPILE_TEST 12884583983SEzequiel Garcia select CLKSRC_OF 129dfdb1652SDaniel Lezcano help 130dfdb1652SDaniel Lezcano Enables the clocksource for the Pistachio SoC. 13184583983SEzequiel Garcia 132fe851f56SFelipe Balbiconfig CLKSRC_TI_32K 133fe851f56SFelipe Balbi bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 134dfedaf10SFelipe Balbi depends on GENERIC_SCHED_CLOCK 135fe851f56SFelipe Balbi select CLKSRC_OF if OF 136fe851f56SFelipe Balbi help 137fe851f56SFelipe Balbi This option enables support for Texas Instruments 32.768 Hz clocksource 138fe851f56SFelipe Balbi available on many OMAP-like platforms. 139fe851f56SFelipe Balbi 140e37e4593SMaxime Coquelinconfig CLKSRC_STM32 1411cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 1421cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 143e37e4593SMaxime Coquelin select CLKSRC_MMIO 144e37e4593SMaxime Coquelin 1458a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 1468a4da6e3SMark Rutland bool 1470583fe47SRob Herring select CLKSRC_OF if OF 148ae281cbdSMarc Zyngier select CLKSRC_ACPI if ACPI 149a2c5d4edSJames Hogan 150037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 151037f6377SWill Deacon bool "Support for ARM architected timer event stream generation" 152037f6377SWill Deacon default y if ARM_ARCH_TIMER 15377f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 154037f6377SWill Deacon help 155037f6377SWill Deacon This option enables support for event stream generation based on 156037f6377SWill Deacon the ARM architected timer. It is used for waking up CPUs executing 157037f6377SWill Deacon the wfe instruction at a frequency represented as a power-of-2 158037f6377SWill Deacon divisor of the clock rate. 159037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 160037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 161037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 162037f6377SWill Deacon event is not generated. 163037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 164037f6377SWill Deacon hardware anomalies of missing events. 165037f6377SWill Deacon 166c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 167c1b40e44SStuart Menefy bool 168c1b40e44SStuart Menefy select CLKSRC_OF if OF 169c1b40e44SStuart Menefy help 170c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 171c1b40e44SStuart Menefy 1720b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 1730b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 174002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 1750b7402dcSSudeep Holla select CLKSRC_MMIO 1760b7402dcSSudeep Holla select CLKSRC_OF if OF 1770b7402dcSSudeep Holla 178c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 179c1b40e44SStuart Menefy bool 180c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 181c1b40e44SStuart Menefy default y 182c1b40e44SStuart Menefy help 183c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 184c1b40e44SStuart Menefy 1854958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 1864958ebb3SMaxime Coquelin bool 1874958ebb3SMaxime Coquelin select CLKSRC_OF if OF 1884958ebb3SMaxime Coquelin select CLKSRC_MMIO 1894958ebb3SMaxime Coquelin help 1904958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 1914958ebb3SMaxime Coquelin 192b052ff30SMaxime Ripardconfig ATMEL_PIT 193b052ff30SMaxime Ripard select CLKSRC_OF if OF 194b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 195b052ff30SMaxime Ripard 196b53cdd03SAlexandre Belloniconfig ATMEL_ST 197b53cdd03SAlexandre Belloni bool 198b53cdd03SAlexandre Belloni select CLKSRC_OF 1997ab7ef74SAlexandre Belloni select MFD_SYSCON 200b53cdd03SAlexandre Belloni 201a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC 202a2c5d4edSJames Hogan def_bool y if METAG 203a2c5d4edSJames Hogan help 204a2c5d4edSJames Hogan This option enables support for the Meta per-thread timers. 2056938d75aSThomas Abraham 2066938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 2076938d75aSThomas Abraham def_bool y if ARCH_EXYNOS 2083252a646SDoug Anderson depends on !ARM64 2096938d75aSThomas Abraham help 2106938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 211241a9871SArnd Bergmann 212f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 21377d84434STomasz Figa bool 214f1189989STomasz Figa help 215f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 216f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 217f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 218f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 219c1967249SJingchang Lu 2202529c3a3SXiubo Liconfig FSL_FTM_TIMER 2212529c3a3SXiubo Li bool 2222529c3a3SXiubo Li help 2232529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 2242529c3a3SXiubo Li 225c1967249SJingchang Luconfig VF_PIT_TIMER 226c1967249SJingchang Lu bool 227c1967249SJingchang Lu help 228c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 229fd3f1270SMagnus Damm 230fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 231fd3f1270SMagnus Damm bool 232fd3f1270SMagnus Damm 233ecb3530dSMatthias Bruggerconfig MTK_TIMER 234fbca9eabSDaniel Lezcano bool "Mediatek timer driver" if COMPILE_TEST 235ecb3530dSMatthias Brugger select CLKSRC_OF 236ecb3530dSMatthias Brugger select CLKSRC_MMIO 237fbca9eabSDaniel Lezcano help 238fbca9eabSDaniel Lezcano Support for Mediatek timer driver. 239ecb3530dSMatthias Brugger 240fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 241fd3f1270SMagnus Damm bool 242fd3f1270SMagnus Damm 243fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 244fd3f1270SMagnus Damm bool 245fd3f1270SMagnus Damm 246fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 247fd3f1270SMagnus Damm bool 248fd3f1270SMagnus Damm 249fd3f1270SMagnus Dammconfig SH_TIMER_CMT 250fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 25187291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 25211bc26feSRichard Weinberger depends on HAS_IOMEM 253fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 254fd3f1270SMagnus Damm help 255fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 256fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 257fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 258fd3f1270SMagnus Damm 259fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 260fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 26187291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 26211bc26feSRichard Weinberger depends on HAS_IOMEM 263fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 264fd3f1270SMagnus Damm help 265fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 2667e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 267fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 268fd3f1270SMagnus Damm 269fd3f1270SMagnus Dammconfig SH_TIMER_TMU 270fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 27187291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 27211bc26feSRichard Weinberger depends on HAS_IOMEM 273fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 274fd3f1270SMagnus Damm help 275fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 276fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 277fd3f1270SMagnus Damm SoCs from Renesas. 278fd3f1270SMagnus Damm 279fd3f1270SMagnus Dammconfig EM_TIMER_STI 280fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 28140c96312SChen Gang depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 282fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 283fd3f1270SMagnus Damm help 284fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 285fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 286fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 287dfc25e45SLinus Torvalds 2883f8e8ceeSKumar Galaconfig CLKSRC_QCOM 2893dc0e9f6SDaniel Lezcano bool "Qualcomm MSM timer" if COMPILE_TEST 2903dc0e9f6SDaniel Lezcano depends on ARM 2913dc0e9f6SDaniel Lezcano select CLKSRC_OF 2923dc0e9f6SDaniel Lezcano help 2933dc0e9f6SDaniel Lezcano This enables the clocksource and the per CPU clockevent driver for the 2943dc0e9f6SDaniel Lezcano Qualcomm SoCs. 295220e2a8dSPawel Moll 296220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 297220e2a8dSPawel Moll bool "ARM Versatile (Express) reference platforms clock source" 298ff37015bSDeng-Cheng Zhu depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 299220e2a8dSPawel Moll select CLKSRC_OF 300220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 301220e2a8dSPawel Moll help 302220e2a8dSPawel Moll This option enables clock source based on free running 303220e2a8dSPawel Moll counter available in the "System Registers" block of 304220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 305220e2a8dSPawel Moll platforms. 30658394271SJean Delvare 307fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 308fa5635a2SAndrew Bresticker bool 309fa5635a2SAndrew Bresticker depends on MIPS_GIC 310e12aa828SAndrew Bresticker select CLKSRC_OF 311fa5635a2SAndrew Bresticker 312ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL 3135a7351f0SDaniel Lezcano bool "Clocksource for Tango SoC" if COMPILE_TEST 3145a7351f0SDaniel Lezcano depends on ARM 315ccd63ce4SMarc Gonzalez select CLKSRC_OF 3165a7351f0SDaniel Lezcano help 3175a7351f0SDaniel Lezcano This enables the clocksource for Tango SoC 318ccd63ce4SMarc Gonzalez 319e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 3205ae996cbSDaniel Lezcano bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 3215ae996cbSDaniel Lezcano depends on GENERIC_CLOCKEVENTS 3225ae996cbSDaniel Lezcano select CLKSRC_MMIO 323e074ff86SDmitry Eremin-Solenikov help 324e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 325e074ff86SDmitry Eremin-Solenikov platforms. 326618b902dSYoshinori Sato 327618b902dSYoshinori Satoconfig H8300_TMR16 328618b902dSYoshinori Sato bool 329618b902dSYoshinori Sato 330618b902dSYoshinori Satoconfig H8300_TPU 331618b902dSYoshinori Sato bool 332618b902dSYoshinori Sato 333bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 334bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 335bea5af41SShawn Guo depends on ARM && CLKDEV_LOOKUP 336bea5af41SShawn Guo select CLKSRC_MMIO 337bea5af41SShawn Guo 33870bef01cSLee Jonesconfig CLKSRC_ST_LPC 339baacaf83SDaniel Lezcano bool "Low power clocksource found in the LPC" if COMPILE_TEST 34070bef01cSLee Jones select CLKSRC_OF if OF 34170bef01cSLee Jones help 34270bef01cSLee Jones Enable this option to use the Low Power controller timer 34370bef01cSLee Jones as clocksource. 34470bef01cSLee Jones 34558394271SJean Delvareendmenu 346