162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_cimenu "Clock Source drivers" 362306a36Sopenharmony_ci depends on GENERIC_CLOCKEVENTS 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciconfig TIMER_OF 662306a36Sopenharmony_ci bool 762306a36Sopenharmony_ci select TIMER_PROBE 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciconfig TIMER_ACPI 1062306a36Sopenharmony_ci bool 1162306a36Sopenharmony_ci select TIMER_PROBE 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciconfig TIMER_PROBE 1462306a36Sopenharmony_ci bool 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciconfig CLKSRC_I8253 1762306a36Sopenharmony_ci bool 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciconfig CLKEVT_I8253 2062306a36Sopenharmony_ci bool 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciconfig I8253_LOCK 2362306a36Sopenharmony_ci bool 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciconfig OMAP_DM_SYSTIMER 2662306a36Sopenharmony_ci bool 2762306a36Sopenharmony_ci select TIMER_OF 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciconfig CLKBLD_I8253 3062306a36Sopenharmony_ci def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciconfig CLKSRC_MMIO 3362306a36Sopenharmony_ci bool 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ciconfig BCM2835_TIMER 3662306a36Sopenharmony_ci bool "BCM2835 timer driver" if COMPILE_TEST 3762306a36Sopenharmony_ci select CLKSRC_MMIO 3862306a36Sopenharmony_ci help 3962306a36Sopenharmony_ci Enables the support for the BCM2835 timer driver. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciconfig BCM_KONA_TIMER 4262306a36Sopenharmony_ci bool "BCM mobile timer driver" if COMPILE_TEST 4362306a36Sopenharmony_ci select CLKSRC_MMIO 4462306a36Sopenharmony_ci help 4562306a36Sopenharmony_ci Enables the support for the BCM Kona mobile timer driver. 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ciconfig DAVINCI_TIMER 4862306a36Sopenharmony_ci bool "Texas Instruments DaVinci timer driver" if COMPILE_TEST 4962306a36Sopenharmony_ci help 5062306a36Sopenharmony_ci Enables the support for the TI DaVinci timer driver. 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ciconfig DIGICOLOR_TIMER 5362306a36Sopenharmony_ci bool "Digicolor timer driver" if COMPILE_TEST 5462306a36Sopenharmony_ci select CLKSRC_MMIO 5562306a36Sopenharmony_ci depends on HAS_IOMEM 5662306a36Sopenharmony_ci help 5762306a36Sopenharmony_ci Enables the support for the digicolor timer driver. 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciconfig OMAP_DM_TIMER 6062306a36Sopenharmony_ci bool "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST 6162306a36Sopenharmony_ci default y if ARCH_K3 6262306a36Sopenharmony_ci select TIMER_OF 6362306a36Sopenharmony_ci help 6462306a36Sopenharmony_ci Enables the support for the TI dual-mode timer driver. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciconfig DW_APB_TIMER 6762306a36Sopenharmony_ci bool "DW APB timer driver" if COMPILE_TEST 6862306a36Sopenharmony_ci help 6962306a36Sopenharmony_ci Enables the support for the dw_apb timer. 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ciconfig DW_APB_TIMER_OF 7262306a36Sopenharmony_ci bool 7362306a36Sopenharmony_ci select DW_APB_TIMER 7462306a36Sopenharmony_ci select TIMER_OF 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ciconfig FTTMR010_TIMER 7762306a36Sopenharmony_ci bool "Faraday Technology timer driver" if COMPILE_TEST 7862306a36Sopenharmony_ci depends on HAS_IOMEM 7962306a36Sopenharmony_ci select CLKSRC_MMIO 8062306a36Sopenharmony_ci select TIMER_OF 8162306a36Sopenharmony_ci select MFD_SYSCON 8262306a36Sopenharmony_ci help 8362306a36Sopenharmony_ci Enables support for the Faraday Technology timer block 8462306a36Sopenharmony_ci FTTMR010. 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ciconfig IXP4XX_TIMER 8762306a36Sopenharmony_ci bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST 8862306a36Sopenharmony_ci depends on HAS_IOMEM 8962306a36Sopenharmony_ci select CLKSRC_MMIO 9062306a36Sopenharmony_ci select TIMER_OF 9162306a36Sopenharmony_ci help 9262306a36Sopenharmony_ci Enables support for the Intel XScale IXP4xx SoC timer. 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciconfig ROCKCHIP_TIMER 9562306a36Sopenharmony_ci bool "Rockchip timer driver" if COMPILE_TEST 9662306a36Sopenharmony_ci depends on ARM || ARM64 9762306a36Sopenharmony_ci select TIMER_OF 9862306a36Sopenharmony_ci select CLKSRC_MMIO 9962306a36Sopenharmony_ci help 10062306a36Sopenharmony_ci Enables the support for the Rockchip timer driver. 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ciconfig ARMADA_370_XP_TIMER 10362306a36Sopenharmony_ci bool "Armada 370 and XP timer driver" if COMPILE_TEST 10462306a36Sopenharmony_ci depends on ARM 10562306a36Sopenharmony_ci select TIMER_OF 10662306a36Sopenharmony_ci select CLKSRC_MMIO 10762306a36Sopenharmony_ci help 10862306a36Sopenharmony_ci Enables the support for the Armada 370 and XP timer driver. 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ciconfig MESON6_TIMER 11162306a36Sopenharmony_ci bool "Meson6 timer driver" if COMPILE_TEST 11262306a36Sopenharmony_ci select CLKSRC_MMIO 11362306a36Sopenharmony_ci help 11462306a36Sopenharmony_ci Enables the support for the Meson6 timer driver. 11562306a36Sopenharmony_ci 11662306a36Sopenharmony_ciconfig ORION_TIMER 11762306a36Sopenharmony_ci bool "Orion timer driver" if COMPILE_TEST 11862306a36Sopenharmony_ci depends on ARM 11962306a36Sopenharmony_ci select TIMER_OF 12062306a36Sopenharmony_ci select CLKSRC_MMIO 12162306a36Sopenharmony_ci help 12262306a36Sopenharmony_ci Enables the support for the Orion timer driver 12362306a36Sopenharmony_ci 12462306a36Sopenharmony_ciconfig OWL_TIMER 12562306a36Sopenharmony_ci bool "Owl timer driver" if COMPILE_TEST 12662306a36Sopenharmony_ci select CLKSRC_MMIO 12762306a36Sopenharmony_ci help 12862306a36Sopenharmony_ci Enables the support for the Actions Semi Owl timer driver. 12962306a36Sopenharmony_ci 13062306a36Sopenharmony_ciconfig RDA_TIMER 13162306a36Sopenharmony_ci bool "RDA timer driver" if COMPILE_TEST 13262306a36Sopenharmony_ci select CLKSRC_MMIO 13362306a36Sopenharmony_ci select TIMER_OF 13462306a36Sopenharmony_ci help 13562306a36Sopenharmony_ci Enables the support for the RDA Micro timer driver. 13662306a36Sopenharmony_ci 13762306a36Sopenharmony_ciconfig SUN4I_TIMER 13862306a36Sopenharmony_ci bool "Sun4i timer driver" if COMPILE_TEST 13962306a36Sopenharmony_ci depends on HAS_IOMEM 14062306a36Sopenharmony_ci select CLKSRC_MMIO 14162306a36Sopenharmony_ci select TIMER_OF 14262306a36Sopenharmony_ci help 14362306a36Sopenharmony_ci Enables support for the Sun4i timer. 14462306a36Sopenharmony_ci 14562306a36Sopenharmony_ciconfig SUN5I_HSTIMER 14662306a36Sopenharmony_ci bool "Sun5i timer driver" if COMPILE_TEST 14762306a36Sopenharmony_ci select CLKSRC_MMIO 14862306a36Sopenharmony_ci depends on COMMON_CLK 14962306a36Sopenharmony_ci help 15062306a36Sopenharmony_ci Enables support the Sun5i timer. 15162306a36Sopenharmony_ci 15262306a36Sopenharmony_ciconfig TEGRA_TIMER 15362306a36Sopenharmony_ci bool "Tegra timer driver" if COMPILE_TEST 15462306a36Sopenharmony_ci select CLKSRC_MMIO 15562306a36Sopenharmony_ci select TIMER_OF 15662306a36Sopenharmony_ci depends on ARCH_TEGRA || COMPILE_TEST 15762306a36Sopenharmony_ci help 15862306a36Sopenharmony_ci Enables support for the Tegra driver. 15962306a36Sopenharmony_ci 16062306a36Sopenharmony_ciconfig TEGRA186_TIMER 16162306a36Sopenharmony_ci bool "NVIDIA Tegra186 timer driver" 16262306a36Sopenharmony_ci depends on ARCH_TEGRA || COMPILE_TEST 16362306a36Sopenharmony_ci depends on WATCHDOG && WATCHDOG_CORE 16462306a36Sopenharmony_ci help 16562306a36Sopenharmony_ci Enables support for the timers and watchdogs found on NVIDIA 16662306a36Sopenharmony_ci Tegra186 and later SoCs. 16762306a36Sopenharmony_ci 16862306a36Sopenharmony_ciconfig VT8500_TIMER 16962306a36Sopenharmony_ci bool "VT8500 timer driver" if COMPILE_TEST 17062306a36Sopenharmony_ci depends on HAS_IOMEM 17162306a36Sopenharmony_ci help 17262306a36Sopenharmony_ci Enables support for the VT8500 driver. 17362306a36Sopenharmony_ci 17462306a36Sopenharmony_ciconfig NPCM7XX_TIMER 17562306a36Sopenharmony_ci bool "NPCM7xx timer driver" if COMPILE_TEST 17662306a36Sopenharmony_ci depends on HAS_IOMEM 17762306a36Sopenharmony_ci select TIMER_OF 17862306a36Sopenharmony_ci select CLKSRC_MMIO 17962306a36Sopenharmony_ci help 18062306a36Sopenharmony_ci Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 18162306a36Sopenharmony_ci where TIMER0 serves as clockevent and TIMER1 serves as clocksource. 18262306a36Sopenharmony_ci 18362306a36Sopenharmony_ciconfig CADENCE_TTC_TIMER 18462306a36Sopenharmony_ci bool "Cadence TTC timer driver" if COMPILE_TEST 18562306a36Sopenharmony_ci depends on COMMON_CLK 18662306a36Sopenharmony_ci help 18762306a36Sopenharmony_ci Enables support for the Cadence TTC driver. 18862306a36Sopenharmony_ci 18962306a36Sopenharmony_ciconfig ASM9260_TIMER 19062306a36Sopenharmony_ci bool "ASM9260 timer driver" if COMPILE_TEST 19162306a36Sopenharmony_ci select CLKSRC_MMIO 19262306a36Sopenharmony_ci select TIMER_OF 19362306a36Sopenharmony_ci help 19462306a36Sopenharmony_ci Enables support for the ASM9260 timer. 19562306a36Sopenharmony_ci 19662306a36Sopenharmony_ciconfig CLKSRC_NOMADIK_MTU 19762306a36Sopenharmony_ci bool "Nomakdik clocksource driver" if COMPILE_TEST 19862306a36Sopenharmony_ci depends on ARM 19962306a36Sopenharmony_ci select CLKSRC_MMIO 20062306a36Sopenharmony_ci help 20162306a36Sopenharmony_ci Support for Multi Timer Unit. MTU provides access 20262306a36Sopenharmony_ci to multiple interrupt generating programmable 20362306a36Sopenharmony_ci 32-bit free running decrementing counters. 20462306a36Sopenharmony_ci 20562306a36Sopenharmony_ciconfig CLKSRC_DBX500_PRCMU 20662306a36Sopenharmony_ci bool "Clocksource PRCMU Timer" if COMPILE_TEST 20762306a36Sopenharmony_ci depends on HAS_IOMEM 20862306a36Sopenharmony_ci help 20962306a36Sopenharmony_ci Use the always on PRCMU Timer as clocksource. 21062306a36Sopenharmony_ci 21162306a36Sopenharmony_ciconfig CLPS711X_TIMER 21262306a36Sopenharmony_ci bool "Cirrus Logic timer driver" if COMPILE_TEST 21362306a36Sopenharmony_ci select CLKSRC_MMIO 21462306a36Sopenharmony_ci help 21562306a36Sopenharmony_ci Enables support for the Cirrus Logic PS711 timer. 21662306a36Sopenharmony_ci 21762306a36Sopenharmony_ciconfig MXS_TIMER 21862306a36Sopenharmony_ci bool "MXS timer driver" if COMPILE_TEST 21962306a36Sopenharmony_ci select CLKSRC_MMIO 22062306a36Sopenharmony_ci select STMP_DEVICE 22162306a36Sopenharmony_ci help 22262306a36Sopenharmony_ci Enables support for the MXS timer. 22362306a36Sopenharmony_ci 22462306a36Sopenharmony_ciconfig NSPIRE_TIMER 22562306a36Sopenharmony_ci bool "NSpire timer driver" if COMPILE_TEST 22662306a36Sopenharmony_ci select CLKSRC_MMIO 22762306a36Sopenharmony_ci help 22862306a36Sopenharmony_ci Enables support for the Nspire timer. 22962306a36Sopenharmony_ci 23062306a36Sopenharmony_ciconfig KEYSTONE_TIMER 23162306a36Sopenharmony_ci bool "Keystone timer driver" if COMPILE_TEST 23262306a36Sopenharmony_ci depends on ARM || ARM64 23362306a36Sopenharmony_ci select CLKSRC_MMIO 23462306a36Sopenharmony_ci help 23562306a36Sopenharmony_ci Enables support for the Keystone timer. 23662306a36Sopenharmony_ci 23762306a36Sopenharmony_ciconfig INTEGRATOR_AP_TIMER 23862306a36Sopenharmony_ci bool "Integrator-AP timer driver" if COMPILE_TEST 23962306a36Sopenharmony_ci select CLKSRC_MMIO 24062306a36Sopenharmony_ci help 24162306a36Sopenharmony_ci Enables support for the Integrator-AP timer. 24262306a36Sopenharmony_ci 24362306a36Sopenharmony_ciconfig CLKSRC_LPC32XX 24462306a36Sopenharmony_ci bool "Clocksource for LPC32XX" if COMPILE_TEST 24562306a36Sopenharmony_ci depends on HAS_IOMEM 24662306a36Sopenharmony_ci depends on ARM 24762306a36Sopenharmony_ci select CLKSRC_MMIO 24862306a36Sopenharmony_ci select TIMER_OF 24962306a36Sopenharmony_ci help 25062306a36Sopenharmony_ci Support for the LPC32XX clocksource. 25162306a36Sopenharmony_ci 25262306a36Sopenharmony_ciconfig CLKSRC_PISTACHIO 25362306a36Sopenharmony_ci bool "Clocksource for Pistachio SoC" 25462306a36Sopenharmony_ci depends on HAS_IOMEM 25562306a36Sopenharmony_ci depends on MIPS || COMPILE_TEST 25662306a36Sopenharmony_ci select TIMER_OF 25762306a36Sopenharmony_ci help 25862306a36Sopenharmony_ci Enables the clocksource for the Pistachio SoC. 25962306a36Sopenharmony_ci 26062306a36Sopenharmony_ciconfig CLKSRC_TI_32K 26162306a36Sopenharmony_ci bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST 26262306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK 26362306a36Sopenharmony_ci select TIMER_OF if OF 26462306a36Sopenharmony_ci help 26562306a36Sopenharmony_ci This option enables support for Texas Instruments 32.768 Hz clocksource 26662306a36Sopenharmony_ci available on many OMAP-like platforms. 26762306a36Sopenharmony_ci 26862306a36Sopenharmony_ciconfig CLKSRC_STM32 26962306a36Sopenharmony_ci bool "Clocksource for STM32 SoCs" if !ARCH_STM32 27062306a36Sopenharmony_ci depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) 27162306a36Sopenharmony_ci select CLKSRC_MMIO 27262306a36Sopenharmony_ci select TIMER_OF 27362306a36Sopenharmony_ci 27462306a36Sopenharmony_ciconfig CLKSRC_STM32_LP 27562306a36Sopenharmony_ci bool "Low power clocksource for STM32 SoCs" 27662306a36Sopenharmony_ci depends on MFD_STM32_LPTIMER || COMPILE_TEST 27762306a36Sopenharmony_ci 27862306a36Sopenharmony_ciconfig CLKSRC_MPS2 27962306a36Sopenharmony_ci bool "Clocksource for MPS2 SoCs" if COMPILE_TEST 28062306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK 28162306a36Sopenharmony_ci select CLKSRC_MMIO 28262306a36Sopenharmony_ci select TIMER_OF 28362306a36Sopenharmony_ci 28462306a36Sopenharmony_ciconfig ARC_TIMERS 28562306a36Sopenharmony_ci bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 28662306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK 28762306a36Sopenharmony_ci select TIMER_OF 28862306a36Sopenharmony_ci help 28962306a36Sopenharmony_ci These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores 29062306a36Sopenharmony_ci (ARC700 as well as ARC HS38). 29162306a36Sopenharmony_ci TIMER0 serves as clockevent while TIMER1 provides clocksource. 29262306a36Sopenharmony_ci 29362306a36Sopenharmony_ciconfig ARC_TIMERS_64BIT 29462306a36Sopenharmony_ci bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST 29562306a36Sopenharmony_ci depends on ARC_TIMERS 29662306a36Sopenharmony_ci select TIMER_OF 29762306a36Sopenharmony_ci help 29862306a36Sopenharmony_ci This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP). 29962306a36Sopenharmony_ci RTC is implemented inside the core, while GFRC sits outside the core in 30062306a36Sopenharmony_ci ARConnect IP block. Driver automatically picks one of them for clocksource 30162306a36Sopenharmony_ci as appropriate. 30262306a36Sopenharmony_ci 30362306a36Sopenharmony_ciconfig ARM_ARCH_TIMER 30462306a36Sopenharmony_ci bool 30562306a36Sopenharmony_ci select TIMER_OF if OF 30662306a36Sopenharmony_ci select TIMER_ACPI if ACPI 30762306a36Sopenharmony_ci 30862306a36Sopenharmony_ciconfig ARM_ARCH_TIMER_EVTSTREAM 30962306a36Sopenharmony_ci bool "Enable ARM architected timer event stream generation by default" 31062306a36Sopenharmony_ci default y if ARM_ARCH_TIMER 31162306a36Sopenharmony_ci depends on ARM_ARCH_TIMER 31262306a36Sopenharmony_ci help 31362306a36Sopenharmony_ci This option enables support by default for event stream generation 31462306a36Sopenharmony_ci based on the ARM architected timer. It is used for waking up CPUs 31562306a36Sopenharmony_ci executing the wfe instruction at a frequency represented as a 31662306a36Sopenharmony_ci power-of-2 divisor of the clock rate. The behaviour can also be 31762306a36Sopenharmony_ci overridden on the command line using the 31862306a36Sopenharmony_ci clocksource.arm_arch_timer.evtstream parameter. 31962306a36Sopenharmony_ci The main use of the event stream is wfe-based timeouts of userspace 32062306a36Sopenharmony_ci locking implementations. It might also be useful for imposing timeout 32162306a36Sopenharmony_ci on wfe to safeguard against any programming errors in case an expected 32262306a36Sopenharmony_ci event is not generated. 32362306a36Sopenharmony_ci This must be disabled for hardware validation purposes to detect any 32462306a36Sopenharmony_ci hardware anomalies of missing events. 32562306a36Sopenharmony_ci 32662306a36Sopenharmony_ciconfig ARM_ARCH_TIMER_OOL_WORKAROUND 32762306a36Sopenharmony_ci bool 32862306a36Sopenharmony_ci 32962306a36Sopenharmony_ciconfig FSL_ERRATUM_A008585 33062306a36Sopenharmony_ci bool "Workaround for Freescale/NXP Erratum A-008585" 33162306a36Sopenharmony_ci default y 33262306a36Sopenharmony_ci depends on ARM_ARCH_TIMER && ARM64 33362306a36Sopenharmony_ci select ARM_ARCH_TIMER_OOL_WORKAROUND 33462306a36Sopenharmony_ci help 33562306a36Sopenharmony_ci This option enables a workaround for Freescale/NXP Erratum 33662306a36Sopenharmony_ci A-008585 ("ARM generic timer may contain an erroneous 33762306a36Sopenharmony_ci value"). The workaround will only be active if the 33862306a36Sopenharmony_ci fsl,erratum-a008585 property is found in the timer node. 33962306a36Sopenharmony_ci 34062306a36Sopenharmony_ciconfig HISILICON_ERRATUM_161010101 34162306a36Sopenharmony_ci bool "Workaround for Hisilicon Erratum 161010101" 34262306a36Sopenharmony_ci default y 34362306a36Sopenharmony_ci select ARM_ARCH_TIMER_OOL_WORKAROUND 34462306a36Sopenharmony_ci depends on ARM_ARCH_TIMER && ARM64 34562306a36Sopenharmony_ci help 34662306a36Sopenharmony_ci This option enables a workaround for Hisilicon Erratum 34762306a36Sopenharmony_ci 161010101. The workaround will be active if the hisilicon,erratum-161010101 34862306a36Sopenharmony_ci property is found in the timer node. 34962306a36Sopenharmony_ci 35062306a36Sopenharmony_ciconfig ARM64_ERRATUM_858921 35162306a36Sopenharmony_ci bool "Workaround for Cortex-A73 erratum 858921" 35262306a36Sopenharmony_ci default y 35362306a36Sopenharmony_ci select ARM_ARCH_TIMER_OOL_WORKAROUND 35462306a36Sopenharmony_ci depends on ARM_ARCH_TIMER && ARM64 35562306a36Sopenharmony_ci help 35662306a36Sopenharmony_ci This option enables a workaround applicable to Cortex-A73 35762306a36Sopenharmony_ci (all versions), whose counter may return incorrect values. 35862306a36Sopenharmony_ci The workaround will be dynamically enabled when an affected 35962306a36Sopenharmony_ci core is detected. 36062306a36Sopenharmony_ci 36162306a36Sopenharmony_ciconfig SUN50I_ERRATUM_UNKNOWN1 36262306a36Sopenharmony_ci bool "Workaround for Allwinner A64 erratum UNKNOWN1" 36362306a36Sopenharmony_ci default y 36462306a36Sopenharmony_ci depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI 36562306a36Sopenharmony_ci select ARM_ARCH_TIMER_OOL_WORKAROUND 36662306a36Sopenharmony_ci help 36762306a36Sopenharmony_ci This option enables a workaround for instability in the timer on 36862306a36Sopenharmony_ci the Allwinner A64 SoC. The workaround will only be active if the 36962306a36Sopenharmony_ci allwinner,erratum-unknown1 property is found in the timer node. 37062306a36Sopenharmony_ci 37162306a36Sopenharmony_ciconfig ARM_GLOBAL_TIMER 37262306a36Sopenharmony_ci bool "Support for the ARM global timer" if COMPILE_TEST 37362306a36Sopenharmony_ci select TIMER_OF if OF 37462306a36Sopenharmony_ci depends on ARM 37562306a36Sopenharmony_ci help 37662306a36Sopenharmony_ci This option enables support for the ARM global timer unit. 37762306a36Sopenharmony_ci 37862306a36Sopenharmony_ciconfig ARM_GT_INITIAL_PRESCALER_VAL 37962306a36Sopenharmony_ci int "ARM global timer initial prescaler value" 38062306a36Sopenharmony_ci default 2 if ARCH_ZYNQ 38162306a36Sopenharmony_ci default 1 38262306a36Sopenharmony_ci depends on ARM_GLOBAL_TIMER 38362306a36Sopenharmony_ci help 38462306a36Sopenharmony_ci When the ARM global timer initializes, its current rate is declared 38562306a36Sopenharmony_ci to the kernel and maintained forever. Should its parent clock 38662306a36Sopenharmony_ci change, the driver tries to fix the timer's internal prescaler. 38762306a36Sopenharmony_ci On some machs (i.e. Zynq) the initial prescaler value thus poses 38862306a36Sopenharmony_ci bounds about how much the parent clock is allowed to decrease or 38962306a36Sopenharmony_ci increase wrt the initial clock value. 39062306a36Sopenharmony_ci This affects CPU_FREQ max delta from the initial frequency. 39162306a36Sopenharmony_ci 39262306a36Sopenharmony_ciconfig ARM_TIMER_SP804 39362306a36Sopenharmony_ci bool "Support for Dual Timer SP804 module" if COMPILE_TEST 39462306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK && HAVE_CLK 39562306a36Sopenharmony_ci select CLKSRC_MMIO 39662306a36Sopenharmony_ci select TIMER_OF if OF 39762306a36Sopenharmony_ci 39862306a36Sopenharmony_ciconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK 39962306a36Sopenharmony_ci bool 40062306a36Sopenharmony_ci depends on ARM_GLOBAL_TIMER 40162306a36Sopenharmony_ci default y 40262306a36Sopenharmony_ci help 40362306a36Sopenharmony_ci Use ARM global timer clock source as sched_clock. 40462306a36Sopenharmony_ci 40562306a36Sopenharmony_ciconfig ARMV7M_SYSTICK 40662306a36Sopenharmony_ci bool "Support for the ARMv7M system time" if COMPILE_TEST 40762306a36Sopenharmony_ci select TIMER_OF if OF 40862306a36Sopenharmony_ci select CLKSRC_MMIO 40962306a36Sopenharmony_ci help 41062306a36Sopenharmony_ci This option enables support for the ARMv7M system timer unit. 41162306a36Sopenharmony_ci 41262306a36Sopenharmony_ciconfig ATMEL_PIT 41362306a36Sopenharmony_ci bool "Atmel PIT support" if COMPILE_TEST 41462306a36Sopenharmony_ci depends on HAS_IOMEM 41562306a36Sopenharmony_ci select TIMER_OF if OF 41662306a36Sopenharmony_ci help 41762306a36Sopenharmony_ci Support for the Periodic Interval Timer found on Atmel SoCs. 41862306a36Sopenharmony_ci 41962306a36Sopenharmony_ciconfig ATMEL_ST 42062306a36Sopenharmony_ci bool "Atmel ST timer support" if COMPILE_TEST 42162306a36Sopenharmony_ci depends on HAS_IOMEM 42262306a36Sopenharmony_ci select TIMER_OF 42362306a36Sopenharmony_ci select MFD_SYSCON 42462306a36Sopenharmony_ci help 42562306a36Sopenharmony_ci Support for the Atmel ST timer. 42662306a36Sopenharmony_ci 42762306a36Sopenharmony_ciconfig ATMEL_TCB_CLKSRC 42862306a36Sopenharmony_ci bool "Atmel TC Block timer driver" if COMPILE_TEST 42962306a36Sopenharmony_ci depends on ARM && HAS_IOMEM 43062306a36Sopenharmony_ci select TIMER_OF if OF 43162306a36Sopenharmony_ci help 43262306a36Sopenharmony_ci Support for Timer Counter Blocks on Atmel SoCs. 43362306a36Sopenharmony_ci 43462306a36Sopenharmony_ciconfig CLKSRC_EXYNOS_MCT 43562306a36Sopenharmony_ci bool "Exynos multi core timer driver" if COMPILE_TEST 43662306a36Sopenharmony_ci depends on ARM || ARM64 43762306a36Sopenharmony_ci depends on ARCH_ARTPEC || ARCH_EXYNOS || COMPILE_TEST 43862306a36Sopenharmony_ci help 43962306a36Sopenharmony_ci Support for Multi Core Timer controller on Exynos SoCs. 44062306a36Sopenharmony_ci 44162306a36Sopenharmony_ciconfig CLKSRC_SAMSUNG_PWM 44262306a36Sopenharmony_ci bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST 44362306a36Sopenharmony_ci depends on HAS_IOMEM 44462306a36Sopenharmony_ci depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST 44562306a36Sopenharmony_ci help 44662306a36Sopenharmony_ci This is a new clocksource driver for the PWM timer found in 44762306a36Sopenharmony_ci Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver 44862306a36Sopenharmony_ci for all devicetree enabled platforms. This driver will be 44962306a36Sopenharmony_ci needed only on systems that do not have the Exynos MCT available. 45062306a36Sopenharmony_ci 45162306a36Sopenharmony_ciconfig FSL_FTM_TIMER 45262306a36Sopenharmony_ci bool "Freescale FlexTimer Module driver" if COMPILE_TEST 45362306a36Sopenharmony_ci depends on HAS_IOMEM 45462306a36Sopenharmony_ci select CLKSRC_MMIO 45562306a36Sopenharmony_ci help 45662306a36Sopenharmony_ci Support for Freescale FlexTimer Module (FTM) timer. 45762306a36Sopenharmony_ci 45862306a36Sopenharmony_ciconfig VF_PIT_TIMER 45962306a36Sopenharmony_ci bool 46062306a36Sopenharmony_ci select CLKSRC_MMIO 46162306a36Sopenharmony_ci help 46262306a36Sopenharmony_ci Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs. 46362306a36Sopenharmony_ci 46462306a36Sopenharmony_ciconfig SYS_SUPPORTS_SH_CMT 46562306a36Sopenharmony_ci bool 46662306a36Sopenharmony_ci 46762306a36Sopenharmony_ciconfig MTK_TIMER 46862306a36Sopenharmony_ci bool "Mediatek timer driver" if COMPILE_TEST 46962306a36Sopenharmony_ci depends on HAS_IOMEM 47062306a36Sopenharmony_ci select TIMER_OF 47162306a36Sopenharmony_ci select CLKSRC_MMIO 47262306a36Sopenharmony_ci help 47362306a36Sopenharmony_ci Support for Mediatek timer driver. 47462306a36Sopenharmony_ci 47562306a36Sopenharmony_ciconfig MTK_CPUX_TIMER 47662306a36Sopenharmony_ci bool "MediaTek CPUX timer driver" if COMPILE_TEST 47762306a36Sopenharmony_ci depends on HAS_IOMEM 47862306a36Sopenharmony_ci default ARCH_MEDIATEK 47962306a36Sopenharmony_ci select TIMER_OF 48062306a36Sopenharmony_ci select CLKSRC_MMIO 48162306a36Sopenharmony_ci help 48262306a36Sopenharmony_ci Support for MediaTek CPUXGPT timer driver. 48362306a36Sopenharmony_ci 48462306a36Sopenharmony_ciconfig SPRD_TIMER 48562306a36Sopenharmony_ci bool "Spreadtrum timer driver" if EXPERT 48662306a36Sopenharmony_ci depends on HAS_IOMEM 48762306a36Sopenharmony_ci depends on (ARCH_SPRD || COMPILE_TEST) 48862306a36Sopenharmony_ci default ARCH_SPRD 48962306a36Sopenharmony_ci select TIMER_OF 49062306a36Sopenharmony_ci help 49162306a36Sopenharmony_ci Enables support for the Spreadtrum timer driver. 49262306a36Sopenharmony_ci 49362306a36Sopenharmony_ciconfig SYS_SUPPORTS_SH_MTU2 49462306a36Sopenharmony_ci bool 49562306a36Sopenharmony_ci 49662306a36Sopenharmony_ciconfig SYS_SUPPORTS_SH_TMU 49762306a36Sopenharmony_ci bool 49862306a36Sopenharmony_ci 49962306a36Sopenharmony_ciconfig SYS_SUPPORTS_EM_STI 50062306a36Sopenharmony_ci bool 50162306a36Sopenharmony_ci 50262306a36Sopenharmony_ciconfig CLKSRC_JCORE_PIT 50362306a36Sopenharmony_ci bool "J-Core PIT timer driver" if COMPILE_TEST 50462306a36Sopenharmony_ci depends on OF 50562306a36Sopenharmony_ci depends on HAS_IOMEM 50662306a36Sopenharmony_ci select CLKSRC_MMIO 50762306a36Sopenharmony_ci help 50862306a36Sopenharmony_ci This enables build of clocksource and clockevent driver for 50962306a36Sopenharmony_ci the integrated PIT in the J-Core synthesizable, open source SoC. 51062306a36Sopenharmony_ci 51162306a36Sopenharmony_ciconfig SH_TIMER_CMT 51262306a36Sopenharmony_ci bool "Renesas CMT timer driver" if COMPILE_TEST 51362306a36Sopenharmony_ci depends on HAS_IOMEM 51462306a36Sopenharmony_ci default SYS_SUPPORTS_SH_CMT 51562306a36Sopenharmony_ci help 51662306a36Sopenharmony_ci This enables build of a clocksource and clockevent driver for 51762306a36Sopenharmony_ci the Compare Match Timer (CMT) hardware available in 16/32/48-bit 51862306a36Sopenharmony_ci variants on a wide range of Mobile and Automotive SoCs from Renesas. 51962306a36Sopenharmony_ci 52062306a36Sopenharmony_ciconfig SH_TIMER_MTU2 52162306a36Sopenharmony_ci bool "Renesas MTU2 timer driver" if COMPILE_TEST 52262306a36Sopenharmony_ci depends on HAS_IOMEM 52362306a36Sopenharmony_ci default SYS_SUPPORTS_SH_MTU2 52462306a36Sopenharmony_ci help 52562306a36Sopenharmony_ci This enables build of a clockevent driver for the Multi-Function 52662306a36Sopenharmony_ci Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. 52762306a36Sopenharmony_ci This hardware comes with 16-bit timer registers. 52862306a36Sopenharmony_ci 52962306a36Sopenharmony_ciconfig RENESAS_OSTM 53062306a36Sopenharmony_ci bool "Renesas OSTM timer driver" 53162306a36Sopenharmony_ci depends on ARCH_RENESAS || COMPILE_TEST 53262306a36Sopenharmony_ci select CLKSRC_MMIO 53362306a36Sopenharmony_ci select TIMER_OF 53462306a36Sopenharmony_ci help 53562306a36Sopenharmony_ci Enables the support for the Renesas OSTM. 53662306a36Sopenharmony_ci 53762306a36Sopenharmony_ciconfig SH_TIMER_TMU 53862306a36Sopenharmony_ci bool "Renesas TMU timer driver" if COMPILE_TEST 53962306a36Sopenharmony_ci depends on HAS_IOMEM 54062306a36Sopenharmony_ci default SYS_SUPPORTS_SH_TMU 54162306a36Sopenharmony_ci help 54262306a36Sopenharmony_ci This enables build of a clocksource and clockevent driver for 54362306a36Sopenharmony_ci the 32-bit Timer Unit (TMU) hardware available on a wide range 54462306a36Sopenharmony_ci SoCs from Renesas. 54562306a36Sopenharmony_ci 54662306a36Sopenharmony_ciconfig EM_TIMER_STI 54762306a36Sopenharmony_ci bool "Renesas STI timer driver" if COMPILE_TEST 54862306a36Sopenharmony_ci depends on HAS_IOMEM 54962306a36Sopenharmony_ci default SYS_SUPPORTS_EM_STI 55062306a36Sopenharmony_ci help 55162306a36Sopenharmony_ci This enables build of a clocksource and clockevent driver for 55262306a36Sopenharmony_ci the 48-bit System Timer (STI) hardware available on a SoCs 55362306a36Sopenharmony_ci such as EMEV2 from former NEC Electronics. 55462306a36Sopenharmony_ci 55562306a36Sopenharmony_ciconfig CLKSRC_QCOM 55662306a36Sopenharmony_ci bool "Qualcomm MSM timer" if COMPILE_TEST 55762306a36Sopenharmony_ci depends on ARM 55862306a36Sopenharmony_ci select TIMER_OF 55962306a36Sopenharmony_ci help 56062306a36Sopenharmony_ci This enables the clocksource and the per CPU clockevent driver for the 56162306a36Sopenharmony_ci Qualcomm SoCs. 56262306a36Sopenharmony_ci 56362306a36Sopenharmony_ciconfig CLKSRC_VERSATILE 56462306a36Sopenharmony_ci bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST 56562306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK 56662306a36Sopenharmony_ci select TIMER_OF 56762306a36Sopenharmony_ci default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM 56862306a36Sopenharmony_ci help 56962306a36Sopenharmony_ci This option enables clock source based on free running 57062306a36Sopenharmony_ci counter available in the "System Registers" block of 57162306a36Sopenharmony_ci ARM Versatile and Versatile Express reference platforms. 57262306a36Sopenharmony_ci 57362306a36Sopenharmony_ciconfig CLKSRC_MIPS_GIC 57462306a36Sopenharmony_ci bool 57562306a36Sopenharmony_ci depends on MIPS_GIC 57662306a36Sopenharmony_ci select CLOCKSOURCE_WATCHDOG 57762306a36Sopenharmony_ci select TIMER_OF 57862306a36Sopenharmony_ci 57962306a36Sopenharmony_ciconfig CLKSRC_PXA 58062306a36Sopenharmony_ci bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST 58162306a36Sopenharmony_ci depends on HAS_IOMEM 58262306a36Sopenharmony_ci select CLKSRC_MMIO 58362306a36Sopenharmony_ci help 58462306a36Sopenharmony_ci This enables OST0 support available on PXA and SA-11x0 58562306a36Sopenharmony_ci platforms. 58662306a36Sopenharmony_ci 58762306a36Sopenharmony_ciconfig CLKSRC_IMX_GPT 58862306a36Sopenharmony_ci bool "Clocksource using i.MX GPT" if COMPILE_TEST 58962306a36Sopenharmony_ci depends on (ARM || ARM64) && HAVE_CLK 59062306a36Sopenharmony_ci select CLKSRC_MMIO 59162306a36Sopenharmony_ci 59262306a36Sopenharmony_ciconfig CLKSRC_IMX_TPM 59362306a36Sopenharmony_ci bool "Clocksource using i.MX TPM" if COMPILE_TEST 59462306a36Sopenharmony_ci depends on (ARM || ARM64) && HAVE_CLK 59562306a36Sopenharmony_ci select CLKSRC_MMIO 59662306a36Sopenharmony_ci select TIMER_OF 59762306a36Sopenharmony_ci help 59862306a36Sopenharmony_ci Enable this option to use IMX Timer/PWM Module (TPM) timer as 59962306a36Sopenharmony_ci clocksource. 60062306a36Sopenharmony_ci 60162306a36Sopenharmony_ciconfig TIMER_IMX_SYS_CTR 60262306a36Sopenharmony_ci bool "i.MX system counter timer" if COMPILE_TEST 60362306a36Sopenharmony_ci select TIMER_OF 60462306a36Sopenharmony_ci help 60562306a36Sopenharmony_ci Enable this option to use i.MX system counter timer as a 60662306a36Sopenharmony_ci clockevent. 60762306a36Sopenharmony_ci 60862306a36Sopenharmony_ciconfig CLKSRC_LOONGSON1_PWM 60962306a36Sopenharmony_ci bool "Clocksource using Loongson1 PWM" 61062306a36Sopenharmony_ci depends on MACH_LOONGSON32 || COMPILE_TEST 61162306a36Sopenharmony_ci select MIPS_EXTERNAL_TIMER 61262306a36Sopenharmony_ci select TIMER_OF 61362306a36Sopenharmony_ci help 61462306a36Sopenharmony_ci Enable this option to use Loongson1 PWM timer as clocksource 61562306a36Sopenharmony_ci instead of the performance counter. 61662306a36Sopenharmony_ci 61762306a36Sopenharmony_ciconfig CLKSRC_ST_LPC 61862306a36Sopenharmony_ci bool "Low power clocksource found in the LPC" if COMPILE_TEST 61962306a36Sopenharmony_ci select TIMER_OF if OF 62062306a36Sopenharmony_ci depends on HAS_IOMEM 62162306a36Sopenharmony_ci select CLKSRC_MMIO 62262306a36Sopenharmony_ci help 62362306a36Sopenharmony_ci Enable this option to use the Low Power controller timer 62462306a36Sopenharmony_ci as clocksource. 62562306a36Sopenharmony_ci 62662306a36Sopenharmony_ciconfig GXP_TIMER 62762306a36Sopenharmony_ci bool "GXP timer driver" if COMPILE_TEST && !ARCH_HPE 62862306a36Sopenharmony_ci default ARCH_HPE 62962306a36Sopenharmony_ci select TIMER_OF if OF 63062306a36Sopenharmony_ci help 63162306a36Sopenharmony_ci Provides a driver for the timer control found on HPE 63262306a36Sopenharmony_ci GXP SOCs. This is required for all GXP SOCs. 63362306a36Sopenharmony_ci 63462306a36Sopenharmony_ciconfig RISCV_TIMER 63562306a36Sopenharmony_ci bool "Timer for the RISC-V platform" if COMPILE_TEST 63662306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI 63762306a36Sopenharmony_ci select TIMER_PROBE 63862306a36Sopenharmony_ci select TIMER_OF 63962306a36Sopenharmony_ci help 64062306a36Sopenharmony_ci This enables the per-hart timer built into all RISC-V systems, which 64162306a36Sopenharmony_ci is accessed via both the SBI and the rdcycle instruction. This is 64262306a36Sopenharmony_ci required for all RISC-V systems. 64362306a36Sopenharmony_ci 64462306a36Sopenharmony_ciconfig CLINT_TIMER 64562306a36Sopenharmony_ci bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST 64662306a36Sopenharmony_ci depends on GENERIC_SCHED_CLOCK && RISCV 64762306a36Sopenharmony_ci select TIMER_PROBE 64862306a36Sopenharmony_ci select TIMER_OF 64962306a36Sopenharmony_ci help 65062306a36Sopenharmony_ci This option enables the CLINT timer for RISC-V systems. The CLINT 65162306a36Sopenharmony_ci driver is usually used for NoMMU RISC-V systems. 65262306a36Sopenharmony_ci 65362306a36Sopenharmony_ciconfig CSKY_MP_TIMER 65462306a36Sopenharmony_ci bool "SMP Timer for the C-SKY platform" if COMPILE_TEST 65562306a36Sopenharmony_ci depends on CSKY 65662306a36Sopenharmony_ci select TIMER_OF 65762306a36Sopenharmony_ci help 65862306a36Sopenharmony_ci Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP 65962306a36Sopenharmony_ci system. 66062306a36Sopenharmony_ci csky,mptimer is not only used in SMP system, it also could be used in 66162306a36Sopenharmony_ci single core system. It's not a mmio reg and it uses mtcr/mfcr instruction. 66262306a36Sopenharmony_ci 66362306a36Sopenharmony_ciconfig GX6605S_TIMER 66462306a36Sopenharmony_ci bool "Gx6605s SOC system timer driver" if COMPILE_TEST 66562306a36Sopenharmony_ci depends on CSKY 66662306a36Sopenharmony_ci select CLKSRC_MMIO 66762306a36Sopenharmony_ci select TIMER_OF 66862306a36Sopenharmony_ci help 66962306a36Sopenharmony_ci This option enables support for gx6605s SOC's timer. 67062306a36Sopenharmony_ci 67162306a36Sopenharmony_ciconfig MILBEAUT_TIMER 67262306a36Sopenharmony_ci bool "Milbeaut timer driver" if COMPILE_TEST 67362306a36Sopenharmony_ci depends on OF 67462306a36Sopenharmony_ci depends on ARM 67562306a36Sopenharmony_ci select TIMER_OF 67662306a36Sopenharmony_ci select CLKSRC_MMIO 67762306a36Sopenharmony_ci help 67862306a36Sopenharmony_ci Enables the support for Milbeaut timer driver. 67962306a36Sopenharmony_ci 68062306a36Sopenharmony_ciconfig MSC313E_TIMER 68162306a36Sopenharmony_ci bool "MSC313E timer driver" if COMPILE_TEST 68262306a36Sopenharmony_ci select TIMER_OF 68362306a36Sopenharmony_ci select CLKSRC_MMIO 68462306a36Sopenharmony_ci help 68562306a36Sopenharmony_ci Enables support for the MStar MSC313E timer driver. 68662306a36Sopenharmony_ci This provides access to multiple interrupt generating 68762306a36Sopenharmony_ci programmable 32-bit free running incrementing counters. 68862306a36Sopenharmony_ci 68962306a36Sopenharmony_ciconfig INGENIC_TIMER 69062306a36Sopenharmony_ci bool "Clocksource/timer using the TCU in Ingenic JZ SoCs" 69162306a36Sopenharmony_ci default MACH_INGENIC 69262306a36Sopenharmony_ci depends on MIPS || COMPILE_TEST 69362306a36Sopenharmony_ci depends on COMMON_CLK 69462306a36Sopenharmony_ci select MFD_SYSCON 69562306a36Sopenharmony_ci select TIMER_OF 69662306a36Sopenharmony_ci select IRQ_DOMAIN 69762306a36Sopenharmony_ci help 69862306a36Sopenharmony_ci Support for the timer/counter unit of the Ingenic JZ SoCs. 69962306a36Sopenharmony_ci 70062306a36Sopenharmony_ciconfig INGENIC_SYSOST 70162306a36Sopenharmony_ci bool "Clocksource/timer using the SYSOST in Ingenic X SoCs" 70262306a36Sopenharmony_ci depends on MIPS || COMPILE_TEST 70362306a36Sopenharmony_ci depends on COMMON_CLK 70462306a36Sopenharmony_ci select MFD_SYSCON 70562306a36Sopenharmony_ci select TIMER_OF 70662306a36Sopenharmony_ci select IRQ_DOMAIN 70762306a36Sopenharmony_ci help 70862306a36Sopenharmony_ci Support for the SYSOST of the Ingenic X Series SoCs. 70962306a36Sopenharmony_ci 71062306a36Sopenharmony_ciconfig INGENIC_OST 71162306a36Sopenharmony_ci bool "Clocksource using the OST in Ingenic JZ SoCs" 71262306a36Sopenharmony_ci depends on MIPS || COMPILE_TEST 71362306a36Sopenharmony_ci depends on COMMON_CLK 71462306a36Sopenharmony_ci select MFD_SYSCON 71562306a36Sopenharmony_ci help 71662306a36Sopenharmony_ci Support for the Operating System Timer of the Ingenic JZ SoCs. 71762306a36Sopenharmony_ci 71862306a36Sopenharmony_ciconfig MICROCHIP_PIT64B 71962306a36Sopenharmony_ci bool "Microchip PIT64B support" 72062306a36Sopenharmony_ci depends on OF && ARM 72162306a36Sopenharmony_ci select TIMER_OF 72262306a36Sopenharmony_ci help 72362306a36Sopenharmony_ci This option enables Microchip PIT64B timer for Atmel 72462306a36Sopenharmony_ci based system. It supports the oneshot, the periodic 72562306a36Sopenharmony_ci modes and high resolution. It is used as a clocksource 72662306a36Sopenharmony_ci and a clockevent. 72762306a36Sopenharmony_ci 72862306a36Sopenharmony_ciconfig GOLDFISH_TIMER 72962306a36Sopenharmony_ci bool "Clocksource using goldfish-rtc" 73062306a36Sopenharmony_ci depends on M68K || COMPILE_TEST 73162306a36Sopenharmony_ci depends on RTC_DRV_GOLDFISH 73262306a36Sopenharmony_ci help 73362306a36Sopenharmony_ci Support for the timer/counter of goldfish-rtc 73462306a36Sopenharmony_ci 73562306a36Sopenharmony_ciendmenu 736