blob: 208b975be9be74d0a1832dc9edaea81dfb4080b3 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001define KernelPackage/ata-ahci-mtk
2 TITLE:=Mediatek AHCI Serial ATA support
3 KCONFIG:=CONFIG_AHCI_MTK
4 FILES:= \
5 $(LINUX_DIR)/drivers/ata/ahci_mtk.ko \
6 $(LINUX_DIR)/drivers/ata/libahci_platform.ko
7 AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_mtk,1)
8 $(call AddDepends/ata)
9 DEPENDS+=@TARGET_mediatek_mt7622
10endef
11
12define KernelPackage/ata-ahci-mtk/description
13 Mediatek AHCI Serial ATA host controllers
14endef
15
16$(eval $(call KernelPackage,ata-ahci-mtk))
17
18define KernelPackage/btmtkuart
19 SUBMENU:=Other modules
20 TITLE:=MediaTek HCI UART driver
21 DEPENDS:=@TARGET_mediatek_mt7622 +kmod-bluetooth +mt7622bt-firmware
22 KCONFIG:=CONFIG_BT_MTKUART
23 FILES:= \
24 $(LINUX_DIR)/drivers/bluetooth/btmtkuart.ko
25 AUTOLOAD:=$(call AutoProbe,btmtkuart)
26endef
27
28$(eval $(call KernelPackage,btmtkuart))
29
30define KernelPackage/sdhci-mtk
31 SUBMENU:=Other modules
32 TITLE:=Mediatek SDHCI driver
33 DEPENDS:=@TARGET_mediatek_mt7622 +kmod-sdhci
34 KCONFIG:=CONFIG_MMC_MTK
35 FILES:= \
36 $(LINUX_DIR)/drivers/mmc/host/mtk-sd.ko
37 AUTOLOAD:=$(call AutoProbe,mtk-sd,1)
38endef
39
40$(eval $(call KernelPackage,sdhci-mtk))
41
developer010cc992022-10-19 15:02:34 +080042define KernelPackage/crypto-eip197
43 TITLE:= EIP-197 Crypto Engine module
developerad20a182023-09-07 13:36:24 +080044 DEPENDS:=@TARGET_mediatek_mt7988 +eip197-mini-firmware
45 DEFAULT:=y
developerfd40db22021-04-29 10:08:25 +080046 KCONFIG:= \
47 CONFIG_CRYPTO_HW=y \
developer010cc992022-10-19 15:02:34 +080048 CONFIG_CRYPTO_AUTHENC=y \
developerfd40db22021-04-29 10:08:25 +080049 CONFIG_CRYPTO_AES=y \
50 CONFIG_CRYPTO_AEAD=y \
developer010cc992022-10-19 15:02:34 +080051 CONFIG_CRYPTO_DES=y \
52 CONFIG_CRYPTO_MD5=y \
developerfd40db22021-04-29 10:08:25 +080053 CONFIG_CRYPTO_SHA1=y \
54 CONFIG_CRYPTO_SHA256=y \
55 CONFIG_CRYPTO_SHA512=y \
developer010cc992022-10-19 15:02:34 +080056 CONFIG_CRYPTO_SHA3=y \
developerfd40db22021-04-29 10:08:25 +080057 CONFIG_CRYPTO_HMAC=y \
developer010cc992022-10-19 15:02:34 +080058 CONFIG_CRYPTO_DEV_SAFEXCEL
59 FILES:=$(LINUX_DIR)/drivers/crypto/inside-secure/crypto_safexcel.ko
60 AUTOLOAD:=$(call AutoLoad,90,crypto-safexcel)
developerfd40db22021-04-29 10:08:25 +080061 $(call AddDepends/crypto)
62endef
63
developer010cc992022-10-19 15:02:34 +080064define KernelPackage/crypto-eip197/description
65 EIP-197 Cryptographic Engine driver.
developerfd40db22021-04-29 10:08:25 +080066endef
67
developer010cc992022-10-19 15:02:34 +080068$(eval $(call KernelPackage,crypto-eip197))
developerfd40db22021-04-29 10:08:25 +080069
70define KernelPackage/mediatek_hnat
71 SUBMENU:=Network Devices
72 TITLE:=Mediatek HNAT module
73 DEPENDS:=@TARGET_mediatek +kmod-nf-conntrack
74 KCONFIG:= \
75 CONFIG_BRIDGE_NETFILTER=y \
76 CONFIG_NETFILTER_FAMILY_BRIDGE=y \
developer24948202021-11-24 17:38:27 +080077 CONFIG_NET_MEDIATEK_HNAT
developerfd40db22021-04-29 10:08:25 +080078 FILES:= \
79 $(LINUX_DIR)/drivers/net/ethernet/mediatek/mtk_hnat/mtkhnat.ko
80endef
81
82define KernelPackage/mediatek_hnat/description
83 Kernel modules for MediaTek HW NAT offloading
84endef
85
86$(eval $(call KernelPackage,mediatek_hnat))
87
developer010cc992022-10-19 15:02:34 +080088
89define KernelPackage/aquantia_aqtion
90 SUBMENU:=Network Devices
91 TITLE:=Aquantia AQtion(tm) Ethernet driver module
92 DEPENDS:=@TARGET_mediatek
93 KCONFIG:= \
94 CONFIG_NET_VENDOR_AQUANTIA=y \
95 CONFIG_AQTION
96 FILES:= \
97 $(LINUX_DIR)/drivers/net/ethernet/aquantia/atlantic/atlantic.ko
98endef
99
100define KernelPackage/aquantia_aqtion/description
101 Kernel modules for Aquantia AQtion(tm) Ethernet PCIe card driver
102endef
103
104$(eval $(call KernelPackage,aquantia_aqtion))
developer004da0a2023-09-07 14:42:33 +0800105
106define KernelPackage/phy-air_en8811h
107 SUBMENU:=Network Devices
108 TITLE:=Airoha EN8811H PHY driver
109 DEPENDS:=@TARGET_mediatek
110 KCONFIG:= \
111 CONFIG_AIROHA_EN8811H_PHY \
112 CONFIG_AIROHA_EN8811H_PHY_DEBUGFS=y
113 FILES:= \
114 $(LINUX_DIR)/drivers/net/phy/air_en8811h.ko
115 AUTOLOAD:=$(call AutoLoad,20,air_en8811h,1)
116endef
117
118define KernelPackage/phy-air_en8811h/description
119 kernel modules for Airoha EN8811H PHY driver
120endef
121
122$(eval $(call KernelPackage,phy-air_en8811h))