projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68e5f46
)
kernel: Add kmod-w1-slave-ds2438
author
Andres Heinloo
<
[email protected]
>
Wed, 6 Aug 2025 14:44:29 +0000
(16:44 +0200)
committer
Hauke Mehrtens
<
[email protected]
>
Thu, 7 Aug 2025 14:56:09 +0000
(16:56 +0200)
This patch adds support for building the ds2438 one-wire kernel module.
Signed-off-by: Andres Heinloo <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/19694
Signed-off-by: Hauke Mehrtens <
[email protected]
>
package/kernel/linux/modules/w1.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/w1.mk
b/package/kernel/linux/modules/w1.mk
index 9cba28da11de12754c73f8255e34930fe13fb2f9..ba2f3d2fe40cc920eff2b5e257c69f102c81d0ab 100644
(file)
--- a/
package/kernel/linux/modules/w1.mk
+++ b/
package/kernel/linux/modules/w1.mk
@@
-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))