commit | 002858cd01f80dc21b277d71cb2df0de01306a69 | [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 | d414b7bc2d2ea54ff98e44ed78ba6e42b5d66c4c [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>