mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
52762fbd1c
We can move the TI dmtimer clockevent and clocksource to live under drivers/clocksource if we rely only on the clock framework, and handle the module configuration directly in the clocksource driver based on the device tree data. This removes the early dependency with system timers to the interconnect related code, and we can probe pretty much everything else later on at the module_init level. Let's first add a new driver for timer-ti-dm-systimer based on existing arch/arm/mach-omap2/timer.c. Then let's start moving SoCs to probe with device tree data while still keeping the old timer.c. And eventually we can just drop the old timer.c. Let's take the opportunity to switch to use readl/writel as pointed out by Daniel Lezcano <daniel.lezcano@linaro.org>. This allows further clean-up of the timer-ti-dm code the a lot of the shared helpers can just become static to the non-syster related code. Note the boards can optionally configure different timer source clocks if needed with assigned-clocks and assigned-clock-parents. Cc: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Grygorii Strashko <grygorii.strashko@ti.com> Cc: Keerthy <j-keerthy@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Rob Herring <robh@kernel.org> Cc: Tero Kristo <t-kristo@ti.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200507172330.18679-3-tony@atomide.com
94 lines
4.2 KiB
Makefile
94 lines
4.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_TIMER_OF) += timer-of.o
|
|
obj-$(CONFIG_TIMER_PROBE) += timer-probe.o
|
|
obj-$(CONFIG_ATMEL_PIT) += timer-atmel-pit.o
|
|
obj-$(CONFIG_ATMEL_ST) += timer-atmel-st.o
|
|
obj-$(CONFIG_ATMEL_TCB_CLKSRC) += timer-atmel-tcb.o
|
|
obj-$(CONFIG_X86_PM_TIMER) += acpi_pm.o
|
|
obj-$(CONFIG_SCx200HR_TIMER) += scx200_hrt.o
|
|
obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC) += timer-cs5535.o
|
|
obj-$(CONFIG_CLKSRC_JCORE_PIT) += jcore-pit.o
|
|
obj-$(CONFIG_SH_TIMER_CMT) += sh_cmt.o
|
|
obj-$(CONFIG_SH_TIMER_MTU2) += sh_mtu2.o
|
|
obj-$(CONFIG_RENESAS_OSTM) += renesas-ostm.o
|
|
obj-$(CONFIG_SH_TIMER_TMU) += sh_tmu.o
|
|
obj-$(CONFIG_EM_TIMER_STI) += em_sti.o
|
|
obj-$(CONFIG_CLKBLD_I8253) += i8253.o
|
|
obj-$(CONFIG_CLKSRC_MMIO) += mmio.o
|
|
obj-$(CONFIG_DAVINCI_TIMER) += timer-davinci.o
|
|
obj-$(CONFIG_DIGICOLOR_TIMER) += timer-digicolor.o
|
|
obj-$(CONFIG_OMAP_DM_TIMER) += timer-ti-dm.o
|
|
obj-$(CONFIG_OMAP_DM_TIMER) += timer-ti-dm-systimer.o
|
|
obj-$(CONFIG_DW_APB_TIMER) += dw_apb_timer.o
|
|
obj-$(CONFIG_DW_APB_TIMER_OF) += dw_apb_timer_of.o
|
|
obj-$(CONFIG_FTTMR010_TIMER) += timer-fttmr010.o
|
|
obj-$(CONFIG_IXP4XX_TIMER) += timer-ixp4xx.o
|
|
obj-$(CONFIG_ROCKCHIP_TIMER) += timer-rockchip.o
|
|
obj-$(CONFIG_CLKSRC_NOMADIK_MTU) += nomadik-mtu.o
|
|
obj-$(CONFIG_CLKSRC_DBX500_PRCMU) += clksrc-dbx500-prcmu.o
|
|
obj-$(CONFIG_ARMADA_370_XP_TIMER) += timer-armada-370-xp.o
|
|
obj-$(CONFIG_ORION_TIMER) += timer-orion.o
|
|
obj-$(CONFIG_BCM2835_TIMER) += bcm2835_timer.o
|
|
obj-$(CONFIG_CLPS711X_TIMER) += clps711x-timer.o
|
|
obj-$(CONFIG_ATLAS7_TIMER) += timer-atlas7.o
|
|
obj-$(CONFIG_MXS_TIMER) += mxs_timer.o
|
|
obj-$(CONFIG_CLKSRC_PXA) += timer-pxa.o
|
|
obj-$(CONFIG_PRIMA2_TIMER) += timer-prima2.o
|
|
obj-$(CONFIG_U300_TIMER) += timer-u300.o
|
|
obj-$(CONFIG_SUN4I_TIMER) += timer-sun4i.o
|
|
obj-$(CONFIG_SUN5I_HSTIMER) += timer-sun5i.o
|
|
obj-$(CONFIG_MESON6_TIMER) += timer-meson6.o
|
|
obj-$(CONFIG_TEGRA_TIMER) += timer-tegra.o
|
|
obj-$(CONFIG_VT8500_TIMER) += timer-vt8500.o
|
|
obj-$(CONFIG_NSPIRE_TIMER) += timer-zevio.o
|
|
obj-$(CONFIG_BCM_KONA_TIMER) += bcm_kona_timer.o
|
|
obj-$(CONFIG_CADENCE_TTC_TIMER) += timer-cadence-ttc.o
|
|
obj-$(CONFIG_CLKSRC_EFM32) += timer-efm32.o
|
|
obj-$(CONFIG_CLKSRC_STM32) += timer-stm32.o
|
|
obj-$(CONFIG_CLKSRC_EXYNOS_MCT) += exynos_mct.o
|
|
obj-$(CONFIG_CLKSRC_LPC32XX) += timer-lpc32xx.o
|
|
obj-$(CONFIG_CLKSRC_MPS2) += mps2-timer.o
|
|
obj-$(CONFIG_CLKSRC_SAMSUNG_PWM) += samsung_pwm_timer.o
|
|
obj-$(CONFIG_FSL_FTM_TIMER) += timer-fsl-ftm.o
|
|
obj-$(CONFIG_VF_PIT_TIMER) += timer-vf-pit.o
|
|
obj-$(CONFIG_CLKSRC_QCOM) += timer-qcom.o
|
|
obj-$(CONFIG_MTK_TIMER) += timer-mediatek.o
|
|
obj-$(CONFIG_CLKSRC_PISTACHIO) += timer-pistachio.o
|
|
obj-$(CONFIG_CLKSRC_TI_32K) += timer-ti-32k.o
|
|
obj-$(CONFIG_CLKSRC_NPS) += timer-nps.o
|
|
obj-$(CONFIG_OXNAS_RPS_TIMER) += timer-oxnas-rps.o
|
|
obj-$(CONFIG_OWL_TIMER) += timer-owl.o
|
|
obj-$(CONFIG_MILBEAUT_TIMER) += timer-milbeaut.o
|
|
obj-$(CONFIG_SPRD_TIMER) += timer-sprd.o
|
|
obj-$(CONFIG_NPCM7XX_TIMER) += timer-npcm7xx.o
|
|
obj-$(CONFIG_RDA_TIMER) += timer-rda.o
|
|
|
|
obj-$(CONFIG_ARC_TIMERS) += arc_timer.o
|
|
obj-$(CONFIG_ARM_ARCH_TIMER) += arm_arch_timer.o
|
|
obj-$(CONFIG_ARM_GLOBAL_TIMER) += arm_global_timer.o
|
|
obj-$(CONFIG_ARMV7M_SYSTICK) += armv7m_systick.o
|
|
obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp804.o
|
|
obj-$(CONFIG_ARCH_HAS_TICK_BROADCAST) += dummy_timer.o
|
|
obj-$(CONFIG_KEYSTONE_TIMER) += timer-keystone.o
|
|
obj-$(CONFIG_INTEGRATOR_AP_TIMER) += timer-integrator-ap.o
|
|
obj-$(CONFIG_CLKSRC_VERSATILE) += timer-versatile.o
|
|
obj-$(CONFIG_CLKSRC_MIPS_GIC) += mips-gic-timer.o
|
|
obj-$(CONFIG_CLKSRC_TANGO_XTAL) += timer-tango-xtal.o
|
|
obj-$(CONFIG_CLKSRC_IMX_GPT) += timer-imx-gpt.o
|
|
obj-$(CONFIG_CLKSRC_IMX_TPM) += timer-imx-tpm.o
|
|
obj-$(CONFIG_TIMER_IMX_SYS_CTR) += timer-imx-sysctr.o
|
|
obj-$(CONFIG_ASM9260_TIMER) += asm9260_timer.o
|
|
obj-$(CONFIG_H8300_TMR8) += h8300_timer8.o
|
|
obj-$(CONFIG_H8300_TMR16) += h8300_timer16.o
|
|
obj-$(CONFIG_H8300_TPU) += h8300_tpu.o
|
|
obj-$(CONFIG_INGENIC_OST) += ingenic-ost.o
|
|
obj-$(CONFIG_INGENIC_TIMER) += ingenic-timer.o
|
|
obj-$(CONFIG_CLKSRC_ST_LPC) += clksrc_st_lpc.o
|
|
obj-$(CONFIG_X86_NUMACHIP) += numachip.o
|
|
obj-$(CONFIG_ATCPIT100_TIMER) += timer-atcpit100.o
|
|
obj-$(CONFIG_RISCV_TIMER) += timer-riscv.o
|
|
obj-$(CONFIG_CSKY_MP_TIMER) += timer-mp-csky.o
|
|
obj-$(CONFIG_GX6605S_TIMER) += timer-gx6605s.o
|
|
obj-$(CONFIG_HYPERV_TIMER) += hyperv_timer.o
|
|
obj-$(CONFIG_MICROCHIP_PIT64B) += timer-microchip-pit64b.o
|