timer: mtk: add support for MediaTek MT7981/MT7986 SoCs
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 11:59:41 +0000 (19:59 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:15 +0000 (15:09 -0400)
commit980e107d0f353a24cd4dcf3466cea068ec5e2eed
treefd56e6cb3ed3596d50f44ac469ce171d7587d6ec
parent1ac479587f18f14bbf54242c1ef2769a66d4b634
timer: mtk: add support for MediaTek MT7981/MT7986 SoCs

This patch add general-purpose timer support for MediaTek MT7981/MT7986.
These two SoCs uses a newer version of timer with its register definition
slightly changed.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/timer/mtk_timer.c