Skip to contentSkip to conversation

watchdog: sony-cronos-cpld: Add watchdog driver for Sony Cronos CPLD

PATCH Superseded Timothy Pearson 1 participant 1 message Sep 25, 2025 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 0c25b2ed44eb..3acabcafcaae 100644
@@ -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
index bbd4d62d2cc3..f29f20a52229 100644
@@ -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