diff options
| author | Luca Leonardo Scorcia <l.scorcia@gmail.com> | 2026-10-02 09:19:27 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-10-13 13:17:20 +0200 |
| commit | 7a097aba725501c399b5e93d0199aa3a2f6e9c88 (patch) | |
| tree | f057d863f1a193a3029bc77dae54bdc1e7c16a34 /scripts/Makefile.thinlto | |
| parent | 8496a1d234e8cf9cb15c4282cb3a11c6550bd242 (diff) | |
| download | linux-7a097aba725501c399b5e93d0199aa3a2f6e9c88.tar.gz linux-7a097aba725501c399b5e93d0199aa3a2f6e9c88.zip | |
clocksource/drivers/timer-mediatek: Convert to OF probing
MediaTek APXGPT general purpose timer driver is registered via
TIMER_OF_DECLARE to be loaded early in the boot process. It depends on
a reference 13 MHz clock that is assigned via the clocks property of
its DT node.
On platforms like mt8516/mt8167 this clock is provided by a driver that
is loaded using OF probing and becomes available only later during boot.
This leads to a silent EDEFER error during timer init, which is not
recovered by TIMER_OF_DECLARE and GPT clocks are not registered at all.
Since those clocks are not critical for boot, convert the timer-mediatek
to OF probing and drop the TIMER_OF_DECLARE instructions.
Signed-off-by: Luca Leonardo Scorcia <l.scorcia@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20261002072115.169250-3-l.scorcia@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
