diff options
author | Torsten Duwe <duwe@lst.de> | 2023-08-14 18:05:28 +0200 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-09-05 10:53:36 +0800 |
commit | f39f8f77a5268530e982aa38e921c640d532a9ae (patch) | |
tree | 642d81d389f8fc5ba2b43d9054e45aa89d73fc0e /drivers/timer/orion-timer.c | |
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>
Diffstat (limited to 'drivers/timer/orion-timer.c')
0 files changed, 0 insertions, 0 deletions