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