watchdog: Add Allwinner watchdog driver
Subsystems (2)
RFC PATCH 1/1 watchdog: Add Allwinner watchdog driver
This patch add watchdog driver for Allwinner SoCs.
Initial non-dm driver has send by 'Chris Blake' So I keep his author on the driver itself.
Signed-off-by Chris Blake <[email protected]>
Signed-off-by Jagan Teki <[email protected]>
--- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/sunxi_wdt.c | 207 +++++++++++++++++++++++++++++++++++ 3 files changed, 215 insertions(+) create mode 100644 drivers/watchdog/sunxi_wdt.c
drivers/watchdog/Kconfig +7 -0
@@ -117,6 +117,13 @@ config WDT_MTK The watchdog timer is stopped when initialized. It performs full SoC reset. +config WDT_SUNXI + bool "Allwinner SoC watchdog support" + depends on WDT + default y if ARCH_SUNXI + help + Select this to enable watchdog timer for Allwinner SoCs. + config XILINX_TB_WATCHDOG bool "Xilinx Axi watchdog timer support" depends on WDT
drivers/watchdog/Makefile +1 -0
@@ -27,3 +27,4 @@ obj-$(CONFIG_WDT_CDNS) += cdns_wdt.o obj-$(CONFIG_MPC8xx_WATCHDOG) += mpc8xx_wdt.o obj-$(CONFIG_WDT_MT7621) += mt7621_wdt.o obj-$(CONFIG_WDT_MTK) += mtk_wdt.o +obj-$(CONFIG_WDT_SUNXI) += sunxi_wdt.o
drivers/watchdog/sunxi_wdt.c new file +207 -0
207 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3