From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:43:03 +0000 Subject: [PATCH] add ax88772C AX88772C_eeprom_tools --- kernel/drivers/watchdog/Kconfig | 420 ++++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 285 insertions(+), 135 deletions(-) diff --git a/kernel/drivers/watchdog/Kconfig b/kernel/drivers/watchdog/Kconfig index 92fdc7d..01ce3f4 100644 --- a/kernel/drivers/watchdog/Kconfig +++ b/kernel/drivers/watchdog/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Watchdog device configuration @@ -5,7 +6,7 @@ menuconfig WATCHDOG bool "Watchdog Timer Support" - ---help--- + help If you say Y here (and to one of the following options) and create a character special file /dev/watchdog with major number 10 and minor number 130 using mknod ("man mknod"), you will get a watchdog, i.e.: @@ -17,7 +18,7 @@ reboot the machine) and a driver for hardware watchdog boards, which are more robust and can also keep track of the temperature inside your computer. For details, read - <file:Documentation/watchdog/watchdog-api.txt> in the kernel source. + <file:Documentation/watchdog/watchdog-api.rst> in the kernel source. The watchdog is usually used together with the watchdog daemon which is available from @@ -30,8 +31,8 @@ if WATCHDOG config WATCHDOG_CORE - bool "WatchDog Timer Driver Core" - ---help--- + tristate "WatchDog Timer Driver Core" + help Say Y here if you want to use the new watchdog timer driver core. This driver provides a framework for all watchdog timer drivers and gives them the /dev/watchdog interface (and later also the @@ -57,11 +58,80 @@ the watchdog on its own. Thus if your userspace does not start fast enough your device will reboot. +config WATCHDOG_OPEN_TIMEOUT + int "Timeout value for opening watchdog device" + default 0 + help + The maximum time, in seconds, for which the watchdog framework takes + care of pinging a hardware watchdog. A value of 0 means infinite. The + value set here can be overridden by the commandline parameter + "watchdog.open_timeout". + config WATCHDOG_SYSFS bool "Read different watchdog information through sysfs" help Say Y here if you want to enable watchdog device status read through sysfs attributes. + +comment "Watchdog Pretimeout Governors" + +config WATCHDOG_PRETIMEOUT_GOV + bool "Enable watchdog pretimeout governors" + depends on WATCHDOG_CORE + help + The option allows to select watchdog pretimeout governors. + +config WATCHDOG_PRETIMEOUT_GOV_SEL + tristate + depends on WATCHDOG_PRETIMEOUT_GOV + default m + select WATCHDOG_PRETIMEOUT_GOV_PANIC if WATCHDOG_PRETIMEOUT_GOV_NOOP=n + +if WATCHDOG_PRETIMEOUT_GOV + +config WATCHDOG_PRETIMEOUT_GOV_NOOP + tristate "Noop watchdog pretimeout governor" + depends on WATCHDOG_CORE + default WATCHDOG_CORE + help + Noop watchdog pretimeout governor, only an informational + message is added to kernel log buffer. + +config WATCHDOG_PRETIMEOUT_GOV_PANIC + tristate "Panic watchdog pretimeout governor" + depends on WATCHDOG_CORE + default WATCHDOG_CORE + help + Panic watchdog pretimeout governor, on watchdog pretimeout + event put the kernel into panic. + +choice + prompt "Default Watchdog Pretimeout Governor" + default WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC + help + This option selects a default watchdog pretimeout governor. + The governor takes its action, if a watchdog is capable + to report a pretimeout event. + +config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP + bool "noop" + depends on WATCHDOG_PRETIMEOUT_GOV_NOOP + help + Use noop watchdog pretimeout governor by default. If noop + governor is selected by a user, write a short message to + the kernel log buffer and don't do any system changes. + +config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC + bool "panic" + depends on WATCHDOG_PRETIMEOUT_GOV_PANIC + help + Use panic watchdog pretimeout governor by default, if + a watchdog pretimeout event happens, consider that + a watchdog feeder is dead and reboot is unavoidable. + +endchoice + +endif # WATCHDOG_PRETIMEOUT_GOV # # General Watchdog drivers @@ -89,6 +159,18 @@ Enable this if you want to use pretimeout governors with the software watchdog. Be aware that governors might affect the watchdog because it is purely software, e.g. the panic governor will stall it! + +config BD70528_WATCHDOG + tristate "ROHM BD70528 PMIC Watchdog" + depends on MFD_ROHM_BD70528 + select WATCHDOG_CORE + help + Support for the watchdog in the ROHM BD70528 PMIC. Watchdog trigger + cause system reset. + + Say Y here to include support for the ROHM BD70528 watchdog. + Alternatively say M to compile the driver as a module, + which will be called bd70528_wdt. config DA9052_WATCHDOG tristate "Dialog DA9052 Watchdog" @@ -125,6 +207,7 @@ config DA9062_WATCHDOG tristate "Dialog DA9062/61 Watchdog" depends on MFD_DA9062 || COMPILE_TEST + depends on I2C select WATCHDOG_CORE help Support for the watchdog in the DA9062 and DA9061 PMICs. @@ -241,6 +324,33 @@ help Support for the watchdog on RAVE SP device. +config MLX_WDT + tristate "Mellanox Watchdog" + depends on MELLANOX_PLATFORM + select WATCHDOG_CORE + select REGMAP + help + This is the driver for the hardware watchdog on Mellanox systems. + If you are going to use it, say Y here, otherwise N. + This driver can be used together with the watchdog daemon. + It can also watch your kernel to make sure it doesn't freeze, + and if it does, it reboots your system after a certain amount of + time. + + To compile this driver as a module, choose M here: the + module will be called mlx-wdt. + +config SL28CPLD_WATCHDOG + tristate "Kontron sl28cpld Watchdog" + depends on MFD_SL28CPLD || COMPILE_TEST + select WATCHDOG_CORE + help + Say Y here to include support for the watchdog timer + on the Kontron sl28 CPLD. + + To compile this driver as a module, choose M here: the + module will be called sl28cpld_wdt. + # ALPHA Architecture # ARM Architecture @@ -272,6 +382,18 @@ To compile this driver as module, choose M here: The module will be called sbsa_gwdt. + +config ARMADA_37XX_WATCHDOG + tristate "Armada 37xx watchdog" + depends on ARCH_MVEBU || COMPILE_TEST + depends on HAS_IOMEM + select MFD_SYSCON + select WATCHDOG_CORE + help + Say Y here to include support for the watchdog timer found on + Marvell Armada 37xx SoCs. + To compile this driver as a module, choose M here: the + module will be called armada_37xx_wdt. config ASM9260_WATCHDOG tristate "Alphascale ASM9260 watchdog" @@ -368,23 +490,10 @@ Say N if you are unsure. -config KS8695_WATCHDOG - tristate "KS8695 watchdog" - depends on ARCH_KS8695 - help - Watchdog timer embedded into KS8695 processor. This will reboot your - system when the timeout is reached. - -config HAVE_S3C2410_WATCHDOG - bool - help - This will include watchdog timer support for Samsung SoCs. If - you want to include watchdog support for any machine, kindly - select this in the respective mach-XXXX/Kconfig file. - config S3C2410_WATCHDOG tristate "S3C2410 Watchdog" - depends on HAVE_S3C2410_WATCHDOG || COMPILE_TEST + depends on ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || \ + COMPILE_TEST select WATCHDOG_CORE select MFD_SYSCON if ARCH_EXYNOS help @@ -442,7 +551,7 @@ config PNX4008_WATCHDOG tristate "LPC32XX Watchdog" - depends on ARCH_LPC32XX + depends on ARCH_LPC32XX || COMPILE_TEST select WATCHDOG_CORE help Say Y here if to include support for the watchdog timer @@ -480,6 +589,14 @@ NOTE: once enabled, this timer cannot be disabled. Say N if you are unsure. + +config K3_RTI_WATCHDOG + tristate "Texas Instruments K3 RTI watchdog" + depends on ARCH_K3 || COMPILE_TEST + select WATCHDOG_CORE + help + Say Y here if you want to include support for the K3 watchdog + timer (RTI module) available in the K3 generation of processors. config ORION_WATCHDOG tristate "Orion watchdog" @@ -525,9 +642,9 @@ compiled as a module. config NPCM7XX_WATCHDOG - bool "Nuvoton NPCM750 watchdog" + tristate "Nuvoton NPCM750 watchdog" depends on ARCH_NPCM || COMPILE_TEST - default y if ARCH_NPCM750 + default y if ARCH_NPCM7XX select WATCHDOG_CORE help Say Y here to include Watchdog timer support for the @@ -553,15 +670,6 @@ To compile this driver as a module, choose M here: the module will be called stmp3xxx_rtc_wdt. -config NUC900_WATCHDOG - tristate "Nuvoton NUC900 watchdog" - depends on ARCH_W90X900 || COMPILE_TEST - help - Say Y here if to include support for the watchdog timer - for the Nuvoton NUC900 series SoCs. - To compile this driver as a module, choose M here: the - module will be called nuc900_wdt. - config TS4800_WATCHDOG tristate "TS-4800 Watchdog" depends on HAS_IOMEM && OF @@ -576,6 +684,7 @@ config TS72XX_WATCHDOG tristate "TS-72XX SBC Watchdog" depends on MACH_TS72XX || COMPILE_TEST + select WATCHDOG_CORE help Technologic Systems TS-7200, TS-7250 and TS-7260 boards have watchdog timer implemented in a external CPLD chip. Say Y here @@ -614,6 +723,36 @@ To compile this driver as a module, choose M here: the module will be called imx2_wdt. + +config IMX_SC_WDT + tristate "IMX SC Watchdog" + depends on HAVE_ARM_SMCCC + depends on IMX_SCU + select WATCHDOG_CORE + help + This is the driver for the system controller watchdog + on the NXP i.MX SoCs with system controller inside, the + watchdog driver will call ARM SMC API and trap into + ARM-Trusted-Firmware for operations, ARM-Trusted-Firmware + will request system controller to execute the operations. + If you have one of these processors and wish to have + watchdog support enabled, say Y, otherwise say N. + + To compile this driver as a module, choose M here: the + module will be called imx_sc_wdt. + +config IMX7ULP_WDT + tristate "IMX7ULP Watchdog" + depends on ARCH_MXC || COMPILE_TEST + select WATCHDOG_CORE + help + This is the driver for the hardware watchdog on the Freescale + IMX7ULP and later processors. If you have one of these + processors and wish to have watchdog support enabled, + say Y, otherwise say N. + + To compile this driver as a module, choose M here: the + module will be called imx7ulp_wdt. config UX500_WATCHDOG tristate "ST-Ericsson Ux500 watchdog" @@ -719,6 +858,7 @@ tristate "Mediatek SoCs watchdog support" depends on ARCH_MEDIATEK || COMPILE_TEST select WATCHDOG_CORE + select RESET_CONTROLLER help Say Y here to include support for the watchdog timer in Mediatek SoCs. @@ -734,6 +874,19 @@ in Conexant Digicolor SoCs. To compile this driver as a module, choose M here: the module will be called digicolor_wdt. + +config ARM_SMC_WATCHDOG + tristate "ARM Secure Monitor Call based watchdog support" + depends on ARM || ARM64 + depends on OF + depends on HAVE_ARM_SMCCC + select WATCHDOG_CORE + help + Say Y here to include support for a watchdog timer + implemented by the EL3 Secure Monitor on ARM platforms. + Requires firmware support. + To compile this driver as a module, choose M here: the + module will be called arm_smc_wdt. config LPC18XX_WATCHDOG tristate "LPC18xx/43xx Watchdog" @@ -808,6 +961,18 @@ To compile this driver as a module, choose M here: the module will be called stm32_iwdg. +config STPMIC1_WATCHDOG + tristate "STPMIC1 PMIC watchdog support" + depends on MFD_STPMIC1 + select WATCHDOG_CORE + help + Say Y here to include watchdog support embedded into STPMIC1 PMIC. + If the watchdog timer expires, stpmic1 will shut down all its power + supplies. + + To compile this driver as a module, choose M here: the + module will be called spmic1_wdt. + config UNIPHIER_WATCHDOG tristate "UniPhier watchdog support" depends on ARCH_UNIPHIER || COMPILE_TEST @@ -838,12 +1003,28 @@ Say Y here to include watchdog timer supported by Spreadtrum system. +config PM8916_WATCHDOG + tristate "QCOM PM8916 pmic watchdog" + depends on OF && MFD_SPMI_PMIC + select WATCHDOG_CORE + help + Say Y here to include support watchdog timer embedded into the + pm8916 module. + +config VISCONTI_WATCHDOG + tristate "Toshiba Visconti series watchdog support" + depends on ARCH_VISCONTI || COMPILE_TEST + select WATCHDOG_CORE + help + Say Y here to include support for the watchdog timer in Toshiba + Visconti SoCs. + # X86 (i386 + ia64 + x86_64) Architecture config ACQUIRE_WDT tristate "Acquire SBC Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the hardware watchdog on Single Board Computers produced by Acquire Inc (and others). This watchdog simply watches your kernel to make sure it doesn't freeze, and if @@ -861,12 +1042,12 @@ If you are configuring a Linux kernel for the Advantech single-board computer, say `Y' here to support its built-in watchdog timer feature. More information can be found at - <http://www.advantech.com.tw/products/> + <https://www.advantech.com.tw/products/> config ALIM1535_WDT tristate "ALi M1535 PMU Watchdog Timer" depends on X86 && PCI - ---help--- + help This is the driver for the hardware watchdog on the ALi M1535 PMU. To compile this driver as a module, choose M here: the @@ -902,8 +1083,8 @@ depends on X86 help This is the driver for the hardware watchdog on the Fintek F71808E, - F71862FG, F71868, F71869, F71882FG, F71889FG, F81865 and F81866 - Super I/O controllers. + F71862FG, F71868, F71869, F71882FG, F71889FG, F81803, F81865, and + F81866 Super I/O controllers. You can compile this driver directly into the kernel, or use it as a module. The module will be called f71808e_wdt. @@ -912,7 +1093,7 @@ tristate "AMD/ATI SP5100 TCO Timer/Watchdog" depends on X86 && PCI select WATCHDOG_CORE - ---help--- + help Hardware watchdog driver for the AMD/ATI SP5100 chipset. The TCO (Total Cost of Ownership) timer is a watchdog timer that will reboot the machine after its expiration. The expiration time can be @@ -950,7 +1131,7 @@ config SBC_FITPC2_WATCHDOG tristate "Compulab SBC-FITPC2 watchdog" depends on X86 - ---help--- + help This is the driver for the built-in watchdog timer on the fit-PC2, fit-PC2i, CM-iAM single-board computers made by Compulab. @@ -980,7 +1161,7 @@ config IB700_WDT tristate "IB700 SBC Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the hardware watchdog on the IB700 Single Board Computer produced by TMC Technology (www.tmc-uk.com). This watchdog simply watches your kernel to make sure it doesn't freeze, and if @@ -1018,7 +1199,7 @@ tristate "Intel 6300ESB Timer/Watchdog" depends on PCI select WATCHDOG_CORE - ---help--- + help Hardware driver for the watchdog timer built into the Intel 6300ESB controller hub. @@ -1031,7 +1212,7 @@ select WATCHDOG_CORE select MFD_CORE select LPC_SCH - ---help--- + help Hardware driver for the watchdog timer built into the Intel Atom E6XX (TunnelCreek) processor. @@ -1041,7 +1222,7 @@ config INTEL_SCU_WATCHDOG bool "Intel SCU Watchdog for Mobile Platforms" depends on X86_INTEL_MID - ---help--- + help Hardware driver for the watchdog time built into the Intel SCU for Intel Mobile Platforms. @@ -1051,7 +1232,7 @@ tristate "Intel MID Watchdog Timer" depends on X86_INTEL_MID select WATCHDOG_CORE - ---help--- + help Watchdog timer driver built into the Intel SCU for Intel MID Platforms. @@ -1065,9 +1246,10 @@ depends on (X86 || IA64) && PCI select WATCHDOG_CORE depends on I2C || I2C=n + depends on MFD_INTEL_PMC_BXT || !MFD_INTEL_PMC_BXT select LPC_ICH if !EXPERT select I2C_I801 if !EXPERT && I2C - ---help--- + help Hardware driver for the intel TCO timer based watchdog devices. These drivers are included in the Intel 82801 I/O Controller Hub family (from ICH0 up to ICH10) and in the Intel 63xxESB @@ -1088,7 +1270,7 @@ config ITCO_VENDOR_SUPPORT bool "Intel TCO Timer/Watchdog Specific Vendor Support" depends on ITCO_WDT - ---help--- + help Add vendor specific support to the intel TCO timer based watchdog devices. At this moment we only have additional support for some SuperMicro Inc. motherboards. @@ -1096,7 +1278,7 @@ config IT8712F_WDT tristate "IT8712F (Smart Guardian) Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the built-in watchdog timer on the IT8712F Super I/0 chipset used on many motherboards. @@ -1110,7 +1292,7 @@ tristate "IT87 Watchdog Timer" depends on X86 select WATCHDOG_CORE - ---help--- + help This is the driver for the hardware watchdog on the ITE IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686, IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728, and @@ -1128,11 +1310,20 @@ select WATCHDOG_CORE depends on X86 && PCI help - A software monitoring watchdog and NMI sourcing driver. This driver + A software monitoring watchdog and NMI handling driver. This driver will detect lockups and provide a stack trace. This is a driver that will only load on an HP ProLiant system with a minimum of iLO2 support. To compile this driver as a module, choose M here: the module will be called hpwdt. + +config HPWDT_NMI_DECODING + bool "NMI support for the HP ProLiant iLO2+ Hardware Watchdog Timer" + depends on HP_WATCHDOG + default y + help + Enables the NMI handler for the watchdog pretimeout NMI and the iLO + "Generate NMI to System" virtual button. When an NMI is claimed + by the driver, panic is called. config KEMPLD_WDT tristate "Kontron COM Watchdog Timer" @@ -1144,14 +1335,6 @@ This driver can also be built as a module. If so, the module will be called kempld_wdt. - -config HPWDT_NMI_DECODING - bool "NMI decoding support for the HP ProLiant iLO2+ Hardware Watchdog Timer" - depends on HP_WATCHDOG - default y - help - When an NMI occurs this feature will make the necessary BIOS calls to - log the cause of the NMI. config SC1200_WDT tristate "National Semiconductor PC87307/PC97307 (ala SC1200) Watchdog" @@ -1179,7 +1362,7 @@ config PC87413_WDT tristate "NS PC87413 watchdog" depends on X86 - ---help--- + help This is the driver for the hardware watchdog on the PC87413 chipset This watchdog simply watches your kernel to make sure it doesn't freeze, and if it does, it reboots your computer after a certain @@ -1193,7 +1376,7 @@ config NV_TCO tristate "nVidia TCO Timer/Watchdog" depends on X86 && PCI - ---help--- + help Hardware driver for the TCO timer built into the nVidia Hub family (such as the MCP51). The TCO (Total Cost of Ownership) timer is a watchdog timer that will reboot the machine after its second @@ -1236,7 +1419,7 @@ config SBC8360_WDT tristate "SBC8360 Watchdog Timer" depends on X86_32 - ---help--- + help This is the driver for the hardware watchdog on the SBC8360 Single Board Computer produced by Axiomtek Co., Ltd. (www.axiomtek.com). @@ -1249,7 +1432,7 @@ config SBC7240_WDT tristate "SBC Nano 7240 Watchdog Timer" depends on X86_32 && !UML - ---help--- + help This is the driver for the hardware watchdog found on the IEI single board computers EPIC Nano 7240 (and likely others). This watchdog simply watches your kernel to make sure it doesn't freeze, @@ -1262,7 +1445,7 @@ config CPU5_WDT tristate "SMA CPU5 Watchdog" depends on X86 - ---help--- + help TBD. To compile this driver as a module, choose M here: the module will be called cpu5wdt. @@ -1270,7 +1453,7 @@ config SMSC_SCH311X_WDT tristate "SMSC SCH311X Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the hardware watchdog timer on the SMSC SCH3112, SCH3114 and SCH3116 Super IO chipset (LPC IO with 8042 KBC, Reset Generation, HWM and multiple @@ -1282,7 +1465,7 @@ config SMSC37B787_WDT tristate "Winbond SMsC37B787 Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the hardware watchdog component on the Winbond SMsC37B787 chipset as used on the NetRunner Mainboard from Vision Systems and maybe others. @@ -1299,11 +1482,24 @@ Most people will say N. +config TQMX86_WDT + tristate "TQ-Systems TQMX86 Watchdog Timer" + depends on X86 + select WATCHDOG_CORE + help + This is the driver for the hardware watchdog timer in the TQMX86 IO + controller found on some of their ComExpress Modules. + + To compile this driver as a module, choose M here; the module + will be called tqmx86_wdt. + + Most people will say N. + config VIA_WDT tristate "VIA Watchdog Timer" depends on X86 && PCI select WATCHDOG_CORE - ---help--- + help This is the driver for the hardware watchdog timer on VIA southbridge chipset CX700, VX800/VX820 or VX855/VX875. @@ -1316,7 +1512,7 @@ tristate "Watchdog timer for W83627HF/W83627DHG and compatibles" depends on X86 select WATCHDOG_CORE - ---help--- + help This is the driver for the hardware watchdog on the following Super I/O chips. W83627DHG/DHG-P/EHF/EHG/F/G/HF/S/SF/THF/UHG/UG @@ -1331,6 +1527,7 @@ NCT6791 NCT6792 NCT6102D/04D/06D + NCT6116D This watchdog simply watches your kernel to make sure it doesn't freeze, and if it does, it reboots your computer after a certain @@ -1344,7 +1541,7 @@ config W83877F_WDT tristate "W83877F (EMACS) Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the hardware watchdog on the W83877F chipset as used in EMACS PC-104 motherboards (and likely others). This watchdog simply watches your kernel to make sure it doesn't freeze, @@ -1359,7 +1556,7 @@ config W83977F_WDT tristate "W83977F (PCM-5335) Watchdog Timer" depends on X86 - ---help--- + help This is the driver for the hardware watchdog on the W83977F I/O chip as used in AAEON's PCM-5335 SBC (and likely others). This watchdog simply watches your kernel to make sure it doesn't freeze, @@ -1372,7 +1569,7 @@ config MACHZ_WDT tristate "ZF MachZ Watchdog" depends on X86 - ---help--- + help If you are using a ZF Micro MachZ processor, say Y here, otherwise N. This is the driver for the watchdog timer built-in on that processor using ZF-Logic interface. This watchdog simply watches @@ -1385,7 +1582,7 @@ config SBC_EPX_C3_WATCHDOG tristate "Winsystems SBC EPX-C3 watchdog" depends on X86 - ---help--- + help This is the driver for the built-in watchdog timer on the EPX-C3 Single-board computer made by Winsystems, Inc. @@ -1407,7 +1604,7 @@ tristate "Intel MEI iAMT Watchdog" depends on INTEL_MEI && X86 select WATCHDOG_CORE - ---help--- + help A device driver for the Intel MEI iAMT watchdog. The Intel AMT Watchdog is an OS Health (Hang/Crash) watchdog. @@ -1422,7 +1619,7 @@ tristate "NI 903x/913x Watchdog" depends on X86 && ACPI select WATCHDOG_CORE - ---help--- + help This is the driver for the watchdog timer on the National Instruments 903x/913x real-time controllers. @@ -1433,7 +1630,7 @@ tristate "NIC7018 Watchdog" depends on X86 && ACPI select WATCHDOG_CORE - ---help--- + help Support for National Instruments NIC7018 Watchdog. To compile this driver as a module, choose M here: the module will be @@ -1487,8 +1684,10 @@ config JZ4740_WDT tristate "Ingenic jz4740 SoC hardware watchdog" - depends on MACH_JZ4740 || MACH_JZ4780 + depends on MIPS + depends on COMMON_CLK select WATCHDOG_CORE + select MFD_SYSCON help Hardware driver for the built-in watchdog timer on Ingenic jz4740 SoCs. @@ -1589,7 +1788,7 @@ config BCM_KONA_WDT_DEBUG bool "DEBUGFS support for BCM Kona Watchdog" - depends on BCM_KONA_WDT || COMPILE_TEST + depends on BCM_KONA_WDT help If enabled, adds /sys/kernel/debug/bcm_kona_wdt/info which provides access to the driver's internal data structures as well as watchdog @@ -1623,6 +1822,7 @@ config LANTIQ_WDT tristate "Lantiq SoC watchdog" depends on LANTIQ + select WATCHDOG_CORE help Hardware driver for the Lantiq SoC Watchdog Timer. @@ -1680,7 +1880,7 @@ config GEF_WDT tristate "GE Watchdog Timer" depends on GE_FPGA - ---help--- + help Watchdog timer found in a number of GE single board computers. config MPC5200_WDT @@ -1718,11 +1918,11 @@ tristate "PowerPC Book-E Watchdog Timer" depends on BOOKE || 4xx select WATCHDOG_CORE - ---help--- + help Watchdog driver for PowerPC Book-E chips, such as the Freescale MPC85xx SOCs and the IBM PowerPC 440. - Please see Documentation/watchdog/watchdog-api.txt for + Please see Documentation/watchdog/watchdog-api.rst for more information. config BOOKE_WDT_DEFAULT_TIMEOUT @@ -1809,7 +2009,7 @@ config WATCHDOG_CP1XXX tristate "CP1XXX Hardware Watchdog support" depends on SPARC64 && PCI - ---help--- + help This is the driver for the hardware watchdog timers present on Sun Microsystems CompactPCI models CP1400 and CP1500. @@ -1866,12 +2066,12 @@ config PCWATCHDOG tristate "Berkshire Products ISA-PC Watchdog" depends on ISA - ---help--- + help This is the driver for the Berkshire Products ISA-PC Watchdog card. This card simply watches your kernel to make sure it doesn't freeze, and if it does, it reboots your computer after a certain amount of time. This driver is like the WDT501 driver but for different - hardware. Please read <file:Documentation/watchdog/pcwd-watchdog.txt>. The PC + hardware. Please read <file:Documentation/watchdog/pcwd-watchdog.rst>. The PC watchdog cards can be ordered from <http://www.berkprod.com/>. To compile this driver as a module, choose M here: the @@ -1882,7 +2082,7 @@ config MIXCOMWD tristate "Mixcom Watchdog" depends on ISA - ---help--- + help This is a driver for the Mixcom hardware watchdog cards. This watchdog simply watches your kernel to make sure it doesn't freeze, and if it does, it reboots your computer after a certain amount of @@ -1896,7 +2096,7 @@ config WDT tristate "WDT Watchdog timer" depends on ISA - ---help--- + help If you have a WDT500P or WDT501P watchdog board, say Y here, otherwise N. It is not possible to probe for this board, which means that you have to inform the kernel about the IO port and IRQ that @@ -1915,7 +2115,7 @@ config PCIPCWATCHDOG tristate "Berkshire Products PCI-PC Watchdog" depends on PCI - ---help--- + help This is the driver for the Berkshire Products PCI-PC Watchdog card. This card simply watches your kernel to make sure it doesn't freeze, and if it does, it reboots your computer after a certain amount of @@ -1930,7 +2130,7 @@ config WDTPCI tristate "PCI-WDT500/501 Watchdog timer" depends on PCI - ---help--- + help If you have a PCI-WDT500/501 watchdog board, say Y here, otherwise N. If you have a PCI-WDT501 watchdog board then you can enable the @@ -1953,7 +2153,7 @@ config USBPCWATCHDOG tristate "Berkshire Products USB-PC Watchdog" depends on USB - ---help--- + help This is the driver for the Berkshire Products USB-PC Watchdog card. This card simply watches your kernel to make sure it doesn't freeze, and if it does, it reboots your computer after a certain amount of @@ -1964,55 +2164,5 @@ module will be called pcwd_usb. Most people will say N. - -comment "Watchdog Pretimeout Governors" - -config WATCHDOG_PRETIMEOUT_GOV - bool "Enable watchdog pretimeout governors" - depends on WATCHDOG_CORE - help - The option allows to select watchdog pretimeout governors. - -if WATCHDOG_PRETIMEOUT_GOV - -choice - prompt "Default Watchdog Pretimeout Governor" - default WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC - help - This option selects a default watchdog pretimeout governor. - The governor takes its action, if a watchdog is capable - to report a pretimeout event. - -config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP - bool "noop" - select WATCHDOG_PRETIMEOUT_GOV_NOOP - help - Use noop watchdog pretimeout governor by default. If noop - governor is selected by a user, write a short message to - the kernel log buffer and don't do any system changes. - -config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC - bool "panic" - select WATCHDOG_PRETIMEOUT_GOV_PANIC - help - Use panic watchdog pretimeout governor by default, if - a watchdog pretimeout event happens, consider that - a watchdog feeder is dead and reboot is unavoidable. - -endchoice - -config WATCHDOG_PRETIMEOUT_GOV_NOOP - tristate "Noop watchdog pretimeout governor" - help - Noop watchdog pretimeout governor, only an informational - message is added to kernel log buffer. - -config WATCHDOG_PRETIMEOUT_GOV_PANIC - tristate "Panic watchdog pretimeout governor" - help - Panic watchdog pretimeout governor, on watchdog pretimeout - event put the kernel into panic. - -endif # WATCHDOG_PRETIMEOUT_GOV endif # WATCHDOG -- Gitblit v1.6.2