[PATCH v3 1/1] timer: npcm: Add driver for Nuvoton NPCM SoCs
Simon Glass
sjg at chromium.org
Sat Feb 26 19:37:18 CET 2022
On Mon, 14 Feb 2022 at 19:34, Stanley Chu <stanley.chuys at gmail.com> wrote:
>
> Enable a periodic timer on NPCM SoCs and implement
> the get_count timer ops.
>
> Signed-off-by: Stanley Chu <yschu at nuvoton.com>
> ---
> v3:
> - use driver data for clock setting on different chips
> - remove unnecessary code of zeroing priv variables
> - more help description in Kconfig
> v2:
> - calculate the prescale value, not hardcode
> ---
> drivers/timer/Kconfig | 9 +++
> drivers/timer/Makefile | 1 +
> drivers/timer/npcm-timer.c | 115 +++++++++++++++++++++++++++++++++++++
> 3 files changed, 125 insertions(+)
> create mode 100644 drivers/timer/npcm-timer.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list