[openwrt/openwrt] kernel: wpan: Add kmod-ca8210

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 21 08:59:45 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5efe459012393dcaa0623225e1cb069cb326a66e

commit 5efe459012393dcaa0623225e1cb069cb326a66e
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Aug 15 16:44:23 2020 +0200

    kernel: wpan: Add kmod-ca8210
    
    This device is found on the pistachio marduk board.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/wpan.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk
index 1de7f39b66..dab8a0cb71 100644
--- a/package/kernel/linux/modules/wpan.mk
+++ b/package/kernel/linux/modules/wpan.mk
@@ -119,6 +119,22 @@ endef
 
 $(eval $(call KernelPackage,cc2520))
 
+
+define KernelPackage/ca8210
+  SUBMENU:=$(WPAN_MENU)
+  TITLE:=CA8210 transceiver driver
+  DEPENDS:=+kmod-mac802154
+  KCONFIG:=CONFIG_IEEE802154_CA8210 \
+	CONFIG_SPI=y \
+	CONFIG_SPI_MASTER=y \
+	CONFIG_IEEE802154_CA8210_DEBUGFS=n
+  FILES:=$(LINUX_DIR)/drivers/net/ieee802154/ca8210.ko
+  AUTOLOAD:=$(call AutoProbe,ca8210)
+endef
+
+$(eval $(call KernelPackage,ca8210))
+
+
 define KernelPackage/ieee802154-6lowpan
   SUBMENU:=$(WPAN_MENU)
   TITLE:= 6LoWPAN support over IEEE-802.15.4



More information about the lede-commits mailing list