[LEDE-DEV] [PATCH 2/4] x86: add kernel module for sp5100_tco watchdog

Chris Blake chrisrblake93 at gmail.com
Sat Jan 14 08:20:25 PST 2017

This change adds the sp5100_tco driver as a kernel module for the x86
target. Specifically, this can be used by the PCEngines APU2/APU3. The
reason for having this as a kernel module is to allow users to
load/unload it on demand, as the I2C interface on the APU2/APU3 will not
work while this module is loaded. More info can be found on GitHub at

Signed-off-by: Chris Blake <chrisrblake93 at gmail.com>
 target/linux/x86/modules.mk | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk
index 656500b..87733c2 100644
--- a/target/linux/x86/modules.mk
+++ b/target/linux/x86/modules.mk
@@ -19,3 +19,18 @@ define KernelPackage/sound-cs5535audio/description

 $(eval $(call KernelPackage,sound-cs5535audio))
+define KernelPackage/sp5100_tco
+  TITLE:=SP5100 Watchdog Support
+  FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
+  AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
+define KernelPackage/sp5100_tco/description
+ Kernel module for the SP5100_TCO hardware watchdog.
+$(eval $(call KernelPackage,sp5100_tco))

More information about the Lede-dev mailing list