This patchset adds to support StarFive Watchdog driver which is based on Linux kernel's starfive-wdt driver. Actually, the original driver supports both JH7100 and JH7110 with variant coding but this removes the JH7100 part of codes because JH7100 isn't supported in u-boot yet. However, this patch tries to keep the variant coding style for future work of JH7100 and have a consistency with the Linux driver.
Chanho Park (4): clk: starfive: jh7110: Add watchdog clocks watchdog: Add StarFive Watchdog driver riscv: dts: jh7110: Add watchdog device tree node configs: visionfive2: Enable watchdog driver arch/riscv/dts/jh7110.dtsi | 10 + configs/starfive_visionfive2_defconfig | 5 + drivers/clk/starfive/clk-jh7110.c | 9 + drivers/watchdog/Kconfig | 7 + drivers/watchdog/Makefile | 1 + drivers/watchdog/starfive_wdt.c | 329 +++++++++++++++++++++++++ 6 files changed, 361 insertions(+) create mode 100644 drivers/watchdog/starfive_wdt.c -- 2.39.2