1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2b7e04f8cSWim Van Sebroeck# 3b7e04f8cSWim Van Sebroeck# Makefile for the WatchDog device drivers. 4b7e04f8cSWim Van Sebroeck# 5b7e04f8cSWim Van Sebroeck 643316044SWim Van Sebroeck# The WatchDog Timer Driver Core. 743316044SWim Van Sebroeckobj-$(CONFIG_WATCHDOG_CORE) += watchdog.o 843316044SWim Van Sebroeck 9ff84136cSVladimir Zapolskiywatchdog-objs += watchdog_core.o watchdog_dev.o 10ff84136cSVladimir Zapolskiy 11ff84136cSVladimir Zapolskiywatchdog-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV) += watchdog_pretimeout.o 127b7d2fdcSCurtis Kleinwatchdog-$(CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT) += watchdog_hrtimer_pretimeout.o 13ff84136cSVladimir Zapolskiy 14f77710c4SVladimir Zapolskiyobj-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV_NOOP) += pretimeout_noop.o 15da0d12ffSVladimir Zapolskiyobj-$(CONFIG_WATCHDOG_PRETIMEOUT_GOV_PANIC) += pretimeout_panic.o 16f77710c4SVladimir Zapolskiy 17b7e04f8cSWim Van Sebroeck# Only one watchdog can succeed. We probe the ISA/PCI/USB based 18b7e04f8cSWim Van Sebroeck# watchdog-cards first, then the architecture specific watchdog 1925985edcSLucas De Marchi# drivers and then the architecture independent "softdog" driver. 20b7e04f8cSWim Van Sebroeck# This means that if your ISA/PCI/USB card isn't detected that 21b7e04f8cSWim Van Sebroeck# you can fall back to an architecture specific driver and if 22b7e04f8cSWim Van Sebroeck# that also fails then you can fall back to the software watchdog 23b7e04f8cSWim Van Sebroeck# to give you some cover. 24b7e04f8cSWim Van Sebroeck 25b7e04f8cSWim Van Sebroeck# ISA-based Watchdog Cards 26b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PCWATCHDOG) += pcwd.o 27b7e04f8cSWim Van Sebroeckobj-$(CONFIG_MIXCOMWD) += mixcomwd.o 28b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WDT) += wdt.o 29b7e04f8cSWim Van Sebroeck 30b7e04f8cSWim Van Sebroeck# PCI-based Watchdog Cards 31b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PCIPCWATCHDOG) += pcwd_pci.o 32b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WDTPCI) += wdt_pci.o 33b7e04f8cSWim Van Sebroeck 34b7e04f8cSWim Van Sebroeck# USB-based Watchdog Cards 35b7e04f8cSWim Van Sebroeckobj-$(CONFIG_USBPCWATCHDOG) += pcwd_usb.o 36b7e04f8cSWim Van Sebroeck 37b7e04f8cSWim Van Sebroeck# ALPHA Architecture 38b7e04f8cSWim Van Sebroeck 39b7e04f8cSWim Van Sebroeck# ARM Architecture 404a370278SViresh KUMARobj-$(CONFIG_ARM_SP805_WATCHDOG) += sp805_wdt.o 4157d2caaaSFu Weiobj-$(CONFIG_ARM_SBSA_WATCHDOG) += sbsa_gwdt.o 4254e3d9b5SMarek Behúnobj-$(CONFIG_ARMADA_37XX_WATCHDOG) += armada_37xx_wdt.o 43aae03dc9SOleksij Rempelobj-$(CONFIG_ASM9260_WATCHDOG) += asm9260_wdt.o 44b7e04f8cSWim Van Sebroeckobj-$(CONFIG_AT91RM9200_WATCHDOG) += at91rm9200_wdt.o 45e6bb42e3SRenaud CERRATOobj-$(CONFIG_AT91SAM9X_WATCHDOG) += at91sam9_wdt.o 4658bf0164SHarini Katakamobj-$(CONFIG_CADENCE_WATCHDOG) += cadence_wdt.o 47b7e04f8cSWim Van Sebroeckobj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o 4880e45b1eSTimo Kokkonenobj-$(CONFIG_TWL4030_WATCHDOG) += twl4030_wdt.o 49b7e04f8cSWim Van Sebroeckobj-$(CONFIG_21285_WATCHDOG) += wdt285.o 50b7e04f8cSWim Van Sebroeckobj-$(CONFIG_977_WATCHDOG) += wdt977.o 51766a2aadSLinus Walleijobj-$(CONFIG_FTWDT010_WATCHDOG) += ftwdt010_wdt.o 52b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IXP4XX_WATCHDOG) += ixp4xx_wdt.o 53b7e04f8cSWim Van Sebroeckobj-$(CONFIG_S3C2410_WATCHDOG) += s3c2410_wdt.o 54b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SA1100_WATCHDOG) += sa1100_wdt.o 5576534860SWenyou Yangobj-$(CONFIG_SAMA5D4_WATCHDOG) += sama5d4_wdt.o 56c9353ae1SJamie Ilesobj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o 57b7e04f8cSWim Van Sebroeckobj-$(CONFIG_EP93XX_WATCHDOG) += ep93xx_wdt.o 58b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PNX4008_WATCHDOG) += pnx4008_wdt.o 59b7e04f8cSWim Van Sebroeckobj-$(CONFIG_DAVINCI_WATCHDOG) += davinci_wdt.o 602d63908bSTero Kristoobj-$(CONFIG_K3_RTI_WATCHDOG) += rti_wdt.o 613b937a7dSNicolas Pitreobj-$(CONFIG_ORION_WATCHDOG) += orion_wdt.o 62d00680edSCarlo Caioneobj-$(CONFIG_SUNXI_WATCHDOG) += sunxi_wdt.o 6322b1c841SBeniamino Galvaniobj-$(CONFIG_RN5T618_WATCHDOG) += rn5t618_wdt.o 64975b7f0fSJoel Stanleyobj-$(CONFIG_NPCM7XX_WATCHDOG) += npcm_wdt.o 65de6303abSWolfram Sangobj-$(CONFIG_STMP3XXX_RTC_WATCHDOG) += stmp3xxx_rtc_wdt.o 66bf900639SDamien Riegelobj-$(CONFIG_TS4800_WATCHDOG) += ts4800_wdt.o 67c90bf2aaSMika Westerbergobj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o 68bb2fd8a8SWolfram Sangobj-$(CONFIG_IMX2_WDT) += imx2_wdt.o 69986857acSAnson Huangobj-$(CONFIG_IMX_SC_WDT) += imx_sc_wdt.o 7041b630f4SAnson Huangobj-$(CONFIG_IMX7ULP_WDT) += imx7ulp_wdt.o 71d0305aacSLinus Walleijobj-$(CONFIG_DB500_WATCHDOG) += db8500_wdt.o 723d3a6d18SAaro Koskinenobj-$(CONFIG_RETU_WATCHDOG) += retu_wdt.o 73938d0a84SLubomir Rintelobj-$(CONFIG_BCM2835_WDT) += bcm2835_wdt.o 74e14538e0SJonas Jensenobj-$(CONFIG_MOXART_WDT) += moxart_wdt.o 75f27925a6SLee Jonesobj-$(CONFIG_ST_LPC_WATCHDOG) += st_lpc_wdt.o 761094ebe9SJosh Cartwrightobj-$(CONFIG_QCOM_WDT) += qcom-wdt.o 776adb730dSMarkus Mayerobj-$(CONFIG_BCM_KONA_WDT) += bcm_kona_wdt.o 78c33a1597SAndrew Chewobj-$(CONFIG_TEGRA_WATCHDOG) += tegra_wdt.o 79683fa50fSNeil Armstrongobj-$(CONFIG_MESON_GXBB_WATCHDOG) += meson_gxbb_wdt.o 8022e1b8f6SCarlo Caioneobj-$(CONFIG_MESON_WATCHDOG) += meson_wdt.o 81a44a4553SMatthias Bruggerobj-$(CONFIG_MEDIATEK_WATCHDOG) += mtk_wdt.o 82336694a0SBaruch Siachobj-$(CONFIG_DIGICOLOR_WATCHDOG) += digicolor_wdt.o 837c25f8c9SAriel D'Alessandroobj-$(CONFIG_LPC18XX_WATCHDOG) += lpc18xx_wdt.o 847a3629feSJustin Chenobj-$(CONFIG_BCM7038_WDT) += bcm7038_wdt.o 85bd99b68eSWolfram Sangobj-$(CONFIG_RENESAS_WDT) += renesas_wdt.o 86aea24187SChris Brandtobj-$(CONFIG_RENESAS_RZAWDT) += rza_wdt.o 87efa859f7SJoel Stanleyobj-$(CONFIG_ASPEED_WATCHDOG) += aspeed_wdt.o 884332d113SYannick Fertreobj-$(CONFIG_STM32_WATCHDOG) += stm32_iwdg.o 89e7bf0289SKeiji Hayashibaraobj-$(CONFIG_UNIPHIER_WATCHDOG) += uniphier_wdt.o 902bdf6acbSAndreas Färberobj-$(CONFIG_RTD119X_WATCHDOG) += rtd119x_wdt.o 9147760346SEric Longobj-$(CONFIG_SPRD_WATCHDOG) += sprd_wdt.o 92969c0accSLoic Poulainobj-$(CONFIG_PM8916_WATCHDOG) += pm8916_wdt.o 9372a9e7feSJulius Wernerobj-$(CONFIG_ARM_SMC_WATCHDOG) += arm_smc_wdt.o 94c5b8e464SNobuhiro Iwamatsuobj-$(CONFIG_VISCONTI_WATCHDOG) += visconti_wdt.o 95e9800b79SDaniel Palmerobj-$(CONFIG_MSC313E_WATCHDOG) += msc313e_wdt.o 96b7e04f8cSWim Van Sebroeck 97b7e04f8cSWim Van Sebroeck# X86 (i386 + ia64 + x86_64) Architecture 98b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o 99b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o 100b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ALIM1535_WDT) += alim1535_wdt.o 101b7e04f8cSWim Van Sebroeckobj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o 102c36a483dSWilliam Breathitt Grayobj-$(CONFIG_EBC_C384_WDT) += ebc-c384_wdt.o 10396cb4eb0SGiel van Schijndelobj-$(CONFIG_F71808E_WDT) += f71808e_wdt.o 10415e28bf1SPriyanka Guptaobj-$(CONFIG_SP5100_TCO) += sp5100_tco.o 1050b36086bSJordan Crouseobj-$(CONFIG_GEODE_WDT) += geodewdt.o 106b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SC520_WDT) += sc520_wdt.o 1073a5f9000SDenis Turischevobj-$(CONFIG_SBC_FITPC2_WATCHDOG) += sbc_fitpc2_wdt.o 108b7e04f8cSWim Van Sebroeckobj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o 109b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IB700_WDT) += ib700wdt.o 110b7e04f8cSWim Van Sebroeckobj-$(CONFIG_IBMASR) += ibmasr.o 111b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o 112b7e04f8cSWim Van Sebroeckobj-$(CONFIG_I6300ESB_WDT) += i6300esb.o 113101ce87bSAlexander Steinobj-$(CONFIG_IE6XX_WDT) += ie6xx_wdt.o 114d6efcab8SJean Delvareobj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o 115d6efcab8SJean Delvareifeq ($(CONFIG_ITCO_VENDOR_SUPPORT),y) 116d6efcab8SJean Delvareobj-$(CONFIG_ITCO_WDT) += iTCO_vendor_support.o 117d6efcab8SJean Delvareendif 11838ff6fd2SJorge Boncompte [DTI2]obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o 119e1fee94fSOliver Schusterobj-$(CONFIG_IT87_WDT) += it87_wdt.o 1207f4da474SThomas Mingarelliobj-$(CONFIG_HP_WATCHDOG) += hpwdt.o 121e51c288eSKevin Strasserobj-$(CONFIG_KEMPLD_WDT) += kempld_wdt.o 122b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SC1200_WDT) += sc1200wdt.o 123b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SCx200_WDT) += scx200_wdt.o 124b7e04f8cSWim Van Sebroeckobj-$(CONFIG_PC87413_WDT) += pc87413_wdt.o 125456c7301SMike Waychisonobj-$(CONFIG_NV_TCO) += nv_tco.o 126b3e8f2c1SFlorian Fainelliobj-$(CONFIG_RDC321X_WDT) += rdc321x_wdt.o 127b7e04f8cSWim Van Sebroeckobj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o 128b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SBC8360_WDT) += sbc8360.o 129c4c28335SGilles Giganobj-$(CONFIG_SBC7240_WDT) += sbc7240_wdt.o 130b7e04f8cSWim Van Sebroeckobj-$(CONFIG_CPU5_WDT) += cpu5wdt.o 1314c6e63bdSWim Van Sebroeckobj-$(CONFIG_SMSC_SCH311X_WDT) += sch311x_wdt.o 132b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SMSC37B787_WDT) += smsc37b787_wdt.o 133e3c21e08SAndrew Lunnobj-$(CONFIG_TQMX86_WDT) += tqmx86_wdt.o 134dc3c56b7SMarc Vertesobj-$(CONFIG_VIA_WDT) += via_wdt.o 135b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o 136b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o 137b7e04f8cSWim Van Sebroeckobj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o 138b7e04f8cSWim Van Sebroeckobj-$(CONFIG_MACHZ_WDT) += machzwd.o 139b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc_epx_c3.o 14087a1ef80SDavid Cohenobj-$(CONFIG_INTEL_MID_WATCHDOG) += intel-mid_wdt.o 141222818c3STomas Winklerobj-$(CONFIG_INTEL_MEI_WDT) += mei_wdt.o 14270f39976SKyle Roeschleyobj-$(CONFIG_NI903X_WDT) += ni903x_wdt.o 14398078ca3SHui Chun Ongobj-$(CONFIG_NIC7018_WDT) += nic7018_wdt.o 144c60923ddSMichael Shychobj-$(CONFIG_MLX_WDT) += mlx_wdt.o 145fa0f8d51SVijayakannan Ayyathuraiobj-$(CONFIG_KEEMBAY_WATCHDOG) += keembay_wdt.o 146*2ebd32ceSHenning Schildobj-$(CONFIG_SIEMENS_SIMATIC_IPC_WDT) += simatic-ipc-wdt.o 147b7e04f8cSWim Van Sebroeck 148b7e04f8cSWim Van Sebroeck# M68K Architecture 1494157a04dSPhilippe De Muyterobj-$(CONFIG_M54xx_WATCHDOG) += m54xx_wdt.o 150b7e04f8cSWim Van Sebroeck 151e9659e69SAlejandro Cabrera# MicroBlaze Architecture 152e9659e69SAlejandro Cabreraobj-$(CONFIG_XILINX_WATCHDOG) += of_xilinx_wdt.o 153e9659e69SAlejandro Cabrera 154b7e04f8cSWim Van Sebroeck# MIPS Architecture 155f8394f61SGabor Juhosobj-$(CONFIG_ATH79_WDT) += ath79_wdt.o 15690074dceSmatthieu castetobj-$(CONFIG_BCM47XX_WDT) += bcm47xx_wdt.o 157b63aa731SFlorian Fainelliobj-$(CONFIG_BCM63XX_WDT) += bcm63xx_wdt.o 15803ec5856SFlorian Fainelliobj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o 159b7e04f8cSWim Van Sebroeckobj-$(CONFIG_INDYDOG) += indydog.o 160f865c352SPaul Cercueilobj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o 161b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o 16275c752e6SAndrew Sharpobj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o 163c283cf2cSMatteo Croceobj-$(CONFIG_AR7_WDT) += ar7_wdt.o 1646f702fceSAtsushi Nemotoobj-$(CONFIG_TXX9_WDT) += txx9wdt.o 1654c076fb4SDavid Daneyobj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o 1664c076fb4SDavid Daneyocteon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o 1672f58b8d0SJohn Crispinobj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o 1681d8565eeSYang Lingobj-$(CONFIG_LOONGSON1_WDT) += loongson1_wdt.o 169473cf939SJohn Crispinobj-$(CONFIG_RALINK_WDT) += rt2880_wdt.o 17093937669SNaidu Tellapatiobj-$(CONFIG_IMGPDC_WDT) += imgpdc_wdt.o 171ab3f09feSJohn Crispinobj-$(CONFIG_MT7621_WDT) += mt7621_wdt.o 1728f91fc56SJoshua Hendersonobj-$(CONFIG_PIC32_WDT) += pic32-wdt.o 173b0d8a082SPurna Chandra Mandalobj-$(CONFIG_PIC32_DMT) += pic32-dmt.o 174b7e04f8cSWim Van Sebroeck 175b7e04f8cSWim Van Sebroeck# PARISC Architecture 176b7e04f8cSWim Van Sebroeck 177b7e04f8cSWim Van Sebroeck# POWERPC Architecture 1783268b561SMartyn Welchobj-$(CONFIG_GEF_WDT) += gef_wdt.o 17928acd02fSAnton Vorontsovobj-$(CONFIG_8xxx_WDT) += mpc8xxx_wdt.o 180618efba9SSean MacLennanobj-$(CONFIG_PIKA_WDT) += pika_wdt.o 181b7e04f8cSWim Van Sebroeckobj-$(CONFIG_BOOKE_WDT) += booke_wdt.o 18226c57ef1SJohannes Thumshirnobj-$(CONFIG_MEN_A21_WDT) += mena21_wdt.o 183b7e04f8cSWim Van Sebroeck 184b7e04f8cSWim Van Sebroeck# PPC64 Architecture 185b7e04f8cSWim Van Sebroeckobj-$(CONFIG_WATCHDOG_RTAS) += wdrtas.o 186b7e04f8cSWim Van Sebroeck 187b7e04f8cSWim Van Sebroeck# S390 Architecture 188f7a94db4SPhilipp Hachtmannobj-$(CONFIG_DIAG288_WATCHDOG) += diag288_wdt.o 189b7e04f8cSWim Van Sebroeck 190b7e04f8cSWim Van Sebroeck# SUPERH (sh + sh64) Architecture 191b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SH_WDT) += shwdt.o 192b7e04f8cSWim Van Sebroeck 193b7e04f8cSWim Van Sebroeck# SPARC Architecture 194b7e04f8cSWim Van Sebroeck 195b7e04f8cSWim Van Sebroeck# SPARC64 Architecture 196b7e04f8cSWim Van Sebroeck 197957183f3SDavid S. Millerobj-$(CONFIG_WATCHDOG_RIO) += riowd.o 1988ab0dc33SDavid S. Millerobj-$(CONFIG_WATCHDOG_CP1XXX) += cpwd.o 199ca0bb079Swim.coekaerts@oracle.comobj-$(CONFIG_WATCHDOG_SUN4V) += sun4v_wdt.o 200957183f3SDavid S. Miller 201b7e04f8cSWim Van Sebroeck# XTENSA Architecture 202b7e04f8cSWim Van Sebroeck 203066d6c7fSJan Beulich# Xen 204066d6c7fSJan Beulichobj-$(CONFIG_XEN_WDT) += xen_wdt.o 205066d6c7fSJan Beulich 20625985edcSLucas De Marchi# Architecture Independent 207b237bcacSMatti Vaittinenobj-$(CONFIG_BD957XMUF_WATCHDOG) += bd9576_wdt.o 208664a0d78SAshish Jangamobj-$(CONFIG_DA9052_WATCHDOG) += da9052_wdt.o 209312b00e1SAshish Jangamobj-$(CONFIG_DA9055_WATCHDOG) += da9055_wdt.o 2107a7cb009SS Twissobj-$(CONFIG_DA9062_WATCHDOG) += da9062_wdt.o 2115e9c16e3SKrystian Garbaciakobj-$(CONFIG_DA9063_WATCHDOG) += da9063_wdt.o 21225134eafSAlexander Shiyanobj-$(CONFIG_GPIO_WATCHDOG) += gpio_wdt.o 213058dfc76SMika Westerbergobj-$(CONFIG_WDAT_WDT) += wdat_wdt.o 214502a0106SMark Brownobj-$(CONFIG_WM831X_WATCHDOG) += wm831x_wdt.o 215006948baSMark Brownobj-$(CONFIG_WM8350_WATCHDOG) += wm8350_wdt.o 21666aaa7a5SMarc Zyngierobj-$(CONFIG_MAX63XX_WATCHDOG) += max63xx_wdt.o 217ff3bb2f5SLaxman Dewanganobj-$(CONFIG_MAX77620_WATCHDOG) += max77620_wdt.o 2182a7b753aSMartyn Welchobj-$(CONFIG_ZIIRAVE_WATCHDOG) += ziirave_wdt.o 219b7e04f8cSWim Van Sebroeckobj-$(CONFIG_SOFT_WATCHDOG) += softdog.o 22050332639SAndreas Wernerobj-$(CONFIG_MENF21BMC_WATCHDOG) += menf21bmc_wdt.o 22181ceed41SJohannes Thumshirnobj-$(CONFIG_MENZ069_WATCHDOG) += menz69_wdt.o 222c3bb3334SAndrey Smirnovobj-$(CONFIG_RAVE_SP_WATCHDOG) += rave-sp-wdt.o 22328804c2cSPascal PAILLET-LMEobj-$(CONFIG_STPMIC1_WATCHDOG) += stpmic1_wdt.o 22485174ca6SMichael Walleobj-$(CONFIG_SL28CPLD_WATCHDOG) += sl28cpld_wdt.o 225