Skip to content

Commit 047c533

Browse files
committed
watchdog: add driver for max42500-wdt
The MAX42500 contains a programmable watchdog and the watchdog can be used either as a simple windowed watchdog or a challenge/response watchdog, which is accessible through the I2C interface, along with a configurable RESET output. Signed-off-by: Kent Libetario <[email protected]>
1 parent 5f15f90 commit 047c533

File tree

3 files changed

+561
-0
lines changed

3 files changed

+561
-0
lines changed

drivers/watchdog/Kconfig

+10
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,16 @@ config MAX77620_WATCHDOG
703703
MAX77620 chips. To compile this driver as a module,
704704
choose M here: the module will be called max77620_wdt.
705705

706+
config MAX42500_WDT
707+
tristate "MAX42500 Programmable Windowed Watchdog"
708+
depends on MFD_MAX42500
709+
select WATCHDOG_CORE
710+
help
711+
This is the driver for the MAX42500 watchdog timer.
712+
Say 'Y' here to enable the watchdog timer support for
713+
MAX42500 chips. To compile this driver as a module,
714+
choose M here: the module will be called max42500-wdt.
715+
706716
config IMX2_WDT
707717
tristate "IMX2+ Watchdog"
708718
depends on ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST

drivers/watchdog/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ obj-$(CONFIG_GPIO_WATCHDOG) += gpio_wdt.o
226226
obj-$(CONFIG_WDAT_WDT) += wdat_wdt.o
227227
obj-$(CONFIG_WM831X_WATCHDOG) += wm831x_wdt.o
228228
obj-$(CONFIG_WM8350_WATCHDOG) += wm8350_wdt.o
229+
obj-$(CONFIG_MAX42500_WDT) += max42500-wdt.o
229230
obj-$(CONFIG_MAX63XX_WATCHDOG) += max63xx_wdt.o
230231
obj-$(CONFIG_MAX77620_WATCHDOG) += max77620_wdt.o
231232
obj-$(CONFIG_ZIIRAVE_WATCHDOG) += ziirave_wdt.o

0 commit comments

Comments
 (0)