158394271SJean Delvaremenu "Clock Source drivers" 258394271SJean Delvare 3ae278a93SStephen Warrenconfig CLKSRC_OF 4ae278a93SStephen Warren bool 5ae278a93SStephen Warren 689c0b8e2SRussell Kingconfig CLKSRC_I8253 789c0b8e2SRussell King bool 8442c8176SRussell King 9e6220bdcSThomas Gleixnerconfig CLKEVT_I8253 10e6220bdcSThomas Gleixner bool 11e6220bdcSThomas Gleixner 1215f304b6SRalf Baechleconfig I8253_LOCK 1315f304b6SRalf Baechle bool 1415f304b6SRalf Baechle 1515f304b6SRalf Baechleconfig CLKBLD_I8253 16e6220bdcSThomas Gleixner def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 1715f304b6SRalf Baechle 18442c8176SRussell Kingconfig CLKSRC_MMIO 19442c8176SRussell King bool 2006c3df49SJamie Iles 219b8bb773SBaruch Siachconfig DIGICOLOR_TIMER 229b8bb773SBaruch Siach bool 239b8bb773SBaruch Siach 2406c3df49SJamie Ilesconfig DW_APB_TIMER 2506c3df49SJamie Iles bool 26489bcceaSMattias Wallin 27cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF 28cfda5901SDinh Nguyen bool 291b4eca0fSHeiko Stuebner select DW_APB_TIMER 3010021488SHeiko Stuebner select CLKSRC_OF 31cfda5901SDinh Nguyen 32468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER 33468b8c4cSDaniel Lezcano bool 34468b8c4cSDaniel Lezcano select CLKSRC_OF 35468b8c4cSDaniel Lezcano 366fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER 376fe9cbd1SGregory CLEMENT bool 387b0dd72aSJean Pihet select CLKSRC_OF 396fe9cbd1SGregory CLEMENT 40e4a6b378SCarlo Caioneconfig MESON6_TIMER 41e4a6b378SCarlo Caione bool 427b6b0a45SBeniamino Galvani select CLKSRC_MMIO 43e4a6b378SCarlo Caione 440c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER 450c1dcfd5SSebastian Hesselbarth select CLKSRC_OF 460c1dcfd5SSebastian Hesselbarth select CLKSRC_MMIO 470c1dcfd5SSebastian Hesselbarth bool 480c1dcfd5SSebastian Hesselbarth 49119fd635SMaxime Ripardconfig SUN4I_TIMER 5071c568c0SMaxime Ripard select CLKSRC_MMIO 51b2ac5d75SMaxime Ripard bool 52b2ac5d75SMaxime Ripard 5367905540SMaxime Ripardconfig SUN5I_HSTIMER 5467905540SMaxime Ripard select CLKSRC_MMIO 5567905540SMaxime Ripard bool 5667905540SMaxime Ripard 57910978e7SThierry Redingconfig TEGRA_TIMER 58910978e7SThierry Reding bool 59910978e7SThierry Reding 60ff7ec345STony Priskconfig VT8500_TIMER 61ff7ec345STony Prisk bool 62ff7ec345STony Prisk 634f0f234fSMichal Simekconfig CADENCE_TTC_TIMER 644f0f234fSMichal Simek bool 654f0f234fSMichal Simek 66a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER 67a8b1b9fcSDaniel Lezcano bool 68a8b1b9fcSDaniel Lezcano select CLKSRC_MMIO 69a8b1b9fcSDaniel Lezcano select CLKSRC_OF 70a8b1b9fcSDaniel Lezcano 71694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU 72694e33a7SLinus Walleij bool 73694e33a7SLinus Walleij depends on (ARCH_NOMADIK || ARCH_U8500) 74694e33a7SLinus Walleij select CLKSRC_MMIO 75694e33a7SLinus Walleij help 76694e33a7SLinus Walleij Support for Multi Timer Unit. MTU provides access 77694e33a7SLinus Walleij to multiple interrupt generating programmable 78694e33a7SLinus Walleij 32-bit free running decrementing counters. 79694e33a7SLinus Walleij 80694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK 81694e33a7SLinus Walleij bool 82694e33a7SLinus Walleij depends on CLKSRC_NOMADIK_MTU 83694e33a7SLinus Walleij help 84694e33a7SLinus Walleij Use the Multi Timer Unit as the sched_clock. 85694e33a7SLinus Walleij 86489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU 87489bcceaSMattias Wallin bool "Clocksource PRCMU Timer" 8829746f48SLinus Walleij depends on UX500_SOC_DB8500 89489bcceaSMattias Wallin default y 90489bcceaSMattias Wallin help 91489bcceaSMattias Wallin Use the always on PRCMU Timer as clocksource 92489bcceaSMattias Wallin 93489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK 94489bcceaSMattias Wallin bool "Clocksource PRCMU Timer sched_clock" 95694e33a7SLinus Walleij depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) 96489bcceaSMattias Wallin default y 97489bcceaSMattias Wallin help 98489bcceaSMattias Wallin Use the always on PRCMU Timer as sched_clock 99985c0679SMarc Zyngier 1009c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32 1019c9b7818SUwe Kleine-König bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 1029c9b7818SUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 10309ca2757SAxel Lin select CLKSRC_MMIO 1049c9b7818SUwe Kleine-König default ARCH_EFM32 1059c9b7818SUwe Kleine-König help 1069c9b7818SUwe Kleine-König Support to use the timers of EFM32 SoCs as clock source and clock 1079c9b7818SUwe Kleine-König event device. 1089c9b7818SUwe Kleine-König 109050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX 110050dd322SJoachim Eastwood bool 111050dd322SJoachim Eastwood select CLKSRC_MMIO 112050dd322SJoachim Eastwood select CLKSRC_OF 113050dd322SJoachim Eastwood 114e37e4593SMaxime Coquelinconfig CLKSRC_STM32 1151cb6c215SPaul Gortmaker bool "Clocksource for STM32 SoCs" if !ARCH_STM32 1161cb6c215SPaul Gortmaker depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 117e37e4593SMaxime Coquelin select CLKSRC_MMIO 118e37e4593SMaxime Coquelin 1198a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER 1208a4da6e3SMark Rutland bool 1210583fe47SRob Herring select CLKSRC_OF if OF 122a2c5d4edSJames Hogan 123037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM 124037f6377SWill Deacon bool "Support for ARM architected timer event stream generation" 125037f6377SWill Deacon default y if ARM_ARCH_TIMER 12677f7ce9aSStephen Boyd depends on ARM_ARCH_TIMER 127037f6377SWill Deacon help 128037f6377SWill Deacon This option enables support for event stream generation based on 129037f6377SWill Deacon the ARM architected timer. It is used for waking up CPUs executing 130037f6377SWill Deacon the wfe instruction at a frequency represented as a power-of-2 131037f6377SWill Deacon divisor of the clock rate. 132037f6377SWill Deacon The main use of the event stream is wfe-based timeouts of userspace 133037f6377SWill Deacon locking implementations. It might also be useful for imposing timeout 134037f6377SWill Deacon on wfe to safeguard against any programming errors in case an expected 135037f6377SWill Deacon event is not generated. 136037f6377SWill Deacon This must be disabled for hardware validation purposes to detect any 137037f6377SWill Deacon hardware anomalies of missing events. 138037f6377SWill Deacon 139c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER 140c1b40e44SStuart Menefy bool 141c1b40e44SStuart Menefy select CLKSRC_OF if OF 142c1b40e44SStuart Menefy help 143c1b40e44SStuart Menefy This options enables support for the ARM global timer unit 144c1b40e44SStuart Menefy 1450b7402dcSSudeep Hollaconfig ARM_TIMER_SP804 1460b7402dcSSudeep Holla bool "Support for Dual Timer SP804 module" 147002af195SGuenter Roeck depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP 1480b7402dcSSudeep Holla select CLKSRC_MMIO 1490b7402dcSSudeep Holla select CLKSRC_OF if OF 1500b7402dcSSudeep Holla 151c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 152c1b40e44SStuart Menefy bool 153c1b40e44SStuart Menefy depends on ARM_GLOBAL_TIMER 154c1b40e44SStuart Menefy default y 155c1b40e44SStuart Menefy help 156c1b40e44SStuart Menefy Use ARM global timer clock source as sched_clock 157c1b40e44SStuart Menefy 1584958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK 1594958ebb3SMaxime Coquelin bool 1604958ebb3SMaxime Coquelin select CLKSRC_OF if OF 1614958ebb3SMaxime Coquelin select CLKSRC_MMIO 1624958ebb3SMaxime Coquelin help 1634958ebb3SMaxime Coquelin This options enables support for the ARMv7M system timer unit 1644958ebb3SMaxime Coquelin 165b052ff30SMaxime Ripardconfig ATMEL_PIT 166b052ff30SMaxime Ripard select CLKSRC_OF if OF 167b052ff30SMaxime Ripard def_bool SOC_AT91SAM9 || SOC_SAMA5 168b052ff30SMaxime Ripard 169b53cdd03SAlexandre Belloniconfig ATMEL_ST 170b53cdd03SAlexandre Belloni bool 171b53cdd03SAlexandre Belloni select CLKSRC_OF 1727ab7ef74SAlexandre Belloni select MFD_SYSCON 173b53cdd03SAlexandre Belloni 174a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC 175a2c5d4edSJames Hogan def_bool y if METAG 176a2c5d4edSJames Hogan help 177a2c5d4edSJames Hogan This option enables support for the Meta per-thread timers. 1786938d75aSThomas Abraham 1796938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT 1806938d75aSThomas Abraham def_bool y if ARCH_EXYNOS 1813252a646SDoug Anderson depends on !ARM64 1826938d75aSThomas Abraham help 1836938d75aSThomas Abraham Support for Multi Core Timer controller on Exynos SoCs. 184241a9871SArnd Bergmann 185f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM 18677d84434STomasz Figa bool 187f1189989STomasz Figa help 188f1189989STomasz Figa This is a new clocksource driver for the PWM timer found in 189f1189989STomasz Figa Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 190f1189989STomasz Figa for all devicetree enabled platforms. This driver will be 191f1189989STomasz Figa needed only on systems that do not have the Exynos MCT available. 192c1967249SJingchang Lu 1932529c3a3SXiubo Liconfig FSL_FTM_TIMER 1942529c3a3SXiubo Li bool 1952529c3a3SXiubo Li help 1962529c3a3SXiubo Li Support for Freescale FlexTimer Module (FTM) timer. 1972529c3a3SXiubo Li 198c1967249SJingchang Luconfig VF_PIT_TIMER 199c1967249SJingchang Lu bool 200c1967249SJingchang Lu help 201c1967249SJingchang Lu Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. 202fd3f1270SMagnus Damm 203fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT 204fd3f1270SMagnus Damm bool 205fd3f1270SMagnus Damm 206ecb3530dSMatthias Bruggerconfig MTK_TIMER 207ecb3530dSMatthias Brugger select CLKSRC_OF 208ecb3530dSMatthias Brugger select CLKSRC_MMIO 209ecb3530dSMatthias Brugger bool 210ecb3530dSMatthias Brugger 211fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2 212fd3f1270SMagnus Damm bool 213fd3f1270SMagnus Damm 214fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU 215fd3f1270SMagnus Damm bool 216fd3f1270SMagnus Damm 217fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI 218fd3f1270SMagnus Damm bool 219fd3f1270SMagnus Damm 220fd3f1270SMagnus Dammconfig SH_TIMER_CMT 221fd3f1270SMagnus Damm bool "Renesas CMT timer driver" if COMPILE_TEST 22287291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 22311bc26feSRichard Weinberger depends on HAS_IOMEM 224fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_CMT 225fd3f1270SMagnus Damm help 226fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 227fd3f1270SMagnus Damm the Compare Match Timer (CMT) hardware available in 16/32/48-bit 228fd3f1270SMagnus Damm variants on a wide range of Mobile and Automotive SoCs from Renesas. 229fd3f1270SMagnus Damm 230fd3f1270SMagnus Dammconfig SH_TIMER_MTU2 231fd3f1270SMagnus Damm bool "Renesas MTU2 timer driver" if COMPILE_TEST 23287291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 23311bc26feSRichard Weinberger depends on HAS_IOMEM 234fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_MTU2 235fd3f1270SMagnus Damm help 236fd3f1270SMagnus Damm This enables build of a clockevent driver for the Multi-Function 2377e139187SKuninori Morimoto Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 238fd3f1270SMagnus Damm This hardware comes with 16 bit-timer registers. 239fd3f1270SMagnus Damm 240fd3f1270SMagnus Dammconfig SH_TIMER_TMU 241fd3f1270SMagnus Damm bool "Renesas TMU timer driver" if COMPILE_TEST 24287291a92SGeert Uytterhoeven depends on GENERIC_CLOCKEVENTS 24311bc26feSRichard Weinberger depends on HAS_IOMEM 244fd3f1270SMagnus Damm default SYS_SUPPORTS_SH_TMU 245fd3f1270SMagnus Damm help 246fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 247fd3f1270SMagnus Damm the 32-bit Timer Unit (TMU) hardware available on a wide range 248fd3f1270SMagnus Damm SoCs from Renesas. 249fd3f1270SMagnus Damm 250fd3f1270SMagnus Dammconfig EM_TIMER_STI 251fd3f1270SMagnus Damm bool "Renesas STI timer driver" if COMPILE_TEST 25240c96312SChen Gang depends on GENERIC_CLOCKEVENTS && HAS_IOMEM 253fd3f1270SMagnus Damm default SYS_SUPPORTS_EM_STI 254fd3f1270SMagnus Damm help 255fd3f1270SMagnus Damm This enables build of a clocksource and clockevent driver for 256fd3f1270SMagnus Damm the 48-bit System Timer (STI) hardware available on a SoCs 257fd3f1270SMagnus Damm such as EMEV2 from former NEC Electronics. 258dfc25e45SLinus Torvalds 2593f8e8ceeSKumar Galaconfig CLKSRC_QCOM 2603f8e8ceeSKumar Gala bool 261220e2a8dSPawel Moll 262220e2a8dSPawel Mollconfig CLKSRC_VERSATILE 263220e2a8dSPawel Moll bool "ARM Versatile (Express) reference platforms clock source" 264ff37015bSDeng-Cheng Zhu depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET 265220e2a8dSPawel Moll select CLKSRC_OF 266220e2a8dSPawel Moll default y if MFD_VEXPRESS_SYSREG 267220e2a8dSPawel Moll help 268220e2a8dSPawel Moll This option enables clock source based on free running 269220e2a8dSPawel Moll counter available in the "System Registers" block of 270220e2a8dSPawel Moll ARM Versatile, RealView and Versatile Express reference 271220e2a8dSPawel Moll platforms. 27258394271SJean Delvare 273fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC 274fa5635a2SAndrew Bresticker bool 275fa5635a2SAndrew Bresticker depends on MIPS_GIC 276e12aa828SAndrew Bresticker select CLKSRC_OF 277fa5635a2SAndrew Bresticker 278e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA 279e074ff86SDmitry Eremin-Solenikov def_bool y if ARCH_PXA || ARCH_SA1100 28002760b11SAntonio Borneo select CLKSRC_OF if OF 281e074ff86SDmitry Eremin-Solenikov help 282e074ff86SDmitry Eremin-Solenikov This enables OST0 support available on PXA and SA-11x0 283e074ff86SDmitry Eremin-Solenikov platforms. 284618b902dSYoshinori Sato 285618b902dSYoshinori Satoconfig H8300_TMR16 286618b902dSYoshinori Sato bool 287618b902dSYoshinori Sato 288618b902dSYoshinori Satoconfig H8300_TPU 289618b902dSYoshinori Sato bool 290618b902dSYoshinori Sato 291bea5af41SShawn Guoconfig CLKSRC_IMX_GPT 292bea5af41SShawn Guo bool "Clocksource using i.MX GPT" if COMPILE_TEST 293bea5af41SShawn Guo depends on ARM && CLKDEV_LOOKUP 294bea5af41SShawn Guo select CLKSRC_MMIO 295bea5af41SShawn Guo 29658394271SJean Delvareendmenu 297