watchdog: sony-cronos-cpld: Add watchdog driver for Sony Cronos CPLD
PATCH v3 4/4 watchdog: sony-cronos-cpld: Add watchdog driver for Sony Cronos CPLD
The Sony Cronos Platform Controller CPLD is a multi-purpose platform controller with an integrated watchdog. Add the watchdog driver for the Cronos CPLD.
Signed-off-by Timothy Pearson <[email protected]>
--- drivers/watchdog/Kconfig | 17 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/sony-cronos-wdt.c | 302 +++++++++++++++++++++++++++++ 3 files changed, 320 insertions(+) create mode 100644 drivers/watchdog/sony-cronos-wdt.c
drivers/watchdog/Kconfig +17 -0
@@ -416,6 +416,23 @@ config SL28CPLD_WATCHDOG To compile this driver as a module, choose M here: the module will be called sl28cpld_wdt. +config SONY_CRONOS_WATCHDOG + tristate "Sony Cronos CPLD Watchdog" + depends on ARCH_ASPEED || COMPILE_TEST + depends on I2C + select WATCHDOG_CORE + help + Say Y here to include support for the watchdog timer + for the Sony Cronos control CPLD. + + All known Cronos systems use the ASpeed AST2600 SoC, + therefore the configuration option is gated on + ARCH_ASPEED selection. If this changes, add the new + SoCs to the selection list. + + To compile this driver as a module, choose M here: the + module will be called sony-cronos-wdt. + # ALPHA Architecture # ARM Architecture
drivers/watchdog/Makefile +1 -0
@@ -242,3 +242,4 @@ obj-$(CONFIG_MENZ069_WATCHDOG) += menz69_wdt.o obj-$(CONFIG_RAVE_SP_WATCHDOG) += rave-sp-wdt.o obj-$(CONFIG_STPMIC1_WATCHDOG) += stpmic1_wdt.o obj-$(CONFIG_SL28CPLD_WATCHDOG) += sl28cpld_wdt.o +obj-$(CONFIG_SONY_CRONOS_WATCHDOG) += sony-cronos-wdt.o
drivers/watchdog/sony-cronos-wdt.c new file +302 -0
302 lines not on this page · raw message
Signature · 1 line
2.39.5