Skip to content

wdt: Add support for watchdogs on Kendryte K210

Sean Anderson u-boot 11 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest posting 2/20 of 6 patches 0 repliesNew
  2. v6 posting 1/26 patches 0 repliesSuperseded
  3. v5 posting 2/20 of 6 patches 0 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v5 posting 1/26 patches0 repliesSuperseded
v4 posting 3/30 of 7 patches0 repliesSuperseded
v4 posting 2/30 of 7 patches0 repliesSuperseded
v4 posting 1/37 patches0 repliesSuperseded
v3 posting 2/20 of 7 patches0 repliesSuperseded
v3 posting 1/27 patches0 repliesSuperseded
v27 patches0 repliesSuperseded
v17 patches0 repliesSuperseded

Patches in v6 posting 2/2 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 0/6] wdt: Add support for watchdogs on Kendryte K210
Quoted 27 lines · Sean Anderson

Please merge! I don't want to have to keep rebasing.

Changes in v6:
- Rebase on u-boot/master

Changes in v5:
- Note dependency on "time: Fix get_ticks being non-monotonic"
- Add a few signed-off-bys which were sent for version 1
- Rebase on u-boot/master

Changes in v4:
- Fix build error without CONFIG_CLK

Changes in v2:
- Fix fls being off-by-one when compared to log_2_n_round_up
- Move watchdog enable to k210.dtsi as it does not depend on anything board-specific.

Sean Anderson (6):
wdt: dw: Switch to using fls for log2
wdt: dw: Switch to if(CONFIG()) instead of using #if
wdt: dw: Enable the clock before using it
wdt: dw: Free the clock on error
riscv: Add watchdog bindings for the k210
riscv: Enable watchdog for the k210

Quoted 5 lines
  arch/riscv/dts/k210.dtsi          |  1 -
  board/sipeed/maix/Kconfig         |  2 ++
  drivers/watchdog/designware_wdt.c | 37 ++++++++++++++++++++-----------
  3 files changed, 26 insertions(+), 14 deletions(-)

Rick, can you pick this up for v2021.07? I would like to note that there have been no functional changes since v4, which I sent last September.

--Sean