mbox series

[v5,0/6] wdt: Add support for watchdogs on Kendryte K210

Message ID 20201222235903.131751-1-seanga2@gmail.com
Headers show
Series wdt: Add support for watchdogs on Kendryte K210 | expand

Message

Sean Anderson Dec. 22, 2020, 11:58 p.m. UTC
This series depends on
https://patchwork.ozlabs.org/project/uboot/list/?series=200642

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

Changes in v4:
- Fix build error without CONFIG_CLK

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 (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

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

Comments

Sean Anderson Jan. 13, 2021, 6:13 a.m. UTC | #1
On 12/22/20 6:58 PM, Sean Anderson wrote:
> This series depends on
> https://patchwork.ozlabs.org/project/uboot/list/?series=200642
> 
> Changes in v5:
> - Rebase on u-boot/master
> 
> Changes in v4:
> - Fix build error without CONFIG_CLK
> 
> 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 (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
> 
>   arch/riscv/dts/k210.dtsi          |  1 -
>   board/sipeed/maix/Kconfig         |  2 ++
>   drivers/watchdog/designware_wdt.c | 37 ++++++++++++++++++++-----------
>   3 files changed, 26 insertions(+), 14 deletions(-)
> 

*bump*

I'd like to get this into 2020.04, since it has had no changes since
September except for a rebase.

--Sean