/linux-6.12.1/Documentation/ABI/stable/ |
D | sysfs-driver-firmware-zynqmp | 1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs* 11 The register is reset during system or power-on 17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs* 38 This register is only reset by the power-on reset 46 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 47 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 [all …]
|
/linux-6.12.1/drivers/watchdog/ |
D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 21 * A Watchdog Timer (WDT) is a hardware circuit that can 26 * via the /dev/watchdog special device file that userspace is 28 * occurs, the driver will usually tell the hardware watchdog 29 * that everything is in order, and that the watchdog should wait [all …]
|
D | starfive-wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Starfive Watchdog driver 15 #include <linux/watchdog.h> 17 /* JH7100 Watchdog register define */ 31 /* JH7110 Watchdog register define */ 35 * [0]: reset enable; 36 * [1]: interrupt enable && watchdog enable 56 #define STARFIVE_WDT_JH7100_INTCLR_AVA_SHIFT 1 /* Watchdog can clear interrupt when 0 */ 74 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (default=" 77 "Watchdog is started at boot time if set to 1, default=" [all …]
|
D | pc87413_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x 12 * This material is provided "AS-IS" and at no charge. 22 #include <linux/watchdog.h> 42 #define DPFX MODNAME " - DEBUG: " 48 #define WDCTL 0x10 /* Watchdog-Timer-Control-Register */ 49 #define WDTO 0x11 /* Watchdog timeout register */ 50 #define WDCFG 0x12 /* Watchdog config register */ 55 static int swc_base_addr = -1; 66 /* -- Low level function ----------------------------------------*/ [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # Watchdog device configuration 7 menuconfig WATCHDOG config 8 bool "Watchdog Timer Support" 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.: 16 on-line as fast as possible after a lock-up. There's both a watchdog 18 reboot the machine) and a driver for hardware watchdog boards, which 21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source. 23 The watchdog is usually used together with the watchdog daemon [all …]
|
D | at91sam9_wdt.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * drivers/watchdog/at91sam9_wdt.h 9 * Watchdog Timer (WDT) - System peripherals regsters. 20 #define AT91_WDT_CR 0x00 /* Watchdog Control Register */ 24 #define AT91_WDT_MR 0x04 /* Watchdog Mode Register */ 29 #define AT91_WDT_WDFIEN BIT(12) /* Fault Interrupt Enable */ 30 #define AT91_SAM9X60_WDDIS BIT(12) /* Watchdog Disable */ 33 #define AT91_WDT_WDDIS BIT(15) /* Watchdog Disable */ 39 #define AT91_WDT_SR 0x08 /* Watchdog Status Register */ 40 #define AT91_WDT_WDUNF BIT(0) /* Watchdog Underflow */ [all …]
|
D | sa1100_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for the SA11x0/PXA2xx 10 * "AS-IS" and at no charge. 27 #include <linux/watchdog.h> 40 #define REG_OWER 0x0018 /* OS timer Watch-dog Enable Reg. */ 41 #define REG_OIER 0x001C /* OS timer Interrupt Enable Reg. */ 48 #define OWER_WME (1 << 0) /* Watchdog Match Enable */ 50 #define OIER_E3 (1 << 3) /* Interrupt enable channel 3 */ 51 #define OIER_E2 (1 << 2) /* Interrupt enable channel 2 */ 52 #define OIER_E1 (1 << 1) /* Interrupt enable channel 1 */ [all …]
|
D | via_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * VIA Chipset Watchdog Driver 10 * Caveat: PnP must be enabled in BIOS to allow full access to watchdog 11 * control registers. If not, the watchdog must be configured in BIOS manually. 22 #include <linux/watchdog.h> 26 #define VIA_WDT_CONF 0xec /* watchdog enable state */ 29 #define VIA_WDT_CONF_ENABLE 0x01 /* 1: enable watchdog */ 30 #define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */ 33 * The MMIO region contains the watchdog control register and the 42 #define VIA_WDT_FIRED 0x02 /* 1: restarted by expired watchdog */ [all …]
|
D | cadence_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Cadence WDT driver - Used by Xilinx Zynq 5 * Copyright (C) 2010 - 2014 Xilinx, Inc. 18 #include <linux/watchdog.h> 21 /* Supports 1 - 516 sec */ 54 "Watchdog time in seconds. (default=" 59 "Watchdog cannot be stopped once started (default=" 63 * struct cdns_wdt - Watchdog device structure 70 * @cdns_wdt_device: watchdog device structure 72 * Structure containing parameters specific to cadence watchdog. [all …]
|
D | xilinx_wwdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Window watchdog device driver for Xilinx Versal WWDT 5 * Copyright (C) 2022 - 2023, Advanced Micro Devices, Inc. 16 #include <linux/watchdog.h> 32 /* Enable and Status Register Masks */ 44 "Watchdog time in seconds. (default=" 48 "Watchdog closed window percentage. (default=" 51 * struct xwwdt_device - Watchdog device structure 54 * @xilinx_wwdt_wdd: watchdog device structure 69 struct watchdog_device *xilinx_wwdt_wdd = &xdev->xilinx_wwdt_wdd; in xilinx_wwdt_start() [all …]
|
D | imx2_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Watchdog driver for IMX2 and later processors 11 * NOTE: MX1 has a slightly different Watchdog than MX2 and later: 14 * ---- ----- 15 * Registers: 32-bit 16-bit 17 * Need to enable clk: No Yes 32 #include <linux/watchdog.h> 34 #define DRIVER_NAME "imx2-wdt" 37 #define IMX2_WDT_WCR_WT (0xFF << 8) /* -> Watchdog Timeout Field */ 38 #define IMX2_WDT_WCR_WDW BIT(7) /* -> Watchdog disable for WAIT */ [all …]
|
D | i6300esb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * i6300esb: Watchdog timer driver for Intel 6300ESB chipset 8 * based on i810-tco.c which is in turn based on softdog.c 12 * 6300ESB chip : document number 300641-004 21 * Change driver to use the watchdog subsystem 35 #include <linux/watchdog.h> 49 #define ESB_TIMER1_REG(w) ((w)->base + 0x00)/* Timer1 value after each reset */ 50 #define ESB_TIMER2_REG(w) ((w)->base + 0x04)/* Timer2 value after each reset */ 51 #define ESB_GINTSR_REG(w) ((w)->base + 0x08)/* General Interrupt Status Reg */ 52 #define ESB_RELOAD_REG(w) ((w)->base + 0x0c)/* Reload register */ [all …]
|
D | rn5t618_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Watchdog driver for Ricoh RN5T618 PMIC 12 #include <linux/watchdog.h> 14 #define DRIVER_NAME "rn5t618-wdt" 20 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 23 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" 33 * watchdog expiration times. If the watchdog is not accessed before 59 return -EINVAL; in rn5t618_wdt_set_timeout() 61 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_set_timeout() 65 wdt_dev->timeout = rn5t618_wdt_map[i].time; in rn5t618_wdt_set_timeout() [all …]
|
D | cpwd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* cpwd.c - driver implementation for hardware watchdog 5 * This device supports both the generic Linux watchdog 6 * interface and Solaris-compatible ioctls as best it is 38 #include <asm/watchdog.h> 42 #define WD_OBPNAME "watchdog" 43 #define WD_BADMODEL "SUNW,501-5336" 60 #define WD_STAT_INIT 0x01 /* Watchdog timer is initialized */ 61 #define WD_STAT_BSTOP 0x02 /* Watchdog timer is brokenstopped */ 62 #define WD_STAT_SVCD 0x04 /* Watchdog interrupt occurred */ [all …]
|
D | orion_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/watchdog/orion_wdt.c 5 * Watchdog driver for Orion/Kirkwood processors 18 #include <linux/watchdog.h> 30 #define INTERNAL_REGS_MASK ~(SZ_1M - 1) 33 * Watchdog timer block registers. 84 dev->clk = clk_get(&pdev->dev, NULL); in orion_wdt_clock_init() 85 if (IS_ERR(dev->clk)) in orion_wdt_clock_init() 86 return PTR_ERR(dev->clk); in orion_wdt_clock_init() 87 ret = clk_prepare_enable(dev->clk); in orion_wdt_clock_init() [all …]
|
D | of_xilinx_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog Device Driver for Xilinx axi/xps_timebase_wdt 5 * (C) Copyright 2013 - 2014 Xilinx, Inc. 17 #include <linux/watchdog.h> 29 #define XWT_CSR0_EWDT1_MASK BIT(1) /* Enable bit 1 */ 32 #define XWT_CSRX_EWDT2_MASK BIT(0) /* Enable bit 2 */ 38 #define WATCHDOG_NAME "Xilinx Watchdog" 54 ret = clk_enable(xdev->clk); in xilinx_wdt_start() 56 dev_err(wdd->parent, "Failed to enable clock\n"); in xilinx_wdt_start() 60 spin_lock(&xdev->spinlock); in xilinx_wdt_start() [all …]
|
D | ftwdt010_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Watchdog driver for Faraday Technology FTWDT010 7 * Inspired by the out-of-tree drivers from OpenWRT: 20 #include <linux/watchdog.h> 54 u32 enable; in ftwdt010_enable() local 56 writel(timeout * WDT_CLOCK, gwdt->base + FTWDT010_WDLOAD); in ftwdt010_enable() 57 writel(WDRESTART_MAGIC, gwdt->base + FTWDT010_WDRESTART); in ftwdt010_enable() 59 enable = WDCR_CLOCK_5MHZ | WDCR_SYS_RST; in ftwdt010_enable() 60 writel(enable, gwdt->base + FTWDT010_WDCR); in ftwdt010_enable() 62 enable |= WDCR_WDINTR; in ftwdt010_enable() [all …]
|
D | sp5100_tco.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * AMD Publication 45482 "AMD SB800-Series Southbridges Register 17 * for AMD Family 16h Models 00h-0Fh Processors" 20 * for AMD Family 16h Models 30h-3Fh Processors" 21 * AMD Publication 55570-B1-PUB "Processor Programming Reference (PPR) 24 * AMD Publication 55772-A1-PUB "Processor Programming Reference (PPR) 43 #include <linux/watchdog.h> 47 #define TCO_DRIVER_NAME "sp5100-tco" 61 /* the watchdog platform device */ 71 MODULE_PARM_DESC(action, "Action taken when watchdog expires, 0 to reset, 1 to poweroff (default=" [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd9576-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 powering the R-Car series processors. 16 monitoring. A watchdog logic with slow ping/windowed modes is also included. 21 - rohm,bd9576 22 - rohm,bd9573 32 rohm,vout1-en-low: [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/ |
D | atmel,sama5d4-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Atmel SAMA5D4 Watchdog Timer (WDT) Controller 10 - Eugen Hristev <eugen.hristev@microchip.com> 13 - $ref: watchdog.yaml# 18 - enum: 19 - atmel,sama5d4-wdt 20 - microchip,sam9x60-wdt [all …]
|
D | xlnx,xps-timebase-wdt.yaml | 1 # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/watchdog/xlnx,xps-timebase-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx AXI/PLB softcore and window Watchdog Timer 10 - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> 11 - Srinivas Neeli <srinivas.neeli@amd.com> 14 The Timebase watchdog timer(WDT) is a free-running 32 bit counter. 15 WDT uses a dual-expiration architecture. After one expiration of 22 - $ref: watchdog.yaml# [all …]
|
/linux-6.12.1/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Watchdog Driver Test Program 4 * - Tests all ioctls 5 * - Tests Magic Close - CONFIG_WATCHDOG_NOWAYOUT 6 * - Could be tested against softdog driver on systems that 7 * don't have watchdog hardware. 8 * - TODO: 9 * - Enhance test to add coverage for WDIOC_GETTEMP. 11 * Reference: Documentation/watchdog/watchdog-api.rst 24 #include <linux/watchdog.h> [all …]
|
/linux-6.12.1/arch/mips/sibyte/swarm/ |
D | rtc_m41t81.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 #define M41T81REG_HR_CEB 0x80 /* century enable bit */ 33 #define M41T81REG_WD_RB0 0x01 /* watchdog resolution bit 0 */ 34 #define M41T81REG_WD_RB1 0x02 /* watchdog resolution bit 1 */ 35 #define M41T81REG_WD_BMB0 0x04 /* watchdog multiplier bit 0 */ 36 #define M41T81REG_WD_BMB1 0x08 /* watchdog multiplier bit 1 */ 37 #define M41T81REG_WD_BMB2 0x10 /* watchdog multiplier bit 2 */ 38 #define M41T81REG_WD_BMB3 0x20 /* watchdog multiplier bit 3 */ 39 #define M41T81REG_WD_BMB4 0x40 /* watchdog multiplier bit 4 */ 40 #define M41T81REG_AMO_ABE 0x20 /* alarm in "battery back-up mode" enable bit */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | richtek,rt5759-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt5759-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT5759 is a high-performance, synchronous step-down DC-DC converter that 15 voltage can be programmable with I2C controlled 7-Bit VID. 18 https://www.richtek.com/assets/product_file/RT5759/DS5759-00.pdf 23 - richtek,rt5759 24 - richtek,rt5759a [all …]
|
/linux-6.12.1/Documentation/driver-api/ |
D | ipmi.rst | 12 standardized database for field-replaceable units (FRUs) and a watchdog 25 ------------- 32 No matter what, you must pick 'IPMI top-level message handler' to use 35 The message handler does not provide any user-level interfaces. 36 Kernel code (like the watchdog) can still use it. If you need access 50 these enabled and let the drivers auto-detect what is present. 52 You should generally enable ACPI on your system, as systems with IPMI 61 "The SMBus Driver" on how to hand-configure your system. 63 IPMI defines a standard watchdog timer. You can enable this with the 64 'IPMI Watchdog Timer' config option. If you compile the driver into [all …]
|