[U-Boot] [PATCH 10/20] timer: MediaTek: add timer driver for MediaTek SoCs

Matthias Brugger matthias.bgg at gmail.com
Tue Oct 2 14:20:23 UTC 2018



On 02/10/2018 08:13, Ryder Lee wrote:
> This patch adds clock source/event for the timer found on the Mediatek SoCs.
> 
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>
> ---
>  drivers/timer/Kconfig     |  7 ++++
>  drivers/timer/Makefile    |  1 +
>  drivers/timer/mtk_timer.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 93 insertions(+)
>  create mode 100644 drivers/timer/mtk_timer.c
> 
> diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
> index a7d600b..83ec0e6 100644
> --- a/drivers/timer/Kconfig
> +++ b/drivers/timer/Kconfig
> @@ -147,4 +147,11 @@ config MPC83XX_TIMER
>  	  Select this to enable support for the timer found on
>  	  devices based on the MPC83xx family of SoCs.
>  
> +config MTK_TIMER
> +        bool "MediaTek timer support"

Nit: Tab instead of spaces :)


More information about the U-Boot mailing list