[PATCH 1/2] riscv: allow riscv timer to be instantiated via device tree
Leo Liang
ycliang at andestech.com
Mon Sep 4 07:57:08 CEST 2023
On Mon, Aug 14, 2023 at 06:05:28PM +0200, Torsten Duwe wrote:
> For the architectural timer on riscv, there already is a defined
> device tree binding[1]. Allow timer instances to be created from
> device tree matches, but for now retain the old mechanism, which
> registers the timer biggy-back with the CPU.
>
> [1] linux/Documentation/devicetree/bindings/timer/riscv,timer.yaml
>
> Signed-off-by: Torsten Duwe <duwe at suse.de>
> ---
> drivers/timer/riscv_timer.c | 28 ++++++++++++++++++++++++++--
> 1 file changed, 26 insertions(+), 2 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list