All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] riscv: Clean up timer drivers
@ 2020-07-22 15:51 Sean Anderson
  2020-07-22 15:51 ` [PATCH 1/6] riscv: Rework riscv timer driver to only support S-mode Sean Anderson
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Sean Anderson @ 2020-07-22 15:51 UTC (permalink / raw)
  To: u-boot

This series cleans up the timer drivers in RISC-V and converts them to DM.

This series depends on [1]. This series needs to be tested! I have only tested
it on QEMU and the K210. Notably, this means that the HiFive and anything Andes
is completely untested. CI for this series is located at [2].

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=190862
[2] https://dev.azure.com/seanga2/u-boot/_build/results?buildId=4


Sean Anderson (6):
  riscv: Rework riscv timer driver to only support S-mode
  riscv: Rework Andes PLMT as a UCLASS_TIMER driver
  riscv: Clean up initialization in Andes PLIC
  riscv: Rework Sifive CLINT as UCLASS_TIMER driver
  riscv: Update Kendryte device tree for new CLINT driver
  riscv: Update SiFive device tree for new CLINT driver

 arch/riscv/Kconfig                      |  8 ---
 arch/riscv/dts/ae350_32.dts             |  1 +
 arch/riscv/dts/ae350_64.dts             |  1 +
 arch/riscv/dts/fu540-c000-u-boot.dtsi   |  7 +-
 arch/riscv/dts/k210.dtsi                | 10 +--
 arch/riscv/include/asm/global_data.h    |  3 -
 arch/riscv/lib/Makefile                 |  1 -
 arch/riscv/lib/andes_plic.c             | 58 +++++++----------
 arch/riscv/lib/andes_plmt.c             | 42 ++++++------
 arch/riscv/lib/rdtime.c                 | 38 -----------
 arch/riscv/lib/sifive_clint.c           | 87 ++++++++++++++++---------
 common/spl/spl_opensbi.c                |  5 ++
 drivers/clk/kendryte/clk.c              |  4 ++
 drivers/ram/sifive/Kconfig              |  2 +
 drivers/timer/Kconfig                   |  6 +-
 drivers/timer/riscv_timer.c             | 39 +++++------
 include/dt-bindings/clock/k210-sysctl.h |  1 +
 17 files changed, 151 insertions(+), 162 deletions(-)
 delete mode 100644 arch/riscv/lib/rdtime.c

-- 
2.27.0

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-07-28  9:27 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 15:51 [PATCH 0/6] riscv: Clean up timer drivers Sean Anderson
2020-07-22 15:51 ` [PATCH 1/6] riscv: Rework riscv timer driver to only support S-mode Sean Anderson
2020-07-28  9:11   ` Rick Chen
2020-07-28  9:27     ` Sean Anderson
2020-07-22 15:51 ` [PATCH 2/6] riscv: Rework Andes PLMT as a UCLASS_TIMER driver Sean Anderson
2020-07-23 13:51   ` Bin Meng
2020-07-23 13:54     ` Sean Anderson
2020-07-22 15:51 ` [PATCH 3/6] riscv: Clean up initialization in Andes PLIC Sean Anderson
2020-07-22 15:51 ` [PATCH 4/6] riscv: Rework Sifive CLINT as UCLASS_TIMER driver Sean Anderson
2020-07-22 15:51 ` [PATCH 5/6] riscv: Update Kendryte device tree for new CLINT driver Sean Anderson
2020-07-23 11:49   ` Sagar Kadam
2020-07-23 11:56     ` Sean Anderson
2020-07-23 13:49       ` Bin Meng
2020-07-23 13:59         ` Sean Anderson
2020-07-24  4:22           ` Sagar Kadam
2020-07-22 15:51 ` [PATCH 6/6] riscv: Update SiFive " Sean Anderson
2020-07-23 13:50   ` Bin Meng
2020-07-23 13:57     ` Sean Anderson
2020-07-23 14:22       ` Pragnesh Patel
2020-07-23 14:47       ` Bin Meng
2020-07-23 14:52         ` Sean Anderson
2020-07-23 16:51           ` Sagar Kadam
2020-07-23 20:27             ` Sean Anderson
2020-07-24  8:03               ` Sagar Kadam
2020-07-24  1:46           ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.