kernel: Add kmod-w1-slave-ds2438

This patch adds support for building the ds2438 one-wire kernel module.

Signed-off-by: Andres Heinloo <andres@gfz.de>
Link: https://github.com/openwrt/openwrt/pull/19694
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Andres Heinloo 2025-08-06 16:44:29 +02:00 committed by Hauke Mehrtens
parent 68e5f46899
commit 0fa192a3a2

View file

@ -174,3 +174,19 @@ define KernelPackage/w1-slave-ds2413/description
endef
$(eval $(call KernelPackage,w1-slave-ds2413))
define KernelPackage/w1-slave-ds2438
TITLE:=DS2438 Smart Battery Monitor
KCONFIG:= \
CONFIG_W1_SLAVE_DS2438
FILES:=$(W1_SLAVES_DIR)/w1_ds2438.ko
AUTOLOAD:=$(call AutoProbe,w1_ds2438)
$(call AddDepends/w1)
endef
define KernelPackage/w1-slave-ds2438/description
Kernel module for 1-wire DS2438 Smart Battery Monitor support
endef
$(eval $(call KernelPackage,w1-slave-ds2438))