timer: MediaTek: add timer driver for MediaTek SoCs

This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Tested-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Ryder Lee
2018-11-15 10:07:56 +08:00
committed by Tom Rini
parent c746651550
commit d3c3606c5c
3 changed files with 93 additions and 0 deletions

View File

@@ -160,4 +160,11 @@ config X86_TSC_TIMER
help
Select this to enable Time-Stamp Counter (TSC) timer for x86.
config MTK_TIMER
bool "MediaTek timer support"
depends on TIMER
help
Select this to enable support for the timer found on
MediaTek devices.
endmenu