1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00

kernel/modules/other/mlx_wdt: add new package

This commit adds a new driver for the hardware watchdog
on Mellanox systems.

Signed-off-by: Til Kaiser <mail@tk154.de>
This commit is contained in:
Til Kaiser 2024-04-28 15:16:57 +02:00 committed by Hauke Mehrtens
parent 1a2fc49b71
commit 0e56bd3eb5

@ -244,6 +244,28 @@ endef
$(eval $(call KernelPackage,lkdtm))
define KernelPackage/mlx_wdt
SUBMENU:=$(OTHER_MENU)
TITLE:=Mellanox Watchdog
DEPENDS:=@TARGET_x86 +kmod-regmap-core
KCONFIG:= \
CONFIG_MELLANOX_PLATFORM=y \
CONFIG_MLX_WDT
FILES:=$(LINUX_DIR)/drivers/watchdog/mlx_wdt.ko
AUTOLOAD:=$(call AutoProbe,mlx_wdt)
endef
define KernelPackage/mlx_wdt/description
This is the driver for the hardware watchdog on Mellanox systems.
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.
endef
$(eval $(call KernelPackage,mlx_wdt))
define KernelPackage/pinctrl-mcp23s08
SUBMENU:=$(OTHER_MENU)
TITLE:=Microchip MCP23xxx I/O expander