1# SPDX-License-Identifier: GPL-2.0-only
2
3#
4# Watchdog device configuration
5#
6
7menuconfig WATCHDOG
8	bool "Watchdog Timer Support"
9	help
10	  If you say Y here (and to one of the following options) and create a
11	  character special file /dev/watchdog with major number 10 and minor
12	  number 130 using mknod ("man mknod"), you will get a watchdog, i.e.:
13	  subsequently opening the file and then failing to write to it for
14	  longer than 1 minute will result in rebooting the machine. This
15	  could be useful for a networked machine that needs to come back
16	  on-line as fast as possible after a lock-up. There's both a watchdog
17	  implementation entirely in software (which can sometimes fail to
18	  reboot the machine) and a driver for hardware watchdog boards, which
19	  are more robust and can also keep track of the temperature inside
20	  your computer. For details, read
21	  <file:Documentation/watchdog/watchdog-api.rst> in the kernel source.
22
23	  The watchdog is usually used together with the watchdog daemon
24	  which is available from
25	  <https://ibiblio.org/pub/Linux/system/daemons/watchdog/>. This daemon
26	  can also monitor NFS connections and can reboot the machine when the
27	  process table is full.
28
29	  If unsure, say N.
30
31if WATCHDOG
32
33config WATCHDOG_CORE
34	tristate "WatchDog Timer Driver Core"
35	help
36	  Say Y here if you want to use the new watchdog timer driver core.
37	  This driver provides a framework for all watchdog timer drivers
38	  and gives them the /dev/watchdog interface (and later also the
39	  sysfs interface).
40
41config WATCHDOG_NOWAYOUT
42	bool "Disable watchdog shutdown on close"
43	help
44	  The default watchdog behaviour (which you get if you say N here) is
45	  to stop the timer if the process managing it closes the file
46	  /dev/watchdog. It's always remotely possible that this process might
47	  get killed. If you say Y here, the watchdog cannot be stopped once
48	  it has been started.
49
50config WATCHDOG_HANDLE_BOOT_ENABLED
51	bool "Update boot-enabled watchdog until userspace takes over"
52	default y
53	help
54	  The default watchdog behaviour (which you get if you say Y here) is
55	  to ping watchdog devices that were enabled before the driver has
56	  been loaded until control is taken over from userspace using the
57	  /dev/watchdog file. If you say N here, the kernel will not update
58	  the watchdog on its own. Thus if your userspace does not start fast
59	  enough your device will reboot.
60
61config WATCHDOG_OPEN_TIMEOUT
62	int "Timeout value for opening watchdog device"
63	default 0
64	help
65	  The maximum time, in seconds, for which the watchdog framework takes
66	  care of pinging a hardware watchdog.  A value of 0 means infinite. The
67	  value set here can be overridden by the commandline parameter
68	  "watchdog.open_timeout".
69
70config WATCHDOG_SYSFS
71	bool "Read different watchdog information through sysfs"
72	help
73	  Say Y here if you want to enable watchdog device status read through
74	  sysfs attributes.
75
76config WATCHDOG_HRTIMER_PRETIMEOUT
77	bool "Enable watchdog hrtimer-based pretimeouts"
78	help
79	  Enable this if you want to use a hrtimer timer based pretimeout for
80	  watchdogs that do not natively support pretimeout support. Be aware
81	  that because this pretimeout functionality uses hrtimers, it may not
82	  be able to fire before the actual watchdog fires in some situations.
83
84comment "Watchdog Pretimeout Governors"
85
86config WATCHDOG_PRETIMEOUT_GOV
87	bool "Enable watchdog pretimeout governors"
88	depends on WATCHDOG_CORE
89	help
90	  The option allows to select watchdog pretimeout governors.
91
92config WATCHDOG_PRETIMEOUT_GOV_SEL
93	tristate
94	depends on WATCHDOG_PRETIMEOUT_GOV
95	default m
96	select WATCHDOG_PRETIMEOUT_GOV_PANIC if WATCHDOG_PRETIMEOUT_GOV_NOOP=n
97
98if WATCHDOG_PRETIMEOUT_GOV
99
100config WATCHDOG_PRETIMEOUT_GOV_NOOP
101	tristate "Noop watchdog pretimeout governor"
102	depends on WATCHDOG_CORE
103	default WATCHDOG_CORE
104	help
105	  Noop watchdog pretimeout governor, only an informational
106	  message is added to kernel log buffer.
107
108config WATCHDOG_PRETIMEOUT_GOV_PANIC
109	tristate "Panic watchdog pretimeout governor"
110	depends on WATCHDOG_CORE
111	default WATCHDOG_CORE
112	help
113	  Panic watchdog pretimeout governor, on watchdog pretimeout
114	  event put the kernel into panic.
115
116choice
117	prompt "Default Watchdog Pretimeout Governor"
118	default WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC
119	help
120	  This option selects a default watchdog pretimeout governor.
121	  The governor takes its action, if a watchdog is capable
122	  to report a pretimeout event.
123
124config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP
125	bool "noop"
126	depends on WATCHDOG_PRETIMEOUT_GOV_NOOP
127	help
128	  Use noop watchdog pretimeout governor by default. If noop
129	  governor is selected by a user, write a short message to
130	  the kernel log buffer and don't do any system changes.
131
132config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC
133	bool "panic"
134	depends on WATCHDOG_PRETIMEOUT_GOV_PANIC
135	help
136	  Use panic watchdog pretimeout governor by default, if
137	  a watchdog pretimeout event happens, consider that
138	  a watchdog feeder is dead and reboot is unavoidable.
139
140endchoice
141
142endif # WATCHDOG_PRETIMEOUT_GOV
143
144#
145# General Watchdog drivers
146#
147
148comment "Watchdog Device Drivers"
149
150# Architecture Independent
151
152config SOFT_WATCHDOG
153	tristate "Software watchdog"
154	select WATCHDOG_CORE
155	help
156	  A software monitoring watchdog. This will fail to reboot your system
157	  from some situations that the hardware watchdog will recover
158	  from. Equally it's a lot cheaper to install.
159
160	  To compile this driver as a module, choose M here: the
161	  module will be called softdog.
162
163config SOFT_WATCHDOG_PRETIMEOUT
164	bool "Software watchdog pretimeout governor support"
165	depends on SOFT_WATCHDOG && WATCHDOG_PRETIMEOUT_GOV
166	help
167	  Enable this if you want to use pretimeout governors with the software
168	  watchdog. Be aware that governors might affect the watchdog because it
169	  is purely software, e.g. the panic governor will stall it!
170
171config BD957XMUF_WATCHDOG
172	tristate "ROHM BD9576MUF and BD9573MUF PMIC Watchdog"
173	depends on MFD_ROHM_BD957XMUF
174	select WATCHDOG_CORE
175	help
176	  Support for the watchdog in the ROHM BD9576 and BD9573 PMICs.
177	  These PMIC ICs contain watchdog block which can be configured
178	  to toggle reset line if SoC fails to ping watchdog via GPIO.
179
180	  Say Y here to include support for the ROHM BD9576 or BD9573
181	  watchdog. Alternatively say M to compile the driver as a module,
182	  which will be called bd9576_wdt.
183
184config BD96801_WATCHDOG
185	tristate "ROHM BD96801 PMIC Watchdog"
186	depends on MFD_ROHM_BD96801
187	select WATCHDOG_CORE
188	help
189	  Support for the watchdog in the ROHM BD96801 PMIC. Watchdog can be
190	  configured to only generate IRQ or to trigger system reset via reset
191	  pin.
192
193	  Say Y here to include support for the ROHM BD96801 watchdog.
194	  Alternatively say M to compile the driver as a module,
195	  which will be called bd96801_wdt.
196
197config CROS_EC_WATCHDOG
198	tristate "ChromeOS EC-based watchdog"
199	select WATCHDOG_CORE
200	depends on CROS_EC
201	help
202	  Watchdog driver for Chromebook devices equipped with embedded controller.
203	  Trigger event is recorded in EC and checked on the subsequent boot.
204
205	  To compile this driver as a module, choose M here: the
206	  module will be called cros_ec_wdt.
207
208config DA9052_WATCHDOG
209	tristate "Dialog DA9052 Watchdog"
210	depends on PMIC_DA9052 || COMPILE_TEST
211	select WATCHDOG_CORE
212	help
213	  Support for the watchdog in the DA9052 PMIC. Watchdog trigger
214	  cause system reset.
215
216	  Say Y here to include support for the DA9052 watchdog.
217	  Alternatively say M to compile the driver as a module,
218	  which will be called da9052_wdt.
219
220config DA9055_WATCHDOG
221	tristate "Dialog Semiconductor DA9055 Watchdog"
222	depends on MFD_DA9055 || COMPILE_TEST
223	select WATCHDOG_CORE
224	help
225	  If you say yes here you get support for watchdog on the Dialog
226	  Semiconductor DA9055 PMIC.
227
228	  This driver can also be built as a module.  If so, the module
229	  will be called da9055_wdt.
230
231config DA9063_WATCHDOG
232	tristate "Dialog DA9063 Watchdog"
233	depends on MFD_DA9063 || COMPILE_TEST
234	depends on I2C
235	select WATCHDOG_CORE
236	help
237	  Support for the watchdog in the DA9063 PMIC.
238
239	  This driver can be built as a module. The module name is da9063_wdt.
240
241config DA9062_WATCHDOG
242	tristate "Dialog DA9062/61 Watchdog"
243	depends on MFD_DA9062 || COMPILE_TEST
244	depends on I2C
245	select WATCHDOG_CORE
246	help
247	  Support for the watchdog in the DA9062 and DA9061 PMICs.
248
249	  This driver can be built as a module. The module name is da9062_wdt.
250
251config GPIO_WATCHDOG
252	tristate "Watchdog device controlled through GPIO-line"
253	depends on OF_GPIO
254	select WATCHDOG_CORE
255	help
256	  If you say yes here you get support for watchdog device
257	  controlled through GPIO-line.
258
259config GPIO_WATCHDOG_ARCH_INITCALL
260	bool "Register the watchdog as early as possible"
261	depends on GPIO_WATCHDOG=y
262	help
263	  In some situations, the default initcall level (module_init)
264	  in not early enough in the boot process to avoid the watchdog
265	  to be triggered.
266	  If you say yes here, the initcall level would be raised to
267	  arch_initcall.
268	  If in doubt, say N.
269
270config LENOVO_SE10_WDT
271	tristate "Lenovo SE10 Watchdog"
272	depends on (X86 && DMI) || COMPILE_TEST
273	depends on HAS_IOPORT
274	select WATCHDOG_CORE
275	help
276	  If you say yes here you get support for the watchdog
277	  functionality for the Lenovo SE10 platform.
278
279	  This driver can also be built as a module. If so, the module
280	  will be called lenovo-se10-wdt.
281
282config MENF21BMC_WATCHDOG
283	tristate "MEN 14F021P00 BMC Watchdog"
284	depends on MFD_MENF21BMC || COMPILE_TEST
285	depends on I2C
286	select WATCHDOG_CORE
287	help
288	  Say Y here to include support for the MEN 14F021P00 BMC Watchdog.
289
290	  This driver can also be built as a module. If so the module
291	  will be called menf21bmc_wdt.
292
293config MENZ069_WATCHDOG
294	tristate "MEN 16Z069 Watchdog"
295	depends on MCB
296	select WATCHDOG_CORE
297	help
298	  Say Y here to include support for the MEN 16Z069 Watchdog.
299
300	  This driver can also be built as a module. If so the module
301	  will be called menz069_wdt.
302
303config WDAT_WDT
304	tristate "ACPI Watchdog Action Table (WDAT)"
305	depends on ACPI
306	select WATCHDOG_CORE
307	select ACPI_WATCHDOG
308	help
309	  This driver adds support for systems with ACPI Watchdog Action
310	  Table (WDAT) table. Servers typically have this but it can be
311	  found on some desktop machines as well. This driver will take
312	  over the native iTCO watchdog driver found on many Intel CPUs.
313
314	  To compile this driver as module, choose M here: the module will
315	  be called wdat_wdt.
316
317config WM831X_WATCHDOG
318	tristate "WM831x watchdog"
319	depends on MFD_WM831X
320	select WATCHDOG_CORE
321	help
322	  Support for the watchdog in the WM831x AudioPlus PMICs.  When
323	  the watchdog triggers the system will be reset.
324
325config WM8350_WATCHDOG
326	tristate "WM8350 watchdog"
327	depends on MFD_WM8350
328	select WATCHDOG_CORE
329	help
330	  Support for the watchdog in the WM8350 AudioPlus PMIC.  When
331	  the watchdog triggers the system will be reset.
332
333config XILINX_WATCHDOG
334	tristate "Xilinx Watchdog timer"
335	depends on HAS_IOMEM
336	select WATCHDOG_CORE
337	help
338	  Watchdog driver for the xps_timebase_wdt IP core.
339
340	  To compile this driver as a module, choose M here: the
341	  module will be called of_xilinx_wdt.
342
343config XILINX_WINDOW_WATCHDOG
344	tristate "Xilinx window watchdog timer"
345	depends on HAS_IOMEM
346	depends on ARM64 || COMPILE_TEST
347	select WATCHDOG_CORE
348	help
349	  Window watchdog driver for the versal_wwdt IP core.
350	  Window watchdog timer(WWDT) contains closed(first) and
351	  open(second) window with 32 bit width. Write to the watchdog
352	  timer within predefined window periods of time. This means
353	  a period that is not too soon and a period that is not too
354	  late. The WWDT has to be restarted within the open window time.
355	  If software tries to restart WWDT outside of the open window
356	  time period, it generates a reset.
357
358	  To compile this driver as a module, choose M here: the
359	  module will be called xilinx_wwdt.
360
361config ZIIRAVE_WATCHDOG
362	tristate "Zodiac RAVE Watchdog Timer"
363	depends on I2C
364	select WATCHDOG_CORE
365	help
366	  Watchdog driver for the Zodiac Aerospace RAVE Switch Watchdog
367	  Processor.
368
369	  To compile this driver as a module, choose M here: the
370	  module will be called ziirave_wdt.
371
372config RAVE_SP_WATCHDOG
373	tristate "RAVE SP Watchdog timer"
374	depends on RAVE_SP_CORE
375	depends on NVMEM || !NVMEM
376	select WATCHDOG_CORE
377	help
378	  Support for the watchdog on RAVE SP device.
379
380config MLX_WDT
381	tristate "Mellanox Watchdog"
382	depends on MELLANOX_PLATFORM || COMPILE_TEST
383	select WATCHDOG_CORE
384	select REGMAP
385	help
386	  This is the driver for the hardware watchdog on Mellanox systems.
387	  If you are going to use it, say Y here, otherwise N.
388	  This driver can be used together with the watchdog daemon.
389	  It can also watch your kernel to make sure it doesn't freeze,
390	  and if it does, it reboots your system after a certain amount of
391	  time.
392
393	  To compile this driver as a module, choose M here: the
394	  module will be called mlx-wdt.
395
396config SL28CPLD_WATCHDOG
397	tristate "Kontron sl28cpld Watchdog"
398	depends on MFD_SL28CPLD || COMPILE_TEST
399	select WATCHDOG_CORE
400	help
401	  Say Y here to include support for the watchdog timer
402	  on the Kontron sl28 CPLD.
403
404	  To compile this driver as a module, choose M here: the
405	  module will be called sl28cpld_wdt.
406
407# ALPHA Architecture
408
409# ARM Architecture
410
411config ARM_SP805_WATCHDOG
412	tristate "ARM SP805 Watchdog"
413	depends on (ARM || ARM64 || COMPILE_TEST) && ARM_AMBA
414	select WATCHDOG_CORE
415	help
416	  ARM Primecell SP805 Watchdog timer. This will reboot your system when
417	  the timeout is reached.
418
419config ARM_SBSA_WATCHDOG
420	tristate "ARM SBSA Generic Watchdog"
421	depends on ARM64
422	depends on ARM_ARCH_TIMER
423	select WATCHDOG_CORE
424	help
425	  ARM SBSA Generic Watchdog has two stage timeouts:
426	  the first signal (WS0) is for alerting the system by interrupt,
427	  the second one (WS1) is a real hardware reset.
428	  More details: ARM DEN0029B - Server Base System Architecture (SBSA)
429
430	  This driver can operate ARM SBSA Generic Watchdog as a single stage
431	  or a two stages watchdog, it depends on the module parameter "action".
432
433	  Note: the maximum timeout in the two stages mode is half of that in
434	  the single stage mode.
435
436	  To compile this driver as module, choose M here: The module
437	  will be called sbsa_gwdt.
438
439config ARMADA_37XX_WATCHDOG
440	tristate "Armada 37xx watchdog"
441	depends on ARCH_MVEBU || COMPILE_TEST
442	depends on HAS_IOMEM
443	select MFD_SYSCON
444	select WATCHDOG_CORE
445	help
446	   Say Y here to include support for the watchdog timer found on
447	   Marvell Armada 37xx SoCs.
448	   To compile this driver as a module, choose M here: the
449	   module will be called armada_37xx_wdt.
450
451config ASM9260_WATCHDOG
452	tristate "Alphascale ASM9260 watchdog"
453	depends on MACH_ASM9260 || COMPILE_TEST
454	depends on OF
455	select WATCHDOG_CORE
456	select RESET_CONTROLLER
457	help
458	  Watchdog timer embedded into Alphascale asm9260 chips. This will
459	  reboot your system when the timeout is reached.
460
461config AT91RM9200_WATCHDOG
462	tristate "AT91RM9200 watchdog"
463	depends on (SOC_AT91RM9200 && MFD_SYSCON) || COMPILE_TEST
464	help
465	  Watchdog timer embedded into AT91RM9200 chips. This will reboot your
466	  system when the timeout is reached.
467
468config AT91SAM9X_WATCHDOG
469	tristate "AT91SAM9X / AT91CAP9 watchdog"
470	depends on ARCH_AT91 || COMPILE_TEST
471	select WATCHDOG_CORE
472	help
473	  Watchdog timer embedded into AT91SAM9X and AT91CAP9 chips. This will
474	  reboot your system when the timeout is reached.
475
476config SAMA5D4_WATCHDOG
477	tristate "Atmel SAMA5D4 Watchdog Timer"
478	depends on ARCH_AT91 || COMPILE_TEST
479	select WATCHDOG_CORE
480	help
481	  Atmel SAMA5D4 watchdog timer is embedded into SAMA5D4 chips.
482	  Its Watchdog Timer Mode Register can be written more than once.
483	  This will reboot your system when the timeout is reached.
484
485config CADENCE_WATCHDOG
486	tristate "Cadence Watchdog Timer"
487	depends on HAS_IOMEM
488	select WATCHDOG_CORE
489	help
490	  Say Y here if you want to include support for the watchdog
491	  timer in the Xilinx Zynq.
492
493config 21285_WATCHDOG
494	tristate "DC21285 watchdog"
495	depends on FOOTBRIDGE
496	help
497	  The Intel Footbridge chip contains a built-in watchdog circuit. Say Y
498	  here if you wish to use this. Alternatively say M to compile the
499	  driver as a module, which will be called wdt285.
500
501	  This driver does not work on all machines. In particular, early CATS
502	  boards have hardware problems that will cause the machine to simply
503	  lock up if the watchdog fires.
504
505	  "If in doubt, leave it out" - say N.
506
507config 977_WATCHDOG
508	tristate "NetWinder WB83C977 watchdog"
509	depends on (FOOTBRIDGE && ARCH_NETWINDER) || (ARM && COMPILE_TEST)
510	depends on HAS_IOPORT
511	help
512	  Say Y here to include support for the WB977 watchdog included in
513	  NetWinder machines. Alternatively say M to compile the driver as
514	  a module, which will be called wdt977.
515
516	  Not sure? It's safe to say N.
517
518config FTWDT010_WATCHDOG
519	tristate "Faraday Technology FTWDT010 watchdog"
520	depends on ARM || COMPILE_TEST
521	select WATCHDOG_CORE
522	default ARCH_GEMINI
523	help
524	  Say Y here if to include support for the Faraday Technology
525	  FTWDT010 watchdog timer embedded in the Cortina Systems Gemini
526	  family of devices.
527
528	  To compile this driver as a module, choose M here: the
529	  module will be called ftwdt010_wdt.
530
531config IXP4XX_WATCHDOG
532	tristate "IXP4xx Watchdog"
533	depends on ARCH_IXP4XX || (ARM && COMPILE_TEST)
534	select WATCHDOG_CORE
535	help
536	  Say Y here if to include support for the watchdog timer
537	  in the Intel IXP4xx network processors. This driver can
538	  be built as a module by choosing M. The module will
539	  be called ixp4xx_wdt.
540
541	  Note: The internal IXP4xx watchdog does a soft CPU reset
542	  which doesn't reset any peripherals. There are circumstances
543	  where the watchdog will fail to reset the board correctly
544	  (e.g., if the boot ROM is in an unreadable state).
545
546	  Say N if you are unsure.
547
548config S3C2410_WATCHDOG
549	tristate "S3C6410/S5Pv210/Exynos Watchdog"
550	depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
551	select WATCHDOG_CORE
552	help
553	  Watchdog timer block in the Samsung S3C64xx, S5Pv210 and Exynos
554	  SoCs. This will reboot the system when the timer expires with
555	  the watchdog enabled.
556
557	  The driver is limited by the speed of the system's PCLK
558	  signal, so with reasonably fast systems (PCLK around 50-66MHz)
559	  then watchdog intervals of over approximately 20seconds are
560	  unavailable.
561
562	  Choose Y/M here only if you build for such Samsung SoC.
563	  The driver can be built as a module by choosing M, and will
564	  be called s3c2410_wdt.
565
566config SA1100_WATCHDOG
567	tristate "SA1100/PXA2xx watchdog"
568	depends on ARCH_SA1100 || ARCH_PXA || COMPILE_TEST
569	help
570	  Watchdog timer embedded into SA11x0 and PXA2xx chips. This will
571	  reboot your system when timeout is reached.
572
573	  NOTE: once enabled, this timer cannot be disabled.
574
575	  To compile this driver as a module, choose M here: the
576	  module will be called sa1100_wdt.
577
578config DW_WATCHDOG
579	tristate "Synopsys DesignWare watchdog"
580	depends on HAS_IOMEM
581	select WATCHDOG_CORE
582	help
583	  Say Y here if to include support for the Synopsys DesignWare
584	  watchdog timer found in many chips.
585	  To compile this driver as a module, choose M here: the
586	  module will be called dw_wdt.
587
588config EP93XX_WATCHDOG
589	tristate "EP93xx Watchdog"
590	depends on ARCH_EP93XX || COMPILE_TEST
591	select WATCHDOG_CORE
592	help
593	  Say Y here if to include support for the watchdog timer
594	  embedded in the Cirrus Logic EP93xx family of devices.
595
596	  To compile this driver as a module, choose M here: the
597	  module will be called ep93xx_wdt.
598
599config OMAP_WATCHDOG
600	tristate "OMAP Watchdog"
601	depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || COMPILE_TEST
602	select WATCHDOG_CORE
603	help
604	  Support for TI OMAP1610/OMAP1710/OMAP2420/OMAP3430/OMAP4430 watchdog.
605	  Say 'Y' here to enable the
606	  OMAP1610/OMAP1710/OMAP2420/OMAP3430/OMAP4430 watchdog timer.
607
608config PNX4008_WATCHDOG
609	tristate "LPC32XX Watchdog"
610	depends on ARCH_LPC32XX || COMPILE_TEST
611	select WATCHDOG_CORE
612	help
613	  Say Y here if to include support for the watchdog timer
614	  in the LPC32XX processor.
615	  This driver can be built as a module by choosing M. The module
616	  will be called pnx4008_wdt.
617
618	  Say N if you are unsure.
619
620config DAVINCI_WATCHDOG
621	tristate "DaVinci watchdog"
622	depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
623	select WATCHDOG_CORE
624	help
625	  Say Y here if to include support for the watchdog timer
626	  in the DaVinci DM644x/DM646x or Keystone processors.
627	  To compile this driver as a module, choose M here: the
628	  module will be called davinci_wdt.
629
630	  NOTE: once enabled, this timer cannot be disabled.
631	  Say N if you are unsure.
632
633config K3_RTI_WATCHDOG
634	tristate "Texas Instruments K3 RTI watchdog"
635	depends on ARCH_K3 || COMPILE_TEST
636	select WATCHDOG_CORE
637	help
638	  Say Y here if you want to include support for the K3 watchdog
639	  timer (RTI module) available in the K3 generation of processors.
640
641config ORION_WATCHDOG
642	tristate "Orion watchdog"
643	depends on ARCH_ORION5X || ARCH_DOVE || MACH_DOVE || ARCH_MVEBU || COMPILE_TEST
644	depends on ARM
645	select WATCHDOG_CORE
646	help
647	  Say Y here if to include support for the watchdog timer
648	  in the Marvell Orion5x and Kirkwood ARM SoCs.
649	  To compile this driver as a module, choose M here: the
650	  module will be called orion_wdt.
651
652config RN5T618_WATCHDOG
653	tristate "Ricoh RN5T618 watchdog"
654	depends on MFD_RN5T618 || COMPILE_TEST
655	select WATCHDOG_CORE
656	help
657	  If you say yes here you get support for watchdog on the Ricoh
658	  RN5T618 PMIC.
659
660	  This driver can also be built as a module.  If so, the module
661	  will be called rn5t618_wdt.
662
663config SUNXI_WATCHDOG
664	tristate "Allwinner SoCs watchdog support"
665	depends on ARCH_SUNXI || COMPILE_TEST
666	select WATCHDOG_CORE
667	help
668	  Say Y here to include support for the watchdog timer
669	  in Allwinner SoCs.
670	  To compile this driver as a module, choose M here: the
671	  module will be called sunxi_wdt.
672
673config NPCM7XX_WATCHDOG
674	tristate "Nuvoton NPCM750 watchdog"
675	depends on ARCH_NPCM || COMPILE_TEST
676	default y if ARCH_NPCM7XX
677	select WATCHDOG_CORE
678	help
679	  Say Y here to include Watchdog timer support for the
680	  watchdog embedded into the NPCM7xx.
681	  This watchdog is used to reset the system and thus cannot be
682	  compiled as a module.
683
684config TWL4030_WATCHDOG
685	tristate "TWL4030 Watchdog"
686	depends on TWL4030_CORE
687	select WATCHDOG_CORE
688	help
689	  Support for TI TWL4030 watchdog.  Say 'Y' here to enable the
690	  watchdog timer support for TWL4030 chips.
691
692config STMP3XXX_RTC_WATCHDOG
693	tristate "Freescale STMP3XXX & i.MX23/28 watchdog"
694	depends on RTC_DRV_STMP || COMPILE_TEST
695	select WATCHDOG_CORE
696	help
697	  Say Y here to include support for the watchdog timer inside
698	  the RTC for the STMP37XX/378X or i.MX23/28 SoC.
699	  To compile this driver as a module, choose M here: the
700	  module will be called stmp3xxx_rtc_wdt.
701
702config TS4800_WATCHDOG
703	tristate "TS-4800 Watchdog"
704	depends on HAS_IOMEM && OF
705	depends on SOC_IMX51 || COMPILE_TEST
706	select WATCHDOG_CORE
707	select MFD_SYSCON
708	help
709	  Technologic Systems TS-4800 has watchdog timer implemented in
710	  an external FPGA. Say Y here if you want to support for the
711	  watchdog timer on TS-4800 board.
712
713config TS72XX_WATCHDOG
714	tristate "TS-72XX SBC Watchdog"
715	depends on MACH_TS72XX || COMPILE_TEST
716	select WATCHDOG_CORE
717	help
718	  Technologic Systems TS-7200, TS-7250 and TS-7260 boards have
719	  watchdog timer implemented in a external CPLD chip. Say Y here
720	  if you want to support for the watchdog timer on TS-72XX boards.
721
722	  To compile this driver as a module, choose M here: the
723	  module will be called ts72xx_wdt.
724
725config MAX63XX_WATCHDOG
726	tristate "Max63xx watchdog"
727	depends on HAS_IOMEM
728	select WATCHDOG_CORE
729	help
730	  Support for memory mapped max63{69,70,71,72,73,74} watchdog timer.
731
732config MAX77620_WATCHDOG
733	tristate "Maxim Max77620 Watchdog Timer"
734	depends on MFD_MAX77620 || MFD_MAX77714 || COMPILE_TEST
735	select WATCHDOG_CORE
736	help
737	  This is the driver for the Max77620 watchdog timer.
738	  Say 'Y' here to enable the watchdog timer support for
739	  MAX77620 chips. To compile this driver as a module,
740	  choose M here: the module will be called max77620_wdt.
741
742config IMX2_WDT
743	tristate "IMX2+ Watchdog"
744	depends on ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
745	select REGMAP_MMIO
746	select WATCHDOG_CORE
747	help
748	  This is the driver for the hardware watchdog
749	  on the Freescale IMX2 and later processors.
750	  If you have one of these processors and wish to have
751	  watchdog support enabled, say Y, otherwise say N.
752
753	  To compile this driver as a module, choose M here: the
754	  module will be called imx2_wdt.
755
756config IMX_SC_WDT
757	tristate "IMX SC Watchdog"
758	depends on HAVE_ARM_SMCCC
759	depends on IMX_SCU || COMPILE_TEST
760	select WATCHDOG_CORE
761	help
762	  This is the driver for the system controller watchdog
763	  on the NXP i.MX SoCs with system controller inside, the
764	  watchdog driver will call ARM SMC API and trap into
765	  ARM-Trusted-Firmware for operations, ARM-Trusted-Firmware
766	  will request system controller to execute the operations.
767	  If you have one of these processors and wish to have
768	  watchdog support enabled, say Y, otherwise say N.
769
770	  To compile this driver as a module, choose M here: the
771	  module will be called imx_sc_wdt.
772
773config IMX7ULP_WDT
774	tristate "IMX7ULP Watchdog"
775	depends on ARCH_MXC || COMPILE_TEST
776	select WATCHDOG_CORE
777	help
778	  This is the driver for the hardware watchdog on the Freescale
779	  IMX7ULP and later processors. If you have one of these
780	  processors and wish to have watchdog support enabled,
781	  say Y, otherwise say N.
782
783	  To compile this driver as a module, choose M here: the
784	  module will be called imx7ulp_wdt.
785
786config DB500_WATCHDOG
787	tristate "ST-Ericsson DB800 watchdog"
788	depends on MFD_DB8500_PRCMU
789	select WATCHDOG_CORE
790	default y
791	help
792	  Say Y here to include Watchdog timer support for the watchdog
793	  existing in the prcmu of ST-Ericsson DB8500 platform.
794
795	  To compile this driver as a module, choose M here: the
796	  module will be called db500_wdt.
797
798config RETU_WATCHDOG
799	tristate "Retu watchdog"
800	depends on MFD_RETU
801	select WATCHDOG_CORE
802	help
803	  Retu watchdog driver for Nokia Internet Tablets (770, N800,
804	  N810). At least on N800 the watchdog cannot be disabled, so
805	  this driver is essential and you should enable it.
806
807	  To compile this driver as a module, choose M here: the
808	  module will be called retu_wdt.
809
810config MOXART_WDT
811	tristate "MOXART watchdog"
812	depends on ARCH_MOXART || COMPILE_TEST
813	help
814	  Say Y here to include Watchdog timer support for the watchdog
815	  existing on the MOXA ART SoC series platforms.
816
817	  To compile this driver as a module, choose M here: the
818	  module will be called moxart_wdt.
819
820config ST_LPC_WATCHDOG
821	tristate "STMicroelectronics LPC Watchdog"
822	depends on ARCH_STI || COMPILE_TEST
823	depends on OF
824	select WATCHDOG_CORE
825	help
826	  Say Y here to include STMicroelectronics Low Power Controller
827	  (LPC) based Watchdog timer support.
828
829	  To compile this driver as a module, choose M here: the
830	  module will be called st_lpc_wdt.
831
832config TEGRA_WATCHDOG
833	tristate "Tegra watchdog"
834	depends on (ARCH_TEGRA || COMPILE_TEST) && HAS_IOMEM
835	select WATCHDOG_CORE
836	help
837	  Say Y here to include support for the watchdog timer
838	  embedded in NVIDIA Tegra SoCs.
839
840	  To compile this driver as a module, choose M here: the
841	  module will be called tegra_wdt.
842
843config QCOM_WDT
844	tristate "QCOM watchdog"
845	depends on HAS_IOMEM
846	depends on ARCH_QCOM || COMPILE_TEST
847	select WATCHDOG_CORE
848	help
849	  Say Y here to include Watchdog timer support for the watchdog found
850	  on QCOM chipsets.  Currently supported targets are the MSM8960,
851	  APQ8064, and IPQ8064.
852
853	  To compile this driver as a module, choose M here: the
854	  module will be called qcom_wdt.
855
856config MESON_GXBB_WATCHDOG
857	tristate "Amlogic Meson GXBB SoCs watchdog support"
858	depends on ARCH_MESON || COMPILE_TEST
859	select WATCHDOG_CORE
860	help
861	  Say Y here to include support for the watchdog timer
862	  in Amlogic Meson GXBB SoCs.
863	  To compile this driver as a module, choose M here: the
864	  module will be called meson_gxbb_wdt.
865
866config MESON_WATCHDOG
867	tristate "Amlogic Meson SoCs watchdog support"
868	depends on ARCH_MESON || COMPILE_TEST
869	select WATCHDOG_CORE
870	help
871	  Say Y here to include support for the watchdog timer
872	  in Amlogic Meson SoCs.
873	  To compile this driver as a module, choose M here: the
874	  module will be called meson_wdt.
875
876config MEDIATEK_WATCHDOG
877	tristate "Mediatek SoCs watchdog support"
878	depends on ARCH_MEDIATEK || COMPILE_TEST
879	default ARCH_MEDIATEK
880	select WATCHDOG_CORE
881	select RESET_CONTROLLER
882	help
883	  Say Y here to include support for the watchdog timer
884	  in Mediatek SoCs.
885	  To compile this driver as a module, choose M here: the
886	  module will be called mtk_wdt.
887
888config DIGICOLOR_WATCHDOG
889	tristate "Conexant Digicolor SoCs watchdog support"
890	depends on ARCH_DIGICOLOR || COMPILE_TEST
891	select WATCHDOG_CORE
892	help
893	  Say Y here to include support for the watchdog timer
894	  in Conexant Digicolor SoCs.
895	  To compile this driver as a module, choose M here: the
896	  module will be called digicolor_wdt.
897
898config ARM_SMC_WATCHDOG
899	tristate "ARM Secure Monitor Call based watchdog support"
900	depends on ARM || ARM64
901	depends on OF
902	depends on HAVE_ARM_SMCCC
903	select WATCHDOG_CORE
904	help
905	  Say Y here to include support for a watchdog timer
906	  implemented by the EL3 Secure Monitor on ARM platforms.
907	  Requires firmware support.
908	  To compile this driver as a module, choose M here: the
909	  module will be called arm_smc_wdt.
910
911config LPC18XX_WATCHDOG
912	tristate "LPC18xx/43xx Watchdog"
913	depends on ARCH_LPC18XX || COMPILE_TEST
914	depends on HAS_IOMEM
915	select WATCHDOG_CORE
916	help
917	  Say Y here if to include support for the watchdog timer
918	  in NXP LPC SoCs family, which includes LPC18xx/LPC43xx
919	  processors.
920	  To compile this driver as a module, choose M here: the
921	  module will be called lpc18xx_wdt.
922
923config RENESAS_WDT
924	tristate "Renesas WDT Watchdog"
925	depends on ARCH_RENESAS || COMPILE_TEST
926	select WATCHDOG_CORE
927	help
928	  This driver adds watchdog support for the integrated watchdogs in the
929	  Renesas R-Car and other SH-Mobile SoCs (usually named RWDT or SWDT).
930
931config RENESAS_RZAWDT
932	tristate "Renesas RZ/A WDT Watchdog"
933	depends on ARCH_RENESAS || COMPILE_TEST
934	select WATCHDOG_CORE
935	help
936	  This driver adds watchdog support for the integrated watchdogs in the
937	  Renesas RZ/A SoCs. These watchdogs can be used to reset a system.
938
939config RENESAS_RZN1WDT
940	tristate "Renesas RZ/N1 watchdog"
941	depends on ARCH_RENESAS || COMPILE_TEST
942	select WATCHDOG_CORE
943	help
944	  This driver adds watchdog support for the integrated watchdogs in the
945	  Renesas RZ/N1 SoCs. These watchdogs can be used to reset a system.
946
947config RENESAS_RZG2LWDT
948	tristate "Renesas RZ/G2L WDT Watchdog"
949	depends on ARCH_RZG2L || ARCH_R9A09G011 || COMPILE_TEST
950	depends on PM || COMPILE_TEST
951	select WATCHDOG_CORE
952	help
953	  This driver adds watchdog support for the integrated watchdogs in the
954	  Renesas RZ/G2L SoCs. These watchdogs can be used to reset a system.
955
956config RENESAS_RZV2HWDT
957	tristate "Renesas RZ/V2H(P) WDT Watchdog"
958	depends on ARCH_R9A09G057 || COMPILE_TEST
959	depends on PM || COMPILE_TEST
960	select WATCHDOG_CORE
961	help
962	  This driver adds watchdog support for the integrated watchdogs in the
963	  Renesas RZ/V2H(P) SoCs. These watchdogs can be used to reset a system.
964
965config ASPEED_WATCHDOG
966	tristate "Aspeed BMC watchdog support"
967	depends on ARCH_ASPEED || COMPILE_TEST
968	select WATCHDOG_CORE
969	help
970	  Say Y here to include support for the watchdog timer
971	  in Aspeed BMC SoCs.
972
973	  This driver is required to reboot the SoC.
974
975	  To compile this driver as a module, choose M here: the
976	  module will be called aspeed_wdt.
977
978config STM32_WATCHDOG
979	tristate "STM32 Independent WatchDoG (IWDG) support"
980	depends on ARCH_STM32 || COMPILE_TEST
981	select WATCHDOG_CORE
982	default y
983	help
984	  Say Y here to include support for the watchdog timer
985	  in stm32 SoCs.
986
987	  To compile this driver as a module, choose M here: the
988	  module will be called stm32_iwdg.
989
990config STPMIC1_WATCHDOG
991	tristate "STPMIC1 PMIC watchdog support"
992	depends on MFD_STPMIC1
993	select WATCHDOG_CORE
994	help
995	  Say Y here to include watchdog support embedded into STPMIC1 PMIC.
996	  If the watchdog timer expires, stpmic1 will shut down all its power
997	  supplies.
998
999	  To compile this driver as a module, choose M here: the
1000	  module will be called spmic1_wdt.
1001
1002config UNIPHIER_WATCHDOG
1003	tristate "UniPhier watchdog support"
1004	depends on ARCH_UNIPHIER || COMPILE_TEST
1005	depends on OF && MFD_SYSCON
1006	select WATCHDOG_CORE
1007	help
1008	  Say Y here to include support watchdog timer embedded
1009	  into the UniPhier system.
1010
1011	  To compile this driver as a module, choose M here: the
1012	  module will be called uniphier_wdt.
1013
1014config RTD119X_WATCHDOG
1015	bool "Realtek RTD119x/RTD129x watchdog support"
1016	depends on ARCH_REALTEK || COMPILE_TEST
1017	depends on OF
1018	select WATCHDOG_CORE
1019	default ARCH_REALTEK
1020	help
1021	  Say Y here to include support for the watchdog timer in
1022	  Realtek RTD1295 SoCs.
1023
1024config REALTEK_OTTO_WDT
1025	tristate "Realtek Otto MIPS watchdog support"
1026	depends on MACH_REALTEK_RTL || COMPILE_TEST
1027	depends on COMMON_CLK
1028	select WATCHDOG_CORE
1029	default MACH_REALTEK_RTL
1030	help
1031	  Say Y here to include support for the watchdog timer on Realtek
1032	  RTL838x, RTL839x, RTL930x SoCs. This watchdog has pretimeout
1033	  notifications and system reset on timeout.
1034
1035	  When built as a module this will be called realtek_otto_wdt.
1036
1037config SPRD_WATCHDOG
1038	tristate "Spreadtrum watchdog support"
1039	depends on ARCH_SPRD || COMPILE_TEST
1040	select WATCHDOG_CORE
1041	help
1042	  Say Y here to include watchdog timer supported
1043	  by Spreadtrum system.
1044
1045config PM8916_WATCHDOG
1046	tristate "QCOM PM8916 pmic watchdog"
1047	depends on OF && MFD_SPMI_PMIC
1048	select WATCHDOG_CORE
1049	help
1050	  Say Y here to include support watchdog timer embedded into the
1051	  pm8916 module.
1052
1053config VISCONTI_WATCHDOG
1054	tristate "Toshiba Visconti series watchdog support"
1055	depends on ARCH_VISCONTI || COMPILE_TEST
1056	select WATCHDOG_CORE
1057	help
1058	  Say Y here to include support for the watchdog timer in Toshiba
1059	  Visconti SoCs.
1060
1061config MSC313E_WATCHDOG
1062	tristate "MStar MSC313e watchdog"
1063	depends on ARCH_MSTARV7 || COMPILE_TEST
1064	select WATCHDOG_CORE
1065	help
1066	  Say Y here to include support for the Watchdog timer embedded
1067	  into MStar MSC313e chips. This will reboot your system when the
1068	  timeout is reached.
1069
1070	  To compile this driver as a module, choose M here: the
1071	  module will be called msc313e_wdt.
1072
1073config APPLE_WATCHDOG
1074	tristate "Apple SoC watchdog"
1075	depends on ARCH_APPLE || COMPILE_TEST
1076	select WATCHDOG_CORE
1077	help
1078	  Say Y here to include support for the Watchdog found in Apple
1079	  SoCs such as the M1. Next to the common watchdog features this
1080	  driver is also required in order to reboot these SoCs.
1081
1082	  To compile this driver as a module, choose M here: the
1083	  module will be called apple_wdt.
1084
1085config SUNPLUS_WATCHDOG
1086	tristate "Sunplus watchdog support"
1087	depends on ARCH_SUNPLUS || COMPILE_TEST
1088	select WATCHDOG_CORE
1089	help
1090	  Say Y here to include support for the watchdog timer
1091	  in Sunplus SoCs.
1092
1093	  To compile this driver as a module, choose M here: the
1094	  module will be called sunplus_wdt.
1095
1096# X86 (i386 + ia64 + x86_64) Architecture
1097
1098config ACQUIRE_WDT
1099	tristate "Acquire SBC Watchdog Timer"
1100	depends on X86
1101	help
1102	  This is the driver for the hardware watchdog on Single Board
1103	  Computers produced by Acquire Inc (and others). This watchdog
1104	  simply watches your kernel to make sure it doesn't freeze, and if
1105	  it does, it reboots your computer after a certain amount of time.
1106
1107	  To compile this driver as a module, choose M here: the
1108	  module will be called acquirewdt.
1109
1110	  Most people will say N.
1111
1112config ADVANTECH_WDT
1113	tristate "Advantech SBC Watchdog Timer"
1114	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1115	help
1116	  If you are configuring a Linux kernel for the Advantech single-board
1117	  computer, say `Y' here to support its built-in watchdog timer
1118	  feature. More information can be found at
1119	  <https://www.advantech.com.tw/products/>
1120
1121config ADVANTECH_EC_WDT
1122	tristate "Advantech Embedded Controller Watchdog Timer"
1123	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1124	select ISA_BUS_API
1125	select WATCHDOG_CORE
1126	help
1127		This driver supports Advantech products with ITE based Embedded Controller.
1128		It does not support Advantech products with other ECs or without EC.
1129
1130config ALIM1535_WDT
1131	tristate "ALi M1535 PMU Watchdog Timer"
1132	depends on (X86 || COMPILE_TEST) && PCI
1133	help
1134	  This is the driver for the hardware watchdog on the ALi M1535 PMU.
1135
1136	  To compile this driver as a module, choose M here: the
1137	  module will be called alim1535_wdt.
1138
1139	  Most people will say N.
1140
1141config ALIM7101_WDT
1142	tristate "ALi M7101 PMU Computer Watchdog"
1143	depends on PCI
1144	help
1145	  This is the driver for the hardware watchdog on the ALi M7101 PMU
1146	  as used in the x86 Cobalt servers and also found in some
1147	  SPARC Netra servers too.
1148
1149	  To compile this driver as a module, choose M here: the
1150	  module will be called alim7101_wdt.
1151
1152	  Most people will say N.
1153
1154config EBC_C384_WDT
1155	tristate "WinSystems EBC-C384 Watchdog Timer"
1156	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1157	select ISA_BUS_API
1158	select WATCHDOG_CORE
1159	help
1160	  Enables watchdog timer support for the watchdog timer on the
1161	  WinSystems EBC-C384 motherboard. The timeout may be configured via
1162	  the timeout module parameter.
1163
1164config EXAR_WDT
1165	tristate "Exar Watchdog Timer"
1166	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1167	select WATCHDOG_CORE
1168	help
1169	  Enables watchdog timer support for the watchdog timer present
1170	  in some Exar/MaxLinear UART chips like the XR28V38x.
1171
1172	  To compile this driver as a module, choose M here: the
1173	  module will be called exar_wdt.
1174
1175config F71808E_WDT
1176	tristate "Fintek F718xx, F818xx Super I/O Watchdog"
1177	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1178	select WATCHDOG_CORE
1179	help
1180	  This is the driver for the hardware watchdog on the Fintek F71808E,
1181	  F71862FG, F71868, F71869, F71882FG, F71889FG, F81803, F81865, and
1182	  F81866 Super I/O controllers.
1183
1184	  You can compile this driver directly into the kernel, or use
1185	  it as a module.  The module will be called f71808e_wdt.
1186
1187config SP5100_TCO
1188	tristate "AMD/ATI SP5100 TCO Timer/Watchdog"
1189	depends on (X86 || COMPILE_TEST) && PCI && HAS_IOPORT
1190	select WATCHDOG_CORE
1191	help
1192	  Hardware watchdog driver for the AMD/ATI SP5100 chipset. The TCO
1193	  (Total Cost of Ownership) timer is a watchdog timer that will reboot
1194	  the machine after its expiration. The expiration time can be
1195	  configured with the "heartbeat" parameter.
1196
1197	  To compile this driver as a module, choose M here: the
1198	  module will be called sp5100_tco.
1199
1200config GEODE_WDT
1201	tristate "AMD Geode CS5535/CS5536 Watchdog"
1202	depends on CS5535_MFGPT
1203	help
1204	  This driver enables a watchdog capability built into the
1205	  CS5535/CS5536 companion chips for the AMD Geode GX and LX
1206	  processors.  This watchdog watches your kernel to make sure
1207	  it doesn't freeze, and if it does, it reboots your computer after
1208	  a certain amount of time.
1209
1210	  You can compile this driver directly into the kernel, or use
1211	  it as a module.  The module will be called geodewdt.
1212
1213config SC520_WDT
1214	tristate "AMD Elan SC520 processor Watchdog"
1215	depends on MELAN || COMPILE_TEST
1216	help
1217	  This is the driver for the hardware watchdog built in to the
1218	  AMD "Elan" SC520 microcomputer commonly used in embedded systems.
1219	  This watchdog simply watches your kernel to make sure it doesn't
1220	  freeze, and if it does, it reboots your computer after a certain
1221	  amount of time.
1222
1223	  You can compile this driver directly into the kernel, or use
1224	  it as a module.  The module will be called sc520_wdt.
1225
1226config SBC_FITPC2_WATCHDOG
1227	tristate "Compulab SBC-FITPC2 watchdog"
1228	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1229	help
1230	  This is the driver for the built-in watchdog timer on the fit-PC2,
1231	  fit-PC2i, CM-iAM single-board computers made by Compulab.
1232
1233	  It's possible to enable the watchdog timer either from BIOS (F2) or
1234	  from booted Linux.
1235	  When the "Watchdog Timer Value" is enabled one can set 31-255 seconds
1236	  operational range.
1237
1238	  Entering BIOS setup temporarily disables watchdog operation regardless
1239	  of current state, so system will not be restarted while user is in
1240	  BIOS setup.
1241
1242	  Once the watchdog is enabled the system will be restarted every
1243	  "Watchdog Timer Value" period, so to prevent it user can restart or
1244	  disable the watchdog.
1245
1246	  To compile this driver as a module, choose M here: the
1247	  module will be called sbc_fitpc2_wdt.
1248
1249	  Most people will say N.
1250
1251config EUROTECH_WDT
1252	tristate "Eurotech CPU-1220/1410 Watchdog Timer"
1253	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1254	help
1255	  Enable support for the watchdog timer on the Eurotech CPU-1220 and
1256	  CPU-1410 cards.  These are PC/104 SBCs. Spec sheets and product
1257	  information are at <http://www.eurotech.it/>.
1258
1259config IB700_WDT
1260	tristate "IB700 SBC Watchdog Timer"
1261	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1262	help
1263	  This is the driver for the hardware watchdog on the IB700 Single
1264	  Board Computer produced by TMC Technology (www.tmc-uk.com). This
1265	  watchdog simply watches your kernel to make sure it doesn't freeze,
1266	  and if it does, it reboots your computer after a certain amount of time.
1267
1268	  This driver is like the WDT501 driver but for slightly different
1269	  hardware.
1270
1271	  To compile this driver as a module, choose M here: the
1272	  module will be called ib700wdt.
1273
1274	  Most people will say N.
1275
1276config IBMASR
1277	tristate "IBM Automatic Server Restart"
1278	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1279	help
1280	  This is the driver for the IBM Automatic Server Restart watchdog
1281	  timer built-in into some eServer xSeries machines.
1282
1283	  To compile this driver as a module, choose M here: the
1284	  module will be called ibmasr.
1285
1286config WAFER_WDT
1287	tristate "ICP Single Board Computer Watchdog Timer"
1288	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1289	help
1290	  This is a driver for the hardware watchdog on the ICP Single
1291	  Board Computer. This driver is working on (at least) the following
1292	  IPC SBC's: Wafer 5823, Rocky 4783, Rocky 3703 and Rocky 3782.
1293
1294	  To compile this driver as a module, choose M here: the
1295	  module will be called wafer5823wdt.
1296
1297config I6300ESB_WDT
1298	tristate "Intel 6300ESB Timer/Watchdog"
1299	depends on PCI
1300	select WATCHDOG_CORE
1301	help
1302	  Hardware driver for the watchdog timer built into the Intel
1303	  6300ESB controller hub.
1304
1305	  To compile this driver as a module, choose M here: the
1306	  module will be called i6300esb.
1307
1308config IE6XX_WDT
1309	tristate "Intel Atom E6xx Watchdog"
1310	depends on (X86 || COMPILE_TEST) && PCI && HAS_IOPORT
1311	select WATCHDOG_CORE
1312	select MFD_CORE
1313	select LPC_SCH
1314	help
1315	  Hardware driver for the watchdog timer built into the Intel
1316	  Atom E6XX (TunnelCreek) processor.
1317
1318	  To compile this driver as a module, choose M here: the
1319	  module will be called ie6xx_wdt.
1320
1321config INTEL_MID_WATCHDOG
1322	tristate "Intel MID Watchdog Timer"
1323	depends on X86_INTEL_MID
1324	select WATCHDOG_CORE
1325	help
1326	  Watchdog timer driver built into the Intel SCU for Intel MID
1327	  Platforms.
1328
1329	  This driver currently supports only the watchdog evolution
1330	  implementation in SCU, available for Merrifield generation.
1331
1332	  To compile this driver as a module, choose M here.
1333
1334config ITCO_WDT
1335	tristate "Intel TCO Timer/Watchdog"
1336	depends on X86 && PCI
1337	select WATCHDOG_CORE
1338	depends on I2C || I2C=n
1339	depends on MFD_INTEL_PMC_BXT || !MFD_INTEL_PMC_BXT
1340	depends on HAS_IOPORT # for I2C_I801
1341	select LPC_ICH if !EXPERT
1342	select I2C_I801 if !EXPERT && I2C
1343	help
1344	  Hardware driver for the intel TCO timer based watchdog devices.
1345	  These drivers are included in the Intel 82801 I/O Controller
1346	  Hub family (from ICH0 up to ICH10) and in the Intel 63xxESB
1347	  controller hub.
1348
1349	  The TCO (Total Cost of Ownership) timer is a watchdog timer
1350	  that will reboot the machine after its second expiration. The
1351	  expiration time can be configured with the "heartbeat" parameter.
1352
1353	  On some motherboards the driver may fail to reset the chipset's
1354	  NO_REBOOT flag which prevents the watchdog from rebooting the
1355	  machine. If this is the case you will get a kernel message like
1356	  "failed to reset NO_REBOOT flag, reboot disabled by hardware".
1357
1358	  To compile this driver as a module, choose M here: the
1359	  module will be called iTCO_wdt.
1360
1361config ITCO_VENDOR_SUPPORT
1362	bool "Intel TCO Timer/Watchdog Specific Vendor Support"
1363	depends on ITCO_WDT
1364	help
1365	  Add vendor specific support to the intel TCO timer based watchdog
1366	  devices. At this moment we only have additional support for some
1367	  SuperMicro Inc. motherboards.
1368
1369config IT8712F_WDT
1370	tristate "IT8712F (Smart Guardian) Watchdog Timer"
1371	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1372	help
1373	  This is the driver for the built-in watchdog timer on the IT8712F
1374	  Super I/0 chipset used on many motherboards.
1375
1376	  If the driver does not work, then make sure that the game port in
1377	  the BIOS is enabled.
1378
1379	  To compile this driver as a module, choose M here: the
1380	  module will be called it8712f_wdt.
1381
1382config IT87_WDT
1383	tristate "IT87 Watchdog Timer"
1384	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1385	select WATCHDOG_CORE
1386	help
1387	  This is the driver for the hardware watchdog on the ITE IT8607,
1388	  IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686, IT8702,
1389	  IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728, and
1390	  IT8783 Super I/O chips.
1391
1392	  This watchdog simply watches your kernel to make sure it doesn't
1393	  freeze, and if it does, it reboots your computer after a certain
1394	  amount of time.
1395
1396	  To compile this driver as a module, choose M here: the module will
1397	  be called it87_wdt.
1398
1399config HP_WATCHDOG
1400	tristate "HP ProLiant iLO2+ Hardware Watchdog Timer"
1401	select WATCHDOG_CORE
1402	depends on (ARM64 || X86 || COMPILE_TEST) && PCI
1403	help
1404	  A software monitoring watchdog and NMI handling driver. This driver
1405	  will detect lockups and provide a stack trace. This is a driver that
1406	  will only load on an HP ProLiant system with a minimum of iLO2 support.
1407	  To compile this driver as a module, choose M here: the module will be
1408	  called hpwdt.
1409
1410config HPWDT_NMI_DECODING
1411	bool "NMI support for the HP ProLiant iLO2+ Hardware Watchdog Timer"
1412	depends on X86 && HP_WATCHDOG
1413	default y
1414	help
1415	  Enables the NMI handler for the watchdog pretimeout NMI and the iLO
1416	  "Generate NMI to System" virtual button.  When an NMI is claimed
1417	  by the driver, panic is called.
1418
1419config KEMPLD_WDT
1420	tristate "Kontron COM Watchdog Timer"
1421	depends on MFD_KEMPLD
1422	select WATCHDOG_CORE
1423	help
1424	  Support for the PLD watchdog on some Kontron ETX and COMexpress
1425	  (ETXexpress) modules
1426
1427	  This driver can also be built as a module. If so, the module will be
1428	  called kempld_wdt.
1429
1430config SC1200_WDT
1431	tristate "National Semiconductor PC87307/PC97307 (ala SC1200) Watchdog"
1432	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1433	help
1434	  This is a driver for National Semiconductor PC87307/PC97307 hardware
1435	  watchdog cards as found on the SC1200. This watchdog is mainly used
1436	  for power management purposes and can be used to power down the device
1437	  during inactivity periods (includes interrupt activity monitoring).
1438
1439	  To compile this driver as a module, choose M here: the
1440	  module will be called sc1200wdt.
1441
1442	  Most people will say N.
1443
1444config SCx200_WDT
1445	tristate "National Semiconductor SCx200 Watchdog"
1446	depends on SCx200 && PCI
1447	help
1448	  Enable the built-in watchdog timer support on the National
1449	  Semiconductor SCx200 processors.
1450
1451	  If compiled as a module, it will be called scx200_wdt.
1452
1453config PC87413_WDT
1454	tristate "NS PC87413 watchdog"
1455	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1456	help
1457	  This is the driver for the hardware watchdog on the PC87413 chipset
1458	  This watchdog simply watches your kernel to make sure it doesn't
1459	  freeze, and if it does, it reboots your computer after a certain
1460	  amount of time.
1461
1462	  To compile this driver as a module, choose M here: the
1463	  module will be called pc87413_wdt.
1464
1465	  Most people will say N.
1466
1467config NV_TCO
1468	tristate "nVidia TCO Timer/Watchdog"
1469	depends on (X86 || COMPILE_TEST) && PCI && HAS_IOPORT
1470	help
1471	  Hardware driver for the TCO timer built into the nVidia Hub family
1472	  (such as the MCP51).  The TCO (Total Cost of Ownership) timer is a
1473	  watchdog timer that will reboot the machine after its second
1474	  expiration. The expiration time can be configured with the
1475	  "heartbeat" parameter.
1476
1477	  On some motherboards the driver may fail to reset the chipset's
1478	  NO_REBOOT flag which prevents the watchdog from rebooting the
1479	  machine. If this is the case you will get a kernel message like
1480	  "failed to reset NO_REBOOT flag, reboot disabled by hardware".
1481
1482	  To compile this driver as a module, choose M here: the
1483	  module will be called nv_tco.
1484
1485config RDC321X_WDT
1486	tristate "RDC R-321x SoC watchdog"
1487	depends on X86_RDC321X || COMPILE_TEST
1488	depends on PCI
1489	help
1490	  This is the driver for the built in hardware watchdog
1491	  in the RDC R-321x SoC.
1492
1493	  To compile this driver as a module, choose M here: the
1494	  module will be called rdc321x_wdt.
1495
1496config 60XX_WDT
1497	tristate "SBC-60XX Watchdog Timer"
1498	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1499	help
1500	  This driver can be used with the watchdog timer found on some
1501	  single board computers, namely the 6010 PII based computer.
1502	  It may well work with other cards.  It reads port 0x443 to enable
1503	  and re-set the watchdog timer, and reads port 0x45 to disable
1504	  the watchdog.  If you have a card that behave in similar ways,
1505	  you can probably make this driver work with your card as well.
1506
1507	  You can compile this driver directly into the kernel, or use
1508	  it as a module.  The module will be called sbc60xxwdt.
1509
1510config SBC8360_WDT
1511	tristate "SBC8360 Watchdog Timer"
1512	depends on X86_32
1513	help
1514
1515	  This is the driver for the hardware watchdog on the SBC8360 Single
1516	  Board Computer produced by Axiomtek Co., Ltd. (www.axiomtek.com).
1517
1518	  To compile this driver as a module, choose M here: the
1519	  module will be called sbc8360.
1520
1521	  Most people will say N.
1522
1523config SBC7240_WDT
1524	tristate "SBC Nano 7240 Watchdog Timer"
1525	depends on X86_32 && !UML
1526	help
1527	  This is the driver for the hardware watchdog found on the IEI
1528	  single board computers EPIC Nano 7240 (and likely others). This
1529	  watchdog simply watches your kernel to make sure it doesn't freeze,
1530	  and if it does, it reboots your computer after a certain amount of
1531	  time.
1532
1533	  To compile this driver as a module, choose M here: the
1534	  module will be called sbc7240_wdt.
1535
1536config CPU5_WDT
1537	tristate "SMA CPU5 Watchdog"
1538	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1539	help
1540	  TBD.
1541	  To compile this driver as a module, choose M here: the
1542	  module will be called cpu5wdt.
1543
1544config SMSC_SCH311X_WDT
1545	tristate "SMSC SCH311X Watchdog Timer"
1546	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1547	help
1548	  This is the driver for the hardware watchdog timer on the
1549	  SMSC SCH3112, SCH3114 and SCH3116 Super IO chipset
1550	  (LPC IO with 8042 KBC, Reset Generation, HWM and multiple
1551	  serial ports).
1552
1553	  To compile this driver as a module, choose M here: the
1554	  module will be called sch311x_wdt.
1555
1556config SMSC37B787_WDT
1557	tristate "Winbond SMsC37B787 Watchdog Timer"
1558	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1559	help
1560	  This is the driver for the hardware watchdog component on the
1561	  Winbond SMsC37B787 chipset as used on the NetRunner Mainboard
1562	  from Vision Systems and maybe others.
1563
1564	  This watchdog simply watches your kernel to make sure it doesn't
1565	  freeze, and if it does, it reboots your computer after a certain
1566	  amount of time.
1567
1568	  Usually a userspace daemon will notify the kernel WDT driver that
1569	  userspace is still alive, at regular intervals.
1570
1571	  To compile this driver as a module, choose M here: the
1572	  module will be called smsc37b787_wdt.
1573
1574	  Most people will say N.
1575
1576config TQMX86_WDT
1577	tristate "TQ-Systems TQMX86 Watchdog Timer"
1578	depends on X86 || COMPILE_TEST
1579	select WATCHDOG_CORE
1580	help
1581	  This is the driver for the hardware watchdog timer in the TQMX86 IO
1582	  controller found on some of their ComExpress Modules.
1583
1584	  To compile this driver as a module, choose M here; the module
1585	  will be called tqmx86_wdt.
1586
1587	  Most people will say N.
1588
1589config VIA_WDT
1590	tristate "VIA Watchdog Timer"
1591	depends on (X86 || COMPILE_TEST) && PCI
1592	select WATCHDOG_CORE
1593	help
1594	  This is the driver for the hardware watchdog timer on VIA
1595	  southbridge chipset CX700, VX800/VX820 or VX855/VX875.
1596
1597	  To compile this driver as a module, choose M here; the module
1598	  will be called via_wdt.
1599
1600	  Most people will say N.
1601
1602config W83627HF_WDT
1603	tristate "Watchdog timer for W83627HF/W83627DHG and compatibles"
1604	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1605	select WATCHDOG_CORE
1606	help
1607	  This is the driver for the hardware watchdog on the following
1608	  Super I/O chips.
1609		W83627DHG/DHG-P/EHF/EHG/F/G/HF/S/SF/THF/UHG/UG
1610		W83637HF
1611		W83667HG/HG-B
1612		W83687THF
1613		W83697HF
1614		W83697UG
1615		NCT6775
1616		NCT6776
1617		NCT6779
1618		NCT6791
1619		NCT6792
1620		NCT6102D/04D/06D
1621		NCT6116D
1622
1623	  This watchdog simply watches your kernel to make sure it doesn't
1624	  freeze, and if it does, it reboots your computer after a certain
1625	  amount of time.
1626
1627	  To compile this driver as a module, choose M here: the
1628	  module will be called w83627hf_wdt.
1629
1630	  Most people will say N.
1631
1632config W83877F_WDT
1633	tristate "W83877F (EMACS) Watchdog Timer"
1634	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1635	help
1636	  This is the driver for the hardware watchdog on the W83877F chipset
1637	  as used in EMACS PC-104 motherboards (and likely others).  This
1638	  watchdog simply watches your kernel to make sure it doesn't freeze,
1639	  and if it does, it reboots your computer after a certain amount of
1640	  time.
1641
1642	  To compile this driver as a module, choose M here: the
1643	  module will be called w83877f_wdt.
1644
1645	  Most people will say N.
1646
1647config W83977F_WDT
1648	tristate "W83977F (PCM-5335) Watchdog Timer"
1649	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1650	help
1651	  This is the driver for the hardware watchdog on the W83977F I/O chip
1652	  as used in AAEON's PCM-5335 SBC (and likely others).  This
1653	  watchdog simply watches your kernel to make sure it doesn't freeze,
1654	  and if it does, it reboots your computer after a certain amount of
1655	  time.
1656
1657	  To compile this driver as a module, choose M here: the
1658	  module will be called w83977f_wdt.
1659
1660config MACHZ_WDT
1661	tristate "ZF MachZ Watchdog"
1662	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1663	help
1664	  If you are using a ZF Micro MachZ processor, say Y here, otherwise
1665	  N.  This is the driver for the watchdog timer built-in on that
1666	  processor using ZF-Logic interface.  This watchdog simply watches
1667	  your kernel to make sure it doesn't freeze, and if it does, it
1668	  reboots your computer after a certain amount of time.
1669
1670	  To compile this driver as a module, choose M here: the
1671	  module will be called machzwd.
1672
1673config SBC_EPX_C3_WATCHDOG
1674	tristate "Winsystems SBC EPX-C3 watchdog"
1675	depends on (X86 || COMPILE_TEST) && HAS_IOPORT
1676	help
1677	  This is the driver for the built-in watchdog timer on the EPX-C3
1678	  Single-board computer made by Winsystems, Inc.
1679
1680	  *Note*: This hardware watchdog is not probeable and thus there
1681	  is no way to know if writing to its IO address will corrupt
1682	  your system or have any real effect.  The only way to be sure
1683	  that this driver does what you want is to make sure you
1684	  are running it on an EPX-C3 from Winsystems with the watchdog
1685	  timer at IO address 0x1ee and 0x1ef.  It will write to both those
1686	  IO ports.  Basically, the assumption is made that if you compile
1687	  this driver into your kernel and/or load it as a module, that you
1688	  know what you are doing and that you are in fact running on an
1689	  EPX-C3 board!
1690
1691	  To compile this driver as a module, choose M here: the
1692	  module will be called sbc_epx_c3.
1693
1694config INTEL_MEI_WDT
1695	tristate "Intel MEI iAMT Watchdog"
1696	depends on INTEL_MEI && X86
1697	select WATCHDOG_CORE
1698	help
1699	  A device driver for the Intel MEI iAMT watchdog.
1700
1701	  The Intel AMT Watchdog is an OS Health (Hang/Crash) watchdog.
1702	  Whenever the OS hangs or crashes, iAMT will send an event
1703	  to any subscriber to this event. The watchdog doesn't reset the
1704	  the platform.
1705
1706	  To compile this driver as a module, choose M here:
1707	  the module will be called mei_wdt.
1708
1709config NI903X_WDT
1710	tristate "NI 903x/913x Watchdog"
1711	depends on X86 && ACPI
1712	select WATCHDOG_CORE
1713	help
1714	  This is the driver for the watchdog timer on the National Instruments
1715	  903x/913x real-time controllers.
1716
1717	  To compile this driver as a module, choose M here: the module will be
1718	  called ni903x_wdt.
1719
1720config NIC7018_WDT
1721	tristate "NIC7018 Watchdog"
1722	depends on X86 && ACPI
1723	select WATCHDOG_CORE
1724	help
1725	  Support for National Instruments NIC7018 Watchdog.
1726
1727	  To compile this driver as a module, choose M here: the module will be
1728	  called nic7018_wdt.
1729
1730config SIEMENS_SIMATIC_IPC_WDT
1731	tristate "Siemens Simatic IPC Watchdog"
1732	depends on SIEMENS_SIMATIC_IPC && PCI
1733	default y
1734	select WATCHDOG_CORE
1735	select P2SB if X86
1736	help
1737	  This driver adds support for several watchdogs found in Industrial
1738	  PCs from Siemens.
1739
1740	  To compile this driver as a module, choose M here: the module will be
1741	  called simatic-ipc-wdt.
1742
1743# M68K Architecture
1744
1745config M54xx_WATCHDOG
1746	tristate "MCF54xx watchdog support"
1747	depends on M548x
1748	help
1749	  To compile this driver as a module, choose M here: the
1750	  module will be called m54xx_wdt.
1751
1752# MicroBlaze Architecture
1753
1754# MIPS Architecture
1755
1756config ATH79_WDT
1757	tristate "Atheros AR71XX/AR724X/AR913X hardware watchdog"
1758	depends on ATH79 || (ARM && COMPILE_TEST)
1759	help
1760	  Hardware driver for the built-in watchdog timer on the Atheros
1761	  AR71XX/AR724X/AR913X SoCs.
1762
1763config BCM47XX_WDT
1764	tristate "Broadcom BCM47xx Watchdog Timer"
1765	depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST
1766	select WATCHDOG_CORE
1767	help
1768	  Hardware driver for the Broadcom BCM47xx Watchdog Timer.
1769
1770config RC32434_WDT
1771	tristate "IDT RC32434 SoC Watchdog Timer"
1772	depends on MIKROTIK_RB532
1773	help
1774	  Hardware driver for the IDT RC32434 SoC built-in
1775	  watchdog timer.
1776
1777	  To compile this driver as a module, choose M here: the
1778	  module will be called rc32434_wdt.
1779
1780config INDYDOG
1781	tristate "Indy/I2 Hardware Watchdog"
1782	depends on SGI_HAS_INDYDOG
1783	help
1784	  Hardware driver for the Indy's/I2's watchdog. This is a
1785	  watchdog timer that will reboot the machine after a 60 second
1786	  timer expired and no process has written to /dev/watchdog during
1787	  that time.
1788
1789config JZ4740_WDT
1790	tristate "Ingenic jz4740 SoC hardware watchdog"
1791	depends on MIPS || COMPILE_TEST
1792	depends on COMMON_CLK
1793	select WATCHDOG_CORE
1794	select MFD_SYSCON
1795	help
1796	  Hardware driver for the built-in watchdog timer on Ingenic jz4740 SoCs.
1797
1798config WDT_MTX1
1799	tristate "MTX-1 Hardware Watchdog"
1800	depends on MIPS_MTX1 || (MIPS && COMPILE_TEST)
1801	help
1802	  Hardware driver for the MTX-1 boards. This is a watchdog timer that
1803	  will reboot the machine after a 100 seconds timer expired.
1804
1805config SIBYTE_WDOG
1806	tristate "Sibyte SoC hardware watchdog"
1807	depends on CPU_SB1
1808	help
1809	  Watchdog driver for the built in watchdog hardware in Sibyte
1810	  SoC processors.  There are apparently two watchdog timers
1811	  on such processors; this driver supports only the first one,
1812	  because currently Linux only supports exporting one watchdog
1813	  to userspace.
1814
1815	  To compile this driver as a loadable module, choose M here.
1816	  The module will be called sb_wdog.
1817
1818config TXX9_WDT
1819	tristate "Toshiba TXx9 Watchdog Timer"
1820	depends on CPU_TX49XX || (MIPS && COMPILE_TEST)
1821	select WATCHDOG_CORE
1822	help
1823	  Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
1824
1825config OCTEON_WDT
1826	tristate "Cavium OCTEON SOC family Watchdog Timer"
1827	depends on CAVIUM_OCTEON_SOC
1828	default y
1829	select WATCHDOG_CORE
1830	select EXPORT_UASM if OCTEON_WDT = m
1831	help
1832	  Hardware driver for OCTEON's on chip watchdog timer.
1833	  Enables the watchdog for all cores running Linux. It
1834	  installs a NMI handler and pokes the watchdog based on an
1835	  interrupt.  On first expiration of the watchdog, the
1836	  interrupt handler pokes it.  The second expiration causes an
1837	  NMI that prints a message. The third expiration causes a
1838	  global soft reset.
1839
1840	  When userspace has /dev/watchdog open, no poking is done
1841	  from the first interrupt, it is then only poked when the
1842	  device is written.
1843
1844config MARVELL_GTI_WDT
1845	tristate "Marvell GTI Watchdog driver"
1846	depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
1847	default y
1848	select WATCHDOG_CORE
1849	help
1850	  Marvell GTI hardware supports watchdog timer. First timeout
1851	  works as watchdog pretimeout and installed interrupt handler
1852	  will be called on first timeout. Hardware can generate interrupt
1853	  to SCP on second timeout but it is not enabled, so second
1854	  timeout is ignored. If device poke does not happen then system
1855	  will reboot on third timeout.
1856
1857config BCM2835_WDT
1858	tristate "Broadcom BCM2835 hardware watchdog"
1859	depends on ARCH_BCM2835 || (OF && COMPILE_TEST)
1860	select WATCHDOG_CORE
1861	help
1862	  Watchdog driver for the built in watchdog hardware in Broadcom
1863	  BCM2835 SoC.
1864
1865	  To compile this driver as a loadable module, choose M here.
1866	  The module will be called bcm2835_wdt.
1867
1868config BCM_KONA_WDT
1869	tristate "BCM Kona Watchdog"
1870	depends on ARCH_BCM_MOBILE || COMPILE_TEST
1871	select WATCHDOG_CORE
1872	help
1873	  Support for the watchdog timer on the following Broadcom BCM281xx
1874	  family, which includes BCM11130, BCM11140, BCM11351, BCM28145 and
1875	  BCM28155 variants.
1876
1877	  Say 'Y' or 'M' here to enable the driver. The module will be called
1878	  bcm_kona_wdt.
1879
1880config BCM_KONA_WDT_DEBUG
1881	bool "DEBUGFS support for BCM Kona Watchdog"
1882	depends on BCM_KONA_WDT || COMPILE_TEST
1883	help
1884	  If enabled, adds /sys/kernel/debug/bcm_kona_wdt/info which provides
1885	  access to the driver's internal data structures as well as watchdog
1886	  timer hardware registres.
1887
1888	  If in doubt, say 'N'.
1889
1890config BCM7038_WDT
1891	tristate "BCM63xx/BCM7038 Watchdog"
1892	select WATCHDOG_CORE
1893	depends on HAS_IOMEM
1894	depends on ARCH_BCMBCA || ARCH_BRCMSTB || BMIPS_GENERIC || BCM63XX || COMPILE_TEST
1895	help
1896	  Watchdog driver for the built-in hardware in Broadcom 7038 and
1897	  later SoCs used in set-top boxes.  BCM7038 was made public
1898	  during the 2004 CES, and since then, many Broadcom chips use this
1899	  watchdog block, including some cable modem chips and DSL (63xx)
1900	  chips.
1901
1902config IMGPDC_WDT
1903	tristate "Imagination Technologies PDC Watchdog Timer"
1904	depends on HAS_IOMEM
1905	depends on MIPS || COMPILE_TEST
1906	select WATCHDOG_CORE
1907	help
1908	  Driver for Imagination Technologies PowerDown Controller
1909	  Watchdog Timer.
1910
1911	  To compile this driver as a loadable module, choose M here.
1912	  The module will be called imgpdc_wdt.
1913
1914config LANTIQ_WDT
1915	tristate "Lantiq SoC watchdog"
1916	depends on LANTIQ
1917	select WATCHDOG_CORE
1918	help
1919	  Hardware driver for the Lantiq SoC Watchdog Timer.
1920
1921config LOONGSON1_WDT
1922	tristate "Loongson1 SoC hardware watchdog"
1923	depends on MACH_LOONGSON32 || COMPILE_TEST
1924	select WATCHDOG_CORE
1925	help
1926	  Hardware driver for the Loongson1 SoC Watchdog Timer.
1927
1928config RALINK_WDT
1929	tristate "Ralink SoC watchdog"
1930	select WATCHDOG_CORE
1931	depends on RALINK
1932	help
1933	  Hardware driver for the Ralink SoC Watchdog Timer.
1934
1935config GXP_WATCHDOG
1936	tristate "HPE GXP watchdog support"
1937	depends on ARCH_HPE_GXP || COMPILE_TEST
1938	select WATCHDOG_CORE
1939	help
1940	  Say Y here to include support for the watchdog timer
1941	  in HPE GXP SoCs.
1942
1943	  To compile this driver as a module, choose M here.
1944	  The module will be called gxp-wdt.
1945
1946config MT7621_WDT
1947	tristate "Mediatek SoC watchdog"
1948	select WATCHDOG_CORE
1949	select REGMAP_MMIO
1950	select MFD_SYSCON
1951	depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST
1952	help
1953	  Hardware driver for the Mediatek/Ralink MT7621/8 SoC Watchdog Timer.
1954
1955config PIC32_WDT
1956	tristate "Microchip PIC32 hardware watchdog"
1957	select WATCHDOG_CORE
1958	depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
1959	help
1960	  Watchdog driver for the built in watchdog hardware in a PIC32.
1961
1962	  Configuration bits must be set appropriately for the watchdog to be
1963	  controlled by this driver.
1964
1965	  To compile this driver as a loadable module, choose M here.
1966	  The module will be called pic32-wdt.
1967
1968config PIC32_DMT
1969	tristate "Microchip PIC32 Deadman Timer"
1970	select WATCHDOG_CORE
1971	depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
1972	help
1973	  Watchdog driver for PIC32 instruction fetch counting timer. This
1974	  specific timer is typically be used in mission critical and safety
1975	  critical applications, where any single failure of the software
1976	  functionality and sequencing must be detected.
1977
1978	  To compile this driver as a loadable module, choose M here.
1979	  The module will be called pic32-dmt.
1980
1981# PARISC Architecture
1982
1983# POWERPC Architecture
1984
1985config GEF_WDT
1986	tristate "GE Watchdog Timer"
1987	depends on GE_FPGA
1988	help
1989	  Watchdog timer found in a number of GE single board computers.
1990
1991config MPC5200_WDT
1992	bool "MPC52xx Watchdog Timer"
1993	depends on PPC_MPC52xx || COMPILE_TEST
1994	help
1995	  Use General Purpose Timer (GPT) 0 on the MPC5200 as Watchdog.
1996
1997config 8xxx_WDT
1998	tristate "MPC8xxx Platform Watchdog Timer"
1999	depends on PPC_8xx || PPC_83xx || PPC_86xx || PPC_MPC512x
2000	select WATCHDOG_CORE
2001	help
2002	  This driver is for a SoC level watchdog that exists on some
2003	  Freescale PowerPC processors. So far this driver supports:
2004	  - MPC8xx watchdogs
2005	  - MPC83xx watchdogs
2006	  - MPC86xx watchdogs
2007
2008	  For BookE processors (MPC85xx) use the BOOKE_WDT driver instead.
2009
2010config PIKA_WDT
2011	tristate "PIKA FPGA Watchdog"
2012	depends on WARP || (PPC64 && COMPILE_TEST)
2013	default y
2014	help
2015	  This enables the watchdog in the PIKA FPGA. Currently used on
2016	  the Warp platform.
2017
2018config BOOKE_WDT
2019	tristate "PowerPC Book-E Watchdog Timer"
2020	depends on BOOKE || 4xx
2021	select WATCHDOG_CORE
2022	help
2023	  Watchdog driver for PowerPC Book-E chips, such as the Freescale
2024	  MPC85xx SOCs and the IBM PowerPC 440.
2025
2026	  Please see Documentation/watchdog/watchdog-api.rst for
2027	  more information.
2028
2029config BOOKE_WDT_DEFAULT_TIMEOUT
2030	int "PowerPC Book-E Watchdog Timer Default Timeout"
2031	depends on BOOKE_WDT
2032	default 38 if PPC_E500
2033	range 0 63 if PPC_E500
2034	default 3 if !PPC_E500
2035	range 0 3 if !PPC_E500
2036	help
2037	  Select the default watchdog timer period to be used by the PowerPC
2038	  Book-E watchdog driver.  A watchdog "event" occurs when the bit
2039	  position represented by this number transitions from zero to one.
2040
2041	  For Freescale Book-E processors, this is a number between 0 and 63.
2042	  For other Book-E processors, this is a number between 0 and 3.
2043
2044	  The value can be overridden by the wdt_period command-line parameter.
2045
2046config MEN_A21_WDT
2047	tristate "MEN A21 VME CPU Carrier Board Watchdog Timer"
2048	select WATCHDOG_CORE
2049	depends on GPIOLIB || COMPILE_TEST
2050	help
2051	  Watchdog driver for MEN A21 VMEbus CPU Carrier Boards.
2052
2053	  The driver can also be built as a module. If so, the module will be
2054	  called mena21_wdt.
2055
2056	  If unsure select N here.
2057
2058# PPC64 Architecture
2059
2060config PSERIES_WDT
2061	tristate "POWER Architecture Platform Watchdog Timer"
2062	depends on PPC_PSERIES
2063	select WATCHDOG_CORE
2064	help
2065	  Driver for virtual watchdog timers provided by PAPR
2066	  hypervisors (e.g. PowerVM, KVM).
2067
2068config WATCHDOG_RTAS
2069	tristate "RTAS watchdog"
2070	depends on PPC_RTAS
2071	help
2072	  This driver adds watchdog support for the RTAS watchdog.
2073
2074	  To compile this driver as a module, choose M here. The module
2075	  will be called wdrtas.
2076
2077# RISC-V Architecture
2078
2079config STARFIVE_WATCHDOG
2080	tristate "StarFive Watchdog support"
2081	depends on ARCH_STARFIVE || COMPILE_TEST
2082	select WATCHDOG_CORE
2083	default ARCH_STARFIVE
2084	help
2085	  Say Y here to support the watchdog of StarFive JH7100 and JH7110
2086	  SoC. This driver can also be built as a module if choose M.
2087
2088# S390 Architecture
2089
2090config DIAG288_WATCHDOG
2091	tristate "System z diag288 Watchdog"
2092	depends on S390
2093	select WATCHDOG_CORE
2094	help
2095	  IBM s/390 and zSeries machines running under z/VM 5.1 or later
2096	  provide a virtual watchdog timer to their guest that cause a
2097	  user define Control Program command to be executed after a
2098	  timeout.
2099	  LPAR provides a very similar interface. This driver handles
2100	  both.
2101
2102	  To compile this driver as a module, choose M here. The module
2103	  will be called diag288_wdt.
2104
2105# SUPERH (sh + sh64) Architecture
2106
2107config SH_WDT
2108	tristate "SuperH Watchdog"
2109	depends on SUPERH && (CPU_SH3 || CPU_SH4 || COMPILE_TEST)
2110	select WATCHDOG_CORE
2111	help
2112	  This driver adds watchdog support for the integrated watchdog in the
2113	  SuperH processors. If you have one of these processors and wish
2114	  to have watchdog support enabled, say Y, otherwise say N.
2115
2116	  As a side note, saying Y here will automatically boost HZ to 1000
2117	  so that the timer has a chance to clear the overflow counter. On
2118	  slower systems (such as the SH-2 and SH-3) this will likely yield
2119	  some performance issues. As such, the WDT should be avoided here
2120	  unless it is absolutely necessary.
2121
2122	  To compile this driver as a module, choose M here: the
2123	  module will be called shwdt.
2124
2125# SPARC Architecture
2126
2127# SPARC64 Architecture
2128
2129config WATCHDOG_CP1XXX
2130	tristate "CP1XXX Hardware Watchdog support"
2131	depends on SPARC64 && PCI
2132	help
2133	  This is the driver for the hardware watchdog timers present on
2134	  Sun Microsystems CompactPCI models CP1400 and CP1500.
2135
2136	  To compile this driver as a module, choose M here: the
2137	  module will be called cpwatchdog.
2138
2139	  If you do not have a CompactPCI model CP1400 or CP1500, or
2140	  another UltraSPARC-IIi-cEngine boardset with hardware watchdog,
2141	  you should say N to this option.
2142
2143config WATCHDOG_RIO
2144	tristate "RIO Hardware Watchdog support"
2145	depends on SPARC64 && PCI
2146	help
2147	  Say Y here to support the hardware watchdog capability on Sun RIO
2148	  machines.  The watchdog timeout period is normally one minute but
2149	  can be changed with a boot-time parameter.
2150
2151config WATCHDOG_SUN4V
2152	tristate "Sun4v Watchdog support"
2153	select WATCHDOG_CORE
2154	depends on SPARC64
2155	help
2156	  Say Y here to support the hypervisor watchdog capability embedded
2157	  in the SPARC sun4v architecture.
2158
2159	  To compile this driver as a module, choose M here. The module will
2160	  be called sun4v_wdt.
2161
2162# XTENSA Architecture
2163
2164# Xen Architecture
2165
2166config XEN_WDT
2167	tristate "Xen Watchdog support"
2168	depends on XEN
2169	select WATCHDOG_CORE
2170	help
2171	  Say Y here to support the hypervisor watchdog capability provided
2172	  by Xen 4.0 and newer.  The watchdog timeout period is normally one
2173	  minute but can be changed with a boot-time parameter.
2174
2175config UML_WATCHDOG
2176	tristate "UML watchdog"
2177	depends on UML || COMPILE_TEST
2178
2179#
2180# ISA-based Watchdog Cards
2181#
2182
2183comment "ISA-based Watchdog Cards"
2184	depends on ISA
2185
2186config PCWATCHDOG
2187	tristate "Berkshire Products ISA-PC Watchdog"
2188	depends on ISA
2189	help
2190	  This is the driver for the Berkshire Products ISA-PC Watchdog card.
2191	  This card simply watches your kernel to make sure it doesn't freeze,
2192	  and if it does, it reboots your computer after a certain amount of
2193	  time. This driver is like the WDT501 driver but for different
2194	  hardware. Please read <file:Documentation/watchdog/pcwd-watchdog.rst>.
2195	  The PC watchdog cards can be ordered from <http://www.berkprod.com/>.
2196
2197	  To compile this driver as a module, choose M here: the
2198	  module will be called pcwd.
2199
2200	  Most people will say N.
2201
2202config MIXCOMWD
2203	tristate "Mixcom Watchdog"
2204	depends on ISA
2205	help
2206	  This is a driver for the Mixcom hardware watchdog cards.  This
2207	  watchdog simply watches your kernel to make sure it doesn't freeze,
2208	  and if it does, it reboots your computer after a certain amount of
2209	  time.
2210
2211	  To compile this driver as a module, choose M here: the
2212	  module will be called mixcomwd.
2213
2214	  Most people will say N.
2215
2216config WDT
2217	tristate "WDT Watchdog timer"
2218	depends on ISA
2219	help
2220	  If you have a WDT500P or WDT501P watchdog board, say Y here,
2221	  otherwise N. It is not possible to probe for this board, which means
2222	  that you have to inform the kernel about the IO port and IRQ that
2223	  is needed (you can do this via the io and irq parameters)
2224
2225	  To compile this driver as a module, choose M here: the
2226	  module will be called wdt.
2227
2228#
2229# PCI-based Watchdog Cards
2230#
2231
2232comment "PCI-based Watchdog Cards"
2233	depends on PCI
2234
2235config PCIPCWATCHDOG
2236	tristate "Berkshire Products PCI-PC Watchdog"
2237	depends on PCI && HAS_IOPORT
2238	help
2239	  This is the driver for the Berkshire Products PCI-PC Watchdog card.
2240	  This card simply watches your kernel to make sure it doesn't freeze,
2241	  and if it does, it reboots your computer after a certain amount of
2242	  time. The card can also monitor the internal temperature of the PC.
2243	  More info is available at <http://www.berkprod.com/pci_pc_watchdog.htm>.
2244
2245	  To compile this driver as a module, choose M here: the
2246	  module will be called pcwd_pci.
2247
2248	  Most people will say N.
2249
2250config WDTPCI
2251	tristate "PCI-WDT500/501 Watchdog timer"
2252	depends on PCI && HAS_IOPORT
2253	help
2254	  If you have a PCI-WDT500/501 watchdog board, say Y here, otherwise N.
2255
2256	  If you have a PCI-WDT501 watchdog board then you can enable the
2257	  temperature sensor by setting the type parameter to 501.
2258
2259	  If you want to enable the Fan Tachometer on the PCI-WDT501, then you
2260	  can do this via the tachometer parameter. Only do this if you have a
2261	  fan tachometer actually set up.
2262
2263	  To compile this driver as a module, choose M here: the
2264	  module will be called wdt_pci.
2265
2266#
2267# USB-based Watchdog Cards
2268#
2269
2270comment "USB-based Watchdog Cards"
2271	depends on USB
2272
2273config USBPCWATCHDOG
2274	tristate "Berkshire Products USB-PC Watchdog"
2275	depends on USB
2276	help
2277	  This is the driver for the Berkshire Products USB-PC Watchdog card.
2278	  This card simply watches your kernel to make sure it doesn't freeze,
2279	  and if it does, it reboots your computer after a certain amount of
2280	  time. The card can also monitor the internal temperature of the PC.
2281	  More info is available at <http://www.berkprod.com/usb_pc_watchdog.htm>.
2282
2283	  To compile this driver as a module, choose M here: the
2284	  module will be called pcwd_usb.
2285
2286	  Most people will say N.
2287
2288config KEEMBAY_WATCHDOG
2289	tristate "Intel Keem Bay SoC non-secure watchdog"
2290	depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)
2291	select WATCHDOG_CORE
2292	help
2293	  This option enable support for an In-secure watchdog timer driver for
2294	  Intel Keem Bay SoC. This WDT has a 32 bit timer and decrements in every
2295	  count unit. An interrupt will be triggered, when the count crosses
2296	  the threshold configured in the register.
2297
2298	  To compile this driver as a module, choose M here: the
2299	  module will be called keembay_wdt.
2300
2301endif # WATCHDOG
2302