Searched +full:stm32mp1 +full:- +full:iwdg (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | st,stm32-iwdg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/st,stm32-iwdg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 Independent WatchDoG (IWDG) 10 - Yannick Fertre <yannick.fertre@foss.st.com> 11 - Christophe Roullier <christophe.roullier@foss.st.com> 14 - $ref: watchdog.yaml# 19 - st,stm32-iwdg 20 - st,stm32mp1-iwdg [all …]
|
/linux/drivers/watchdog/ |
H A D | stm32_iwdg.c | 1 // SPDX-License-Identifier: GPL-2.0 26 /* IWDG registers */ 32 #define IWDG_EWCR 0x14 /* Early Wake-up Register */ 103 dev_dbg(wdd->parent, "%s\n", __func__); in stm32_iwdg_start() 105 if (!wdd->pretimeout) in stm32_iwdg_start() 106 wdd->pretimeout = 3 * wdd->timeout / 4; in stm32_iwdg_start() 108 tout = clamp_t(unsigned int, wdd->timeout, in stm32_iwdg_start() 109 wdd->min_timeout, wdd->max_hw_heartbeat_ms / 1000); in stm32_iwdg_start() 110 ptot = clamp_t(unsigned int, tout - wdd->pretimeout, in stm32_iwdg_start() 111 wdd->min_timeout, tout); in stm32_iwdg_start() [all …]
|