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