Re: [PATCH v5 6/7] clocksource/drivers/exynos_mct: Add module support
From: Daniel Lezcano
Date: Mon Nov 17 2025 - 06:49:46 EST
Hi Will,
On 10/24/25 17:53, William McVicker wrote:
On 10/24/2025, Marek Szyprowski wrote:
On 23.10.2025 22:52, Will McVicker wrote:
From: Donghoon Yu <hoony.yu@xxxxxxxxxxx>
[ ... ]
Sorry, but this still won't work on legacy ARM 32bit systems with MCT as
the only clocksource, which needs a driver available very early (that's
why it used TIMER_OF_DECLAREmacro). You need to make it conditional
under CONFIG_ARM:
Can we rely on the bootloader to setup the MCT timer and then hand-off at boot
once the driver is initialized?
Daniel was working on a solution to transparently handle calling
TIMER_OF_DECLARE() when a timer driver can be configured as both a module or
built-in here:
https://lore.kernel.org/all/20250625085715.889837-1-daniel.lezcano@xxxxxxxxxx/
Daniel, do you have plans to finish that? In the meantime, can we go with the
`#if CONFIG_ARM` solution?
I have a plan to finish that but it is low in my priority list. So I
guess we can go for the CONFIG_ARM solution in the meantime.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog