]> Git Repo - J-u-boot.git/commit
drivers: timer: Introduce ARC timer driver
authorVlad Zakharov <[email protected]>
Tue, 21 Mar 2017 11:49:47 +0000 (14:49 +0300)
committerAlexey Brodkin <[email protected]>
Fri, 24 Mar 2017 11:20:55 +0000 (14:20 +0300)
commitad9b5f77dffaa38ea830af94cd5de3450318f97c
tree3bb41583e0f1dada28c659aafabd7cc240c88cba
parentd0ffda8ed208ff2957cd09ccc37e2d6dff81523e
drivers: timer: Introduce ARC timer driver

This commit introduces timer driver for ARC.

ARC timers are configured via ARC AUX registers so we use special
functions to access timer control registers.

This driver allows utilization of either timer0 or timer1
depending on which one is available in real hardware. Essentially
only existing timers should be mentioned in board's Device Tree
description.

Signed-off-by: Vlad Zakharov <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/arc/include/asm/arcregs.h
doc/device-tree-bindings/timer/arc_timer.txt [new file with mode: 0644]
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/arc_timer.c [new file with mode: 0644]
This page took 0.034929 seconds and 4 git commands to generate.