2005-04-17 02:20:36 +04:00
#
# Makefile for the WatchDog device drivers.
#
2011-07-22 22:55:18 +04:00
# The WatchDog Timer Driver Core.
obj-$(CONFIG_WATCHDOG_CORE) += watchdog.o
2016-10-07 15:39:54 +03:00
watchdog-objs += watchdog_core.o watchdog_dev.o
watchdog-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV) += watchdog_pretimeout.o
2016-10-07 15:39:55 +03:00
obj-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV_NOOP) += pretimeout_noop.o
2016-10-07 15:39:56 +03:00
obj-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV_PANIC) += pretimeout_panic.o
2016-10-07 15:39:55 +03:00
2005-08-17 03:49:24 +04:00
# Only one watchdog can succeed. We probe the ISA/PCI/USB based
# watchdog-cards first, then the architecture specific watchdog
2011-03-31 05:57:33 +04:00
# drivers and then the architecture independent "softdog" driver.
2005-08-17 03:49:24 +04:00
# This means that if your ISA/PCI/USB card isn't detected that
# you can fall back to an architecture specific driver and if
# that also fails then you can fall back to the software watchdog
# to give you some cover.
# ISA-based Watchdog Cards
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_PCWATCHDOG) += pcwd.o
obj-$(CONFIG_MIXCOMWD) += mixcomwd.o
obj-$(CONFIG_WDT) += wdt.o
2005-08-17 03:49:24 +04:00
# PCI-based Watchdog Cards
obj-$(CONFIG_PCIPCWATCHDOG) += pcwd_pci.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_WDTPCI) += wdt_pci.o
2005-08-17 03:49:24 +04:00
# USB-based Watchdog Cards
obj-$(CONFIG_USBPCWATCHDOG) += pcwd_usb.o
2007-07-21 00:13:43 +04:00
# ALPHA Architecture
2005-08-17 03:49:24 +04:00
# ARM Architecture
2010-08-04 10:14:14 +04:00
obj-$(CONFIG_ARM_SP805_WATCHDOG) += sp805_wdt.o
Watchdog: introduce ARM SBSA watchdog driver
According to Server Base System Architecture (SBSA) specification,
the SBSA Generic Watchdog has two stage timeouts: the first signal (WS0)
is for alerting the system by interrupt, the second one (WS1) is a real
hardware reset.
More details about the hardware specification of this device:
ARM DEN0029B - Server Base System Architecture (SBSA)
This driver can operate ARM SBSA Generic Watchdog as a single stage watchdog
or a two stages watchdog, it's set up by the module parameter "action".
In the single stage mode, when the timeout is reached, your system
will be reset by WS1. The first signal (WS0) is ignored.
In the two stages mode, when the timeout is reached, the first signal (WS0)
will trigger panic. If the system is getting into trouble and cannot be reset
by panic or restart properly by the kdump kernel(if supported), then the
second stage (as long as the first stage) will be reached, system will be
reset by WS1. This function can help administrator to backup the system
context info by panic console output or kdump.
This driver bases on linux kernel watchdog framework, so it can get
timeout from module parameter and FDT at the driver init stage.
Signed-off-by: Fu Wei <fu.wei@linaro.org>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
Tested-by: Pratyush Anand <panand@redhat.com>
Acked-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Tested-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2016-02-29 11:46:50 +03:00
obj-$(CONFIG_ARM_SBSA_WATCHDOG) += sbsa_gwdt.o
2015-11-25 22:33:22 +03:00
obj-$(CONFIG_ASM9260_WATCHDOG) += asm9260_wdt.o
2006-09-26 19:49:30 +04:00
obj-$(CONFIG_AT91RM9200_WATCHDOG) += at91rm9200_wdt.o
2008-06-23 19:05:49 +04:00
obj-$(CONFIG_AT91SAM9X_WATCHDOG) += at91sam9_wdt.o
2014-08-22 13:28:01 +04:00
obj-$(CONFIG_CADENCE_WATCHDOG) += cadence_wdt.o
2006-09-29 12:59:18 +04:00
obj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o
2009-03-27 17:42:17 +03:00
obj-$(CONFIG_TWL4030_WATCHDOG) += twl4030_wdt.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_21285_WATCHDOG) += wdt285.o
obj-$(CONFIG_977_WATCHDOG) += wdt977.o
2005-09-03 15:46:56 +04:00
obj-$(CONFIG_IXP4XX_WATCHDOG) += ixp4xx_wdt.o
2007-05-14 16:45:25 +04:00
obj-$(CONFIG_KS8695_WATCHDOG) += ks8695_wdt.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_S3C2410_WATCHDOG) += s3c2410_wdt.o
obj-$(CONFIG_SA1100_WATCHDOG) += sa1100_wdt.o
2015-08-06 13:16:46 +03:00
obj-$(CONFIG_SAMA5D4_WATCHDOG) += sama5d4_wdt.o
2011-01-24 15:19:12 +03:00
obj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o
2006-03-25 14:06:37 +03:00
obj-$(CONFIG_EP93XX_WATCHDOG) += ep93xx_wdt.o
2006-06-26 19:31:49 +04:00
obj-$(CONFIG_PNX4008_WATCHDOG) += pnx4008_wdt.o
2007-07-20 05:07:26 +04:00
obj-$(CONFIG_IOP_WATCHDOG) += iop_wdt.o
2007-06-12 18:09:50 +04:00
obj-$(CONFIG_DAVINCI_WATCHDOG) += davinci_wdt.o
2009-06-01 21:56:02 +04:00
obj-$(CONFIG_ORION_WATCHDOG) += orion_wdt.o
2013-07-30 23:20:46 +04:00
obj-$(CONFIG_SUNXI_WATCHDOG) += sunxi_wdt.o
2014-09-29 02:39:47 +04:00
obj-$(CONFIG_RN5T618_WATCHDOG) += rn5t618_wdt.o
2009-05-06 17:35:40 +04:00
obj-$(CONFIG_COH901327_WATCHDOG) += coh901327_wdt.o
2011-09-28 00:35:40 +04:00
obj-$(CONFIG_STMP3XXX_RTC_WATCHDOG) += stmp3xxx_rtc_wdt.o
2009-08-17 14:00:01 +04:00
obj-$(CONFIG_NUC900_WATCHDOG) += nuc900_wdt.o
2015-12-08 19:37:28 +03:00
obj-$(CONFIG_TS4800_WATCHDOG) += ts4800_wdt.o
2009-11-29 17:58:38 +03:00
obj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o
2010-04-29 12:03:17 +04:00
obj-$(CONFIG_IMX2_WDT) += imx2_wdt.o
2013-01-29 12:57:19 +04:00
obj-$(CONFIG_UX500_WATCHDOG) += ux500_wdt.o
2012-12-28 00:58:29 +04:00
obj-$(CONFIG_RETU_WATCHDOG) += retu_wdt.o
2013-06-18 21:44:48 +04:00
obj-$(CONFIG_BCM2835_WDT) += bcm2835_wdt.o
2013-08-02 18:40:45 +04:00
obj-$(CONFIG_MOXART_WDT) += moxart_wdt.o
2013-10-02 04:13:49 +04:00
obj-$(CONFIG_SIRFSOC_WATCHDOG) += sirfsoc_wdt.o
2015-04-09 17:47:31 +03:00
obj-$(CONFIG_ST_LPC_WATCHDOG) += st_lpc_wdt.o
2014-09-26 02:51:02 +04:00
obj-$(CONFIG_QCOM_WDT) += qcom-wdt.o
2013-11-23 02:56:03 +04:00
obj-$(CONFIG_BCM_KONA_WDT) += bcm_kona_wdt.o
2014-02-15 00:03:05 +04:00
obj-$(CONFIG_TEGRA_WATCHDOG) += tegra_wdt.o
2016-07-10 12:11:04 +03:00
obj-$(CONFIG_MESON_GXBB_WATCHDOG) += meson_gxbb_wdt.o
2014-09-20 21:06:50 +04:00
obj-$(CONFIG_MESON_WATCHDOG) += meson_wdt.o
2015-01-13 15:28:55 +03:00
obj-$(CONFIG_MEDIATEK_WATCHDOG) += mtk_wdt.o
2015-03-31 09:14:59 +03:00
obj-$(CONFIG_DIGICOLOR_WATCHDOG) += digicolor_wdt.o
2015-08-01 21:37:16 +03:00
obj-$(CONFIG_LPC18XX_WATCHDOG) += lpc18xx_wdt.o
2015-08-31 21:02:43 +03:00
obj-$(CONFIG_BCM7038_WDT) += bcm7038_wdt.o
2015-12-02 06:37:47 +03:00
obj-$(CONFIG_ATLAS7_WATCHDOG) += atlas7_wdt.o
2016-04-01 14:56:23 +03:00
obj-$(CONFIG_RENESAS_WDT) += renesas_wdt.o
2016-05-18 11:21:00 +03:00
obj-$(CONFIG_ASPEED_WATCHDOG) += aspeed_wdt.o
2005-08-17 03:49:24 +04:00
2007-06-08 03:06:41 +04:00
# AVR32 Architecture
obj-$(CONFIG_AT32AP700X_WDT) += at32ap700x_wdt.o
2007-07-21 00:13:43 +04:00
# BLACKFIN Architecture
2007-07-14 22:50:02 +04:00
obj-$(CONFIG_BFIN_WDT) += bfin_wdt.o
2007-07-21 00:13:43 +04:00
# CRIS Architecture
# FRV Architecture
2005-08-17 03:49:24 +04:00
# X86 (i386 + ia64 + x86_64) Architecture
obj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o
obj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_ALIM1535_WDT) += alim1535_wdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o
2016-02-29 07:54:46 +03:00
obj-$(CONFIG_EBC_C384_WDT) += ebc-c384_wdt.o
2010-08-01 17:30:55 +04:00
obj-$(CONFIG_F71808E_WDT) += f71808e_wdt.o
2010-10-26 04:58:04 +04:00
obj-$(CONFIG_SP5100_TCO) += sp5100_tco.o
2008-01-21 20:07:00 +03:00
obj-$(CONFIG_GEODE_WDT) += geodewdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_SC520_WDT) += sc520_wdt.o
2009-07-21 14:13:29 +04:00
obj-$(CONFIG_SBC_FITPC2_WATCHDOG) += sbc_fitpc2_wdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o
obj-$(CONFIG_IB700_WDT) += ib700wdt.o
2005-08-20 01:15:11 +04:00
obj-$(CONFIG_IBMASR) += ibmasr.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o
2005-08-17 11:07:44 +04:00
obj-$(CONFIG_I6300ESB_WDT) += i6300esb.o
2012-05-10 18:37:43 +04:00
obj-$(CONFIG_IE6XX_WDT) += ie6xx_wdt.o
2008-08-08 12:29:21 +04:00
obj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o
i f e q ( $( CONFIG_ITCO_VENDOR_SUPPORT ) , y )
obj-$(CONFIG_ITCO_WDT) += iTCO_vendor_support.o
e n d i f
2007-11-19 17:09:21 +03:00
obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o
2008-03-05 18:48:45 +03:00
obj-$(CONFIG_IT87_WDT) += it87_wdt.o
2007-12-04 20:41:54 +03:00
obj-$(CONFIG_HP_WATCHDOG) += hpwdt.o
2013-06-24 08:00:06 +04:00
obj-$(CONFIG_KEMPLD_WDT) += kempld_wdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o
obj-$(CONFIG_SCx200_WDT) += scx200_wdt.o
2006-08-24 19:11:50 +04:00
obj-$(CONFIG_PC87413_WDT) += pc87413_wdt.o
2010-10-26 04:58:05 +04:00
obj-$(CONFIG_NV_TCO) += nv_tco.o
2008-02-25 14:59:26 +03:00
obj-$(CONFIG_RDC321X_WDT) += rdc321x_wdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o
2005-09-02 00:49:17 +04:00
obj-$(CONFIG_SBC8360_WDT) += sbc8360.o
2007-10-31 09:31:42 +03:00
obj-$(CONFIG_SBC7240_WDT) += sbc7240_wdt.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_CPU5_WDT) += cpu5wdt.o
2008-10-22 12:59:25 +04:00
obj-$(CONFIG_SMSC_SCH311X_WDT) += sch311x_wdt.o
2006-08-24 19:11:50 +04:00
obj-$(CONFIG_SMSC37B787_WDT) += smsc37b787_wdt.o
2011-12-05 20:00:23 +04:00
obj-$(CONFIG_VIA_WDT) += via_wdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o
obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
2005-09-07 04:05:30 +04:00
obj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_MACHZ_WDT) += machzwd.o
2006-01-15 00:20:46 +03:00
obj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc_epx_c3.o
2011-02-02 19:20:16 +03:00
obj-$(CONFIG_INTEL_SCU_WATCHDOG) += intel_scu_watchdog.o
2014-04-16 00:06:05 +04:00
obj-$(CONFIG_INTEL_MID_WATCHDOG) += intel-mid_wdt.o
2016-01-08 01:49:22 +03:00
obj-$(CONFIG_INTEL_MEI_WDT) += mei_wdt.o
2016-02-25 20:28:00 +03:00
obj-$(CONFIG_NI903X_WDT) += ni903x_wdt.o
2005-08-17 03:49:24 +04:00
2007-07-21 00:13:43 +04:00
# M32R Architecture
# M68K Architecture
2011-01-22 02:21:25 +03:00
obj-$(CONFIG_M54xx_WATCHDOG) += m54xx_wdt.o
2007-07-21 00:13:43 +04:00
2011-06-03 01:13:11 +04:00
# MicroBlaze Architecture
obj-$(CONFIG_XILINX_WATCHDOG) += of_xilinx_wdt.o
2007-07-21 00:13:43 +04:00
# MIPS Architecture
2011-01-04 23:28:19 +03:00
obj-$(CONFIG_ATH79_WDT) += ath79_wdt.o
2009-06-05 20:57:18 +04:00
obj-$(CONFIG_BCM47XX_WDT) += bcm47xx_wdt.o
2010-08-29 00:03:45 +04:00
obj-$(CONFIG_BCM63XX_WDT) += bcm63xx_wdt.o
2008-02-25 15:11:31 +03:00
obj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o
2007-07-21 00:13:43 +04:00
obj-$(CONFIG_INDYDOG) += indydog.o
2010-12-05 23:08:22 +03:00
obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
2008-08-07 00:19:41 +04:00
obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
2008-11-05 18:46:49 +03:00
obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o
2007-12-14 03:16:42 +03:00
obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
2007-09-20 20:06:41 +04:00
obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
2007-11-11 19:32:17 +03:00
obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
2010-07-24 21:16:05 +04:00
obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
2011-05-06 01:00:23 +04:00
obj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o
2013-08-08 13:31:43 +04:00
obj-$(CONFIG_RALINK_WDT) += rt2880_wdt.o
2015-01-06 16:19:34 +03:00
obj-$(CONFIG_IMGPDC_WDT) += imgpdc_wdt.o
2016-01-04 22:36:38 +03:00
obj-$(CONFIG_MT7621_WDT) += mt7621_wdt.o
2016-02-26 20:19:28 +03:00
obj-$(CONFIG_PIC32_WDT) += pic32-wdt.o
2016-02-26 20:20:22 +03:00
obj-$(CONFIG_PIC32_DMT) += pic32-dmt.o
2007-07-21 00:13:43 +04:00
# PARISC Architecture
# POWERPC Architecture
2008-11-10 15:31:26 +03:00
obj-$(CONFIG_GEF_WDT) += gef_wdt.o
2008-07-04 10:51:34 +04:00
obj-$(CONFIG_8xxx_WDT) += mpc8xxx_wdt.o
2005-08-17 11:01:33 +04:00
obj-$(CONFIG_MV64X60_WDT) += mv64x60_wdt.o
2008-09-24 04:26:26 +04:00
obj-$(CONFIG_PIKA_WDT) += pika_wdt.o
2005-09-10 22:53:57 +04:00
obj-$(CONFIG_BOOKE_WDT) += booke_wdt.o
2013-06-18 19:19:45 +04:00
obj-$(CONFIG_MEN_A21_WDT) += mena21_wdt.o
2005-09-03 15:46:56 +04:00
# PPC64 Architecture
2005-06-23 03:43:34 +04:00
obj-$(CONFIG_WATCHDOG_RTAS) += wdrtas.o
2005-04-17 02:20:36 +04:00
2005-08-17 03:49:24 +04:00
# S390 Architecture
2014-06-05 13:01:43 +04:00
obj-$(CONFIG_DIAG288_WATCHDOG) += diag288_wdt.o
2005-08-17 03:49:24 +04:00
2007-07-21 00:13:43 +04:00
# SUPERH (sh + sh64) Architecture
2005-08-17 03:49:24 +04:00
obj-$(CONFIG_SH_WDT) += shwdt.o
2007-07-21 00:13:43 +04:00
# SPARC Architecture
2005-08-17 03:49:24 +04:00
# SPARC64 Architecture
2005-04-17 02:20:36 +04:00
2008-08-30 02:40:24 +04:00
obj-$(CONFIG_WATCHDOG_RIO) += riowd.o
2008-08-30 04:07:01 +04:00
obj-$(CONFIG_WATCHDOG_CP1XXX) += cpwd.o
2016-01-29 20:39:38 +03:00
obj-$(CONFIG_WATCHDOG_SUN4V) += sun4v_wdt.o
2008-08-30 02:40:24 +04:00
2007-07-21 00:13:43 +04:00
# XTENSA Architecture
2010-10-04 13:37:26 +04:00
# Xen
obj-$(CONFIG_XEN_WDT) += xen_wdt.o
2011-03-31 05:57:33 +04:00
# Architecture Independent
2012-05-24 17:01:14 +04:00
obj-$(CONFIG_DA9052_WATCHDOG) += da9052_wdt.o
2012-10-12 13:30:03 +04:00
obj-$(CONFIG_DA9055_WATCHDOG) += da9055_wdt.o
2015-05-28 16:33:31 +03:00
obj-$(CONFIG_DA9062_WATCHDOG) += da9062_wdt.o
2014-09-28 21:05:45 +04:00
obj-$(CONFIG_DA9063_WATCHDOG) += da9063_wdt.o
2013-11-30 11:54:32 +04:00
obj-$(CONFIG_GPIO_WATCHDOG) += gpio_wdt.o
2015-11-20 01:09:05 +03:00
obj-$(CONFIG_TANGOX_WATCHDOG) += tangox_wdt.o
2016-09-20 15:30:51 +03:00
obj-$(CONFIG_WDAT_WDT) += wdat_wdt.o
2009-07-27 17:46:12 +04:00
obj-$(CONFIG_WM831X_WATCHDOG) += wm831x_wdt.o
2008-11-06 13:56:21 +03:00
obj-$(CONFIG_WM8350_WATCHDOG) += wm8350_wdt.o
2010-02-04 23:08:56 +03:00
obj-$(CONFIG_MAX63XX_WATCHDOG) += max63xx_wdt.o
2016-06-09 16:29:05 +03:00
obj-$(CONFIG_MAX77620_WATCHDOG) += max77620_wdt.o
2015-12-01 18:32:47 +03:00
obj-$(CONFIG_ZIIRAVE_WATCHDOG) += ziirave_wdt.o
2005-04-17 02:20:36 +04:00
obj-$(CONFIG_SOFT_WATCHDOG) += softdog.o
2014-08-27 21:52:06 +04:00
obj-$(CONFIG_MENF21BMC_WATCHDOG) += menf21bmc_wdt.o