diff options
| author | Luca Leonardo Scorcia <l.scorcia@gmail.com> | 2026-10-02 09:19:28 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-10-13 13:17:27 +0200 |
| commit | e234d40823808c1727e88a40d8c9ee960de1baed (patch) | |
| tree | 74e6fcf797e66787ac0205830057be85284a61a4 /scripts/Makefile.thinlto | |
| parent | 7a097aba725501c399b5e93d0199aa3a2f6e9c88 (diff) | |
| download | linux-e234d40823808c1727e88a40d8c9ee960de1baed.tar.gz linux-e234d40823808c1727e88a40d8c9ee960de1baed.zip | |
clocksource/drivers/timer-mediatek: Request and enable the bus clock
MediaTek APXGPT general purpose timers may optionally depend on a bus
clock. If this clock is not enabled the timers don't actually run. Boot
loaders usually turn it on, but later the kernel turns it off since it's
never requested by any driver.
Some platforms (like mt6735) declare it as a critical clock in their
clock definitions to keep it running, but at least on mt8167 it's not
actually required for a successful boot.
If a bus clock is declared in the device tree, make sure it is enabled
by driver probe and associated to the device.
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-4-l.scorcia@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
