commit | f39f8f77a5268530e982aa38e921c640d532a9ae | [log] [tgz] |
---|---|---|
author | Torsten Duwe <duwe@lst.de> | Mon Aug 14 18:05:28 2023 +0200 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Tue Sep 05 10:53:36 2023 +0800 |
tree | 642d81d389f8fc5ba2b43d9054e45aa89d73fc0e | |
parent | 71914337ef579bb22705d4b88fee6b1448f7a9b1 [diff] |
riscv: allow riscv timer to be instantiated via device tree 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@suse.de> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>