public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/7] wdt: Add support for watchdogs on Kendryte K210
@ 2020-09-01 20:07 Sean Anderson
  2020-09-01 20:07 ` [PATCH v3 1/7] wdt: dw: Switch to using fls for log2 Sean Anderson
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Sean Anderson @ 2020-09-01 20:07 UTC (permalink / raw)
  To: u-boot

This series depends on
https://patchwork.ozlabs.org/project/uboot/patch/20200901195548.542737-1-seanga2 at gmail.com/

Changes in v3:
- Note dependency on "time: Fix get_ticks being non-monotonic"
- Add a few signed-off-bys which were sent for version 1

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 (7):
  wdt: dw: Switch to using fls for log2
  wdt: dw: Switch to if(CONFIG()) instead of using #if
  wdt: dw: Fix clock rate being off by 1000
  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

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

-- 
2.28.0

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

end of thread, other threads:[~2020-09-09 20:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-01 20:07 [PATCH v3 0/7] wdt: Add support for watchdogs on Kendryte K210 Sean Anderson
2020-09-01 20:07 ` [PATCH v3 1/7] wdt: dw: Switch to using fls for log2 Sean Anderson
2020-09-07  1:43   ` Simon Glass
2020-09-01 20:07 ` [PATCH v3 2/7] wdt: dw: Switch to if(CONFIG()) instead of using #if Sean Anderson
2020-09-01 20:07 ` [PATCH v3 3/7] wdt: dw: Fix clock rate being off by 1000 Sean Anderson
2020-09-01 20:07 ` [PATCH v3 4/7] wdt: dw: Enable the clock before using it Sean Anderson
2020-09-01 20:07 ` [PATCH v3 5/7] wdt: dw: Free the clock on error Sean Anderson
2020-09-09 20:57   ` Sean Anderson
2020-09-01 20:07 ` [PATCH v3 6/7] riscv: Add watchdog bindings for the k210 Sean Anderson
2020-09-01 20:07 ` [PATCH v3 7/7] riscv: Enable watchdog " Sean Anderson
2020-09-07  1:43   ` Simon Glass
2020-09-09 20:35 ` [PATCH v3 0/7] wdt: Add support for watchdogs on Kendryte K210 Sean Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox