@@ -307,7 +307,7 @@ config XILINX_WATCHDOG
307307config XILINX_WINDOW_WATCHDOG
308308 tristate "Xilinx window watchdog timer"
309309 depends on HAS_IOMEM
310- depends on ARM64
310+ depends on ARM64 || COMPILE_TEST
311311 select WATCHDOG_CORE
312312 help
313313 Window watchdog driver for the versal_wwdt IP core.
@@ -343,7 +343,7 @@ config RAVE_SP_WATCHDOG
343343
344344config MLX_WDT
345345 tristate "Mellanox Watchdog"
346- depends on MELLANOX_PLATFORM
346+ depends on MELLANOX_PLATFORM || COMPILE_TEST
347347 select WATCHDOG_CORE
348348 select REGMAP
349349 help
@@ -493,7 +493,7 @@ config FTWDT010_WATCHDOG
493493
494494config IXP4XX_WATCHDOG
495495 tristate "IXP4xx Watchdog"
496- depends on ARCH_IXP4XX
496+ depends on ARCH_IXP4XX || (ARM && COMPILE_TEST)
497497 select WATCHDOG_CORE
498498 help
499499 Say Y here if to include support for the watchdog timer
@@ -529,7 +529,7 @@ config S3C2410_WATCHDOG
529529
530530config SA1100_WATCHDOG
531531 tristate "SA1100/PXA2xx watchdog"
532- depends on ARCH_SA1100 || ARCH_PXA
532+ depends on ARCH_SA1100 || ARCH_PXA || COMPILE_TEST
533533 help
534534 Watchdog timer embedded into SA11x0 and PXA2xx chips. This will
535535 reboot your system when timeout is reached.
@@ -720,7 +720,7 @@ config IMX2_WDT
720720config IMX_SC_WDT
721721 tristate "IMX SC Watchdog"
722722 depends on HAVE_ARM_SMCCC
723- depends on IMX_SCU
723+ depends on IMX_SCU || COMPILE_TEST
724724 select WATCHDOG_CORE
725725 help
726726 This is the driver for the system controller watchdog
@@ -931,7 +931,7 @@ config ASPEED_WATCHDOG
931931
932932config STM32_WATCHDOG
933933 tristate "STM32 Independent WatchDoG (IWDG) support"
934- depends on ARCH_STM32
934+ depends on ARCH_STM32 || COMPILE_TEST
935935 select WATCHDOG_CORE
936936 default y
937937 help
@@ -1065,7 +1065,7 @@ config ACQUIRE_WDT
10651065
10661066config ADVANTECH_WDT
10671067 tristate "Advantech SBC Watchdog Timer"
1068- depends on X86
1068+ depends on X86 || COMPILE_TEST
10691069 help
10701070 If you are configuring a Linux kernel for the Advantech single-board
10711071 computer, say `Y' here to support its built-in watchdog timer
@@ -1074,7 +1074,7 @@ config ADVANTECH_WDT
10741074
10751075config ADVANTECH_EC_WDT
10761076 tristate "Advantech Embedded Controller Watchdog Timer"
1077- depends on X86
1077+ depends on X86 || COMPILE_TEST
10781078 select ISA_BUS_API
10791079 select WATCHDOG_CORE
10801080 help
@@ -1083,7 +1083,7 @@ config ADVANTECH_EC_WDT
10831083
10841084config ALIM1535_WDT
10851085 tristate "ALi M1535 PMU Watchdog Timer"
1086- depends on X86 && PCI
1086+ depends on ( X86 || COMPILE_TEST) && PCI
10871087 help
10881088 This is the driver for the hardware watchdog on the ALi M1535 PMU.
10891089
@@ -1107,7 +1107,7 @@ config ALIM7101_WDT
11071107
11081108config EBC_C384_WDT
11091109 tristate "WinSystems EBC-C384 Watchdog Timer"
1110- depends on X86
1110+ depends on X86 || COMPILE_TEST
11111111 select ISA_BUS_API
11121112 select WATCHDOG_CORE
11131113 help
@@ -1117,7 +1117,7 @@ config EBC_C384_WDT
11171117
11181118config EXAR_WDT
11191119 tristate "Exar Watchdog Timer"
1120- depends on X86
1120+ depends on X86 || COMPILE_TEST
11211121 select WATCHDOG_CORE
11221122 help
11231123 Enables watchdog timer support for the watchdog timer present
@@ -1128,7 +1128,7 @@ config EXAR_WDT
11281128
11291129config F71808E_WDT
11301130 tristate "Fintek F718xx, F818xx Super I/O Watchdog"
1131- depends on X86
1131+ depends on X86 || COMPILE_TEST
11321132 select WATCHDOG_CORE
11331133 help
11341134 This is the driver for the hardware watchdog on the Fintek F71808E,
@@ -1140,7 +1140,7 @@ config F71808E_WDT
11401140
11411141config SP5100_TCO
11421142 tristate "AMD/ATI SP5100 TCO Timer/Watchdog"
1143- depends on X86 && PCI
1143+ depends on ( X86 || COMPILE_TEST) && PCI
11441144 select WATCHDOG_CORE
11451145 help
11461146 Hardware watchdog driver for the AMD/ATI SP5100 chipset. The TCO
@@ -1179,7 +1179,7 @@ config SC520_WDT
11791179
11801180config SBC_FITPC2_WATCHDOG
11811181 tristate "Compulab SBC-FITPC2 watchdog"
1182- depends on X86
1182+ depends on X86 || COMPILE_TEST
11831183 help
11841184 This is the driver for the built-in watchdog timer on the fit-PC2,
11851185 fit-PC2i, CM-iAM single-board computers made by Compulab.
@@ -1204,15 +1204,15 @@ config SBC_FITPC2_WATCHDOG
12041204
12051205config EUROTECH_WDT
12061206 tristate "Eurotech CPU-1220/1410 Watchdog Timer"
1207- depends on X86
1207+ depends on X86 || COMPILE_TEST
12081208 help
12091209 Enable support for the watchdog timer on the Eurotech CPU-1220 and
12101210 CPU-1410 cards. These are PC/104 SBCs. Spec sheets and product
12111211 information are at <http://www.eurotech.it/>.
12121212
12131213config IB700_WDT
12141214 tristate "IB700 SBC Watchdog Timer"
1215- depends on X86
1215+ depends on X86 || COMPILE_TEST
12161216 help
12171217 This is the driver for the hardware watchdog on the IB700 Single
12181218 Board Computer produced by TMC Technology (www.tmc-uk.com). This
@@ -1229,7 +1229,7 @@ config IB700_WDT
12291229
12301230config IBMASR
12311231 tristate "IBM Automatic Server Restart"
1232- depends on X86
1232+ depends on X86 || COMPILE_TEST
12331233 help
12341234 This is the driver for the IBM Automatic Server Restart watchdog
12351235 timer built-in into some eServer xSeries machines.
@@ -1239,7 +1239,7 @@ config IBMASR
12391239
12401240config WAFER_WDT
12411241 tristate "ICP Single Board Computer Watchdog Timer"
1242- depends on X86
1242+ depends on X86 || COMPILE_TEST
12431243 help
12441244 This is a driver for the hardware watchdog on the ICP Single
12451245 Board Computer. This driver is working on (at least) the following
@@ -1261,7 +1261,7 @@ config I6300ESB_WDT
12611261
12621262config IE6XX_WDT
12631263 tristate "Intel Atom E6xx Watchdog"
1264- depends on X86 && PCI
1264+ depends on ( X86 || COMPILE_TEST) && PCI
12651265 select WATCHDOG_CORE
12661266 select MFD_CORE
12671267 select LPC_SCH
@@ -1321,7 +1321,7 @@ config ITCO_VENDOR_SUPPORT
13211321
13221322config IT8712F_WDT
13231323 tristate "IT8712F (Smart Guardian) Watchdog Timer"
1324- depends on X86
1324+ depends on X86 || COMPILE_TEST
13251325 help
13261326 This is the driver for the built-in watchdog timer on the IT8712F
13271327 Super I/0 chipset used on many motherboards.
@@ -1334,7 +1334,7 @@ config IT8712F_WDT
13341334
13351335config IT87_WDT
13361336 tristate "IT87 Watchdog Timer"
1337- depends on X86
1337+ depends on X86 || COMPILE_TEST
13381338 select WATCHDOG_CORE
13391339 help
13401340 This is the driver for the hardware watchdog on the ITE IT8607,
@@ -1352,7 +1352,7 @@ config IT87_WDT
13521352config HP_WATCHDOG
13531353 tristate "HP ProLiant iLO2+ Hardware Watchdog Timer"
13541354 select WATCHDOG_CORE
1355- depends on (ARM64 || X86) && PCI
1355+ depends on (ARM64 || X86 || COMPILE_TEST ) && PCI
13561356 help
13571357 A software monitoring watchdog and NMI handling driver. This driver
13581358 will detect lockups and provide a stack trace. This is a driver that
@@ -1382,7 +1382,7 @@ config KEMPLD_WDT
13821382
13831383config SC1200_WDT
13841384 tristate "National Semiconductor PC87307/PC97307 (ala SC1200) Watchdog"
1385- depends on X86
1385+ depends on X86 || COMPILE_TEST
13861386 help
13871387 This is a driver for National Semiconductor PC87307/PC97307 hardware
13881388 watchdog cards as found on the SC1200. This watchdog is mainly used
@@ -1405,7 +1405,7 @@ config SCx200_WDT
14051405
14061406config PC87413_WDT
14071407 tristate "NS PC87413 watchdog"
1408- depends on X86
1408+ depends on X86 || COMPILE_TEST
14091409 help
14101410 This is the driver for the hardware watchdog on the PC87413 chipset
14111411 This watchdog simply watches your kernel to make sure it doesn't
@@ -1419,7 +1419,7 @@ config PC87413_WDT
14191419
14201420config NV_TCO
14211421 tristate "nVidia TCO Timer/Watchdog"
1422- depends on X86 && PCI
1422+ depends on ( X86 || COMPILE_TEST) && PCI
14231423 help
14241424 Hardware driver for the TCO timer built into the nVidia Hub family
14251425 (such as the MCP51). The TCO (Total Cost of Ownership) timer is a
@@ -1448,7 +1448,7 @@ config RDC321X_WDT
14481448
14491449config 60XX_WDT
14501450 tristate "SBC-60XX Watchdog Timer"
1451- depends on X86
1451+ depends on X86 || COMPILE_TEST
14521452 help
14531453 This driver can be used with the watchdog timer found on some
14541454 single board computers, namely the 6010 PII based computer.
@@ -1488,15 +1488,15 @@ config SBC7240_WDT
14881488
14891489config CPU5_WDT
14901490 tristate "SMA CPU5 Watchdog"
1491- depends on X86
1491+ depends on X86 || COMPILE_TEST
14921492 help
14931493 TBD.
14941494 To compile this driver as a module, choose M here: the
14951495 module will be called cpu5wdt.
14961496
14971497config SMSC_SCH311X_WDT
14981498 tristate "SMSC SCH311X Watchdog Timer"
1499- depends on X86
1499+ depends on X86 || COMPILE_TEST
15001500 help
15011501 This is the driver for the hardware watchdog timer on the
15021502 SMSC SCH3112, SCH3114 and SCH3116 Super IO chipset
@@ -1508,7 +1508,7 @@ config SMSC_SCH311X_WDT
15081508
15091509config SMSC37B787_WDT
15101510 tristate "Winbond SMsC37B787 Watchdog Timer"
1511- depends on X86
1511+ depends on X86 || COMPILE_TEST
15121512 help
15131513 This is the driver for the hardware watchdog component on the
15141514 Winbond SMsC37B787 chipset as used on the NetRunner Mainboard
@@ -1528,7 +1528,7 @@ config SMSC37B787_WDT
15281528
15291529config TQMX86_WDT
15301530 tristate "TQ-Systems TQMX86 Watchdog Timer"
1531- depends on X86
1531+ depends on X86 || COMPILE_TEST
15321532 select WATCHDOG_CORE
15331533 help
15341534 This is the driver for the hardware watchdog timer in the TQMX86 IO
@@ -1541,7 +1541,7 @@ config TQMX86_WDT
15411541
15421542config VIA_WDT
15431543 tristate "VIA Watchdog Timer"
1544- depends on X86 && PCI
1544+ depends on ( X86 || COMPILE_TEST) && PCI
15451545 select WATCHDOG_CORE
15461546 help
15471547 This is the driver for the hardware watchdog timer on VIA
@@ -1554,7 +1554,7 @@ config VIA_WDT
15541554
15551555config W83627HF_WDT
15561556 tristate "Watchdog timer for W83627HF/W83627DHG and compatibles"
1557- depends on X86
1557+ depends on X86 || COMPILE_TEST
15581558 select WATCHDOG_CORE
15591559 help
15601560 This is the driver for the hardware watchdog on the following
@@ -1584,7 +1584,7 @@ config W83627HF_WDT
15841584
15851585config W83877F_WDT
15861586 tristate "W83877F (EMACS) Watchdog Timer"
1587- depends on X86
1587+ depends on X86 || COMPILE_TEST
15881588 help
15891589 This is the driver for the hardware watchdog on the W83877F chipset
15901590 as used in EMACS PC-104 motherboards (and likely others). This
@@ -1599,7 +1599,7 @@ config W83877F_WDT
15991599
16001600config W83977F_WDT
16011601 tristate "W83977F (PCM-5335) Watchdog Timer"
1602- depends on X86
1602+ depends on X86 || COMPILE_TEST
16031603 help
16041604 This is the driver for the hardware watchdog on the W83977F I/O chip
16051605 as used in AAEON's PCM-5335 SBC (and likely others). This
@@ -1612,7 +1612,7 @@ config W83977F_WDT
16121612
16131613config MACHZ_WDT
16141614 tristate "ZF MachZ Watchdog"
1615- depends on X86
1615+ depends on X86 || COMPILE_TEST
16161616 help
16171617 If you are using a ZF Micro MachZ processor, say Y here, otherwise
16181618 N. This is the driver for the watchdog timer built-in on that
@@ -1625,7 +1625,7 @@ config MACHZ_WDT
16251625
16261626config SBC_EPX_C3_WATCHDOG
16271627 tristate "Winsystems SBC EPX-C3 watchdog"
1628- depends on X86
1628+ depends on X86 || COMPILE_TEST
16291629 help
16301630 This is the driver for the built-in watchdog timer on the EPX-C3
16311631 Single-board computer made by Winsystems, Inc.
@@ -1740,7 +1740,7 @@ config INDYDOG
17401740
17411741config JZ4740_WDT
17421742 tristate "Ingenic jz4740 SoC hardware watchdog"
1743- depends on MIPS
1743+ depends on MIPS || COMPILE_TEST
17441744 depends on COMMON_CLK
17451745 select WATCHDOG_CORE
17461746 select MFD_SYSCON
@@ -1837,7 +1837,7 @@ config BCM_KONA_WDT
18371837
18381838config BCM_KONA_WDT_DEBUG
18391839 bool "DEBUGFS support for BCM Kona Watchdog"
1840- depends on BCM_KONA_WDT
1840+ depends on BCM_KONA_WDT || COMPILE_TEST
18411841 help
18421842 If enabled, adds /sys/kernel/debug/bcm_kona_wdt/info which provides
18431843 access to the driver's internal data structures as well as watchdog
@@ -1878,7 +1878,7 @@ config LANTIQ_WDT
18781878
18791879config LOONGSON1_WDT
18801880 tristate "Loongson1 SoC hardware watchdog"
1881- depends on MACH_LOONGSON32
1881+ depends on MACH_LOONGSON32 || COMPILE_TEST
18821882 select WATCHDOG_CORE
18831883 help
18841884 Hardware driver for the Loongson1 SoC Watchdog Timer.
@@ -1892,7 +1892,7 @@ config RALINK_WDT
18921892
18931893config GXP_WATCHDOG
18941894 tristate "HPE GXP watchdog support"
1895- depends on ARCH_HPE_GXP
1895+ depends on ARCH_HPE_GXP || COMPILE_TEST
18961896 select WATCHDOG_CORE
18971897 help
18981898 Say Y here to include support for the watchdog timer
0 commit comments