Alexandru Chimac
|
e3bfa5e08d
|
drivers: Add driver for MediaTek CPUXGPT timers
On some MediaTek platforms, the cores' System Timers aren't initialized
corectly by TEE, so we need to enable them manually, otherwise CNTVCT_EL0
will return 0, and any delay function will generate an infinite loop.
Based on [1].
[1]: https://patchwork.kernel.org/project/linux-mediatek/patch/20220509210741.12020-3-angelogioacchino.delregno@collabora.com/
Signed-off-by: Alexandru Chimac <alex@chimac.ro>
|
2026-07-06 11:03:28 +03:00 |
|