]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clocksource/drivers/vf-pit: Rename the VF PIT to NXP PIT
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 4 Aug 2025 15:23:36 +0000 (17:23 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Sep 2025 10:30:05 +0000 (12:30 +0200)
The PIT acronym stands for Periodic Interrupt Timer which is found on
different NXP platforms not only on the Vybrid Family. Change the name
to be more generic for the NXP platforms in general. That will be
consistent with the NXP STM driver naming convention.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20250804152344.1109310-19-daniel.lezcano@linaro.org
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/timer-nxp-pit.c [moved from drivers/clocksource/timer-vf-pit.c with 100% similarity]

index 6f7d371904df44faf7c08cbc3243e54750f2999f..0fd662f67d296af42685fd10a6400255f93cc375 100644 (file)
@@ -474,11 +474,14 @@ config FSL_FTM_TIMER
        help
          Support for Freescale FlexTimer Module (FTM) timer.
 
-config VF_PIT_TIMER
-       bool "Vybrid Family Programmable timer" if COMPILE_TEST
+config NXP_PIT_TIMER
+       bool "NXP Periodic Interrupt Timer" if COMPILE_TEST
        select CLKSRC_MMIO
        help
-         Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs.
+         Support for Periodic Interrupt Timer on Freescale / NXP
+         SoCs. This periodic timer is found on the Vybrid Family and
+         the Automotive S32G2/3 platforms. It contains 4 channels
+         where two can be coupled to form a 64 bits channel.
 
 config SYS_SUPPORTS_SH_CMT
        bool
index 205bf3b0a8f3f2837a82118e9007f94ac2cc3ad5..77a0f08eb43b75d5d8183432f67a6b7aebe6693a 100644 (file)
@@ -49,7 +49,7 @@ 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_NXP_PIT_TIMER)    += timer-nxp-pit.o
 obj-$(CONFIG_CLKSRC_QCOM)      += timer-qcom.o
 obj-$(CONFIG_MTK_TIMER)                += timer-mediatek.o
 obj-$(CONFIG_MTK_CPUX_TIMER)   += timer-mediatek-cpux.o