developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | define 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 |
| 10 | endef |
| 11 | |
| 12 | define KernelPackage/ata-ahci-mtk/description |
| 13 | Mediatek AHCI Serial ATA host controllers |
| 14 | endef |
| 15 | |
| 16 | $(eval $(call KernelPackage,ata-ahci-mtk)) |
| 17 | |
| 18 | define 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) |
| 26 | endef |
| 27 | |
| 28 | $(eval $(call KernelPackage,btmtkuart)) |
| 29 | |
| 30 | define 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) |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call KernelPackage,sdhci-mtk)) |
| 41 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 42 | define KernelPackage/crypto-eip197 |
| 43 | TITLE:= EIP-197 Crypto Engine module |
developer | ad20a18 | 2023-09-07 13:36:24 +0800 | [diff] [blame] | 44 | DEPENDS:=@TARGET_mediatek_mt7988 +eip197-mini-firmware |
| 45 | DEFAULT:=y |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 46 | KCONFIG:= \ |
| 47 | CONFIG_CRYPTO_HW=y \ |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 48 | CONFIG_CRYPTO_AUTHENC=y \ |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 49 | CONFIG_CRYPTO_AES=y \ |
| 50 | CONFIG_CRYPTO_AEAD=y \ |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 51 | CONFIG_CRYPTO_DES=y \ |
| 52 | CONFIG_CRYPTO_MD5=y \ |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 53 | CONFIG_CRYPTO_SHA1=y \ |
| 54 | CONFIG_CRYPTO_SHA256=y \ |
| 55 | CONFIG_CRYPTO_SHA512=y \ |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 56 | CONFIG_CRYPTO_SHA3=y \ |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 57 | CONFIG_CRYPTO_HMAC=y \ |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 58 | CONFIG_CRYPTO_DEV_SAFEXCEL |
| 59 | FILES:=$(LINUX_DIR)/drivers/crypto/inside-secure/crypto_safexcel.ko |
| 60 | AUTOLOAD:=$(call AutoLoad,90,crypto-safexcel) |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 61 | $(call AddDepends/crypto) |
| 62 | endef |
| 63 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 64 | define KernelPackage/crypto-eip197/description |
| 65 | EIP-197 Cryptographic Engine driver. |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 66 | endef |
| 67 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 68 | $(eval $(call KernelPackage,crypto-eip197)) |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 69 | |
developer | be797a3 | 2021-12-16 16:56:09 +0800 | [diff] [blame] | 70 | define KernelPackage/sound-soc-mt79xx |
| 71 | TITLE:=MT79xx SoC sound support |
| 72 | KCONFIG:=\ |
| 73 | CONFIG_SND_SOC_MEDIATEK \ |
| 74 | CONFIG_SND_SOC_MT79XX \ |
| 75 | CONFIG_SND_SOC_MT79XX_WM8960 |
| 76 | FILES:= \ |
| 77 | $(LINUX_DIR)/sound/soc/mediatek/common/snd-soc-mtk-common.ko \ |
| 78 | $(LINUX_DIR)/sound/soc/mediatek/mt79xx/mt79xx-wm8960.ko \ |
| 79 | $(LINUX_DIR)/sound/soc/mediatek/mt79xx/snd-soc-mt79xx-afe.ko \ |
| 80 | $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko |
| 81 | AUTOLOAD:=$(call AutoLoad,57,regmap-i2c snd-soc-wm8960 snd-soc-mtk-common snd-soc-mt79xx-afe) |
| 82 | DEPENDS:=@TARGET_mediatek +kmod-regmap-i2c +kmod-sound-soc-core |
| 83 | $(call AddDepends/sound,+kmod-regmap-i2c) |
| 84 | endef |
| 85 | |
| 86 | define KernelPackage/sound-soc-mt79xx/description |
| 87 | Support for MT79xx Platform sound |
| 88 | endef |
| 89 | |
| 90 | $(eval $(call KernelPackage,sound-soc-mt79xx)) |
| 91 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 92 | define KernelPackage/mediatek_hnat |
| 93 | SUBMENU:=Network Devices |
| 94 | TITLE:=Mediatek HNAT module |
| 95 | DEPENDS:=@TARGET_mediatek +kmod-nf-conntrack |
| 96 | KCONFIG:= \ |
| 97 | CONFIG_BRIDGE_NETFILTER=y \ |
| 98 | CONFIG_NETFILTER_FAMILY_BRIDGE=y \ |
developer | 2494820 | 2021-11-24 17:38:27 +0800 | [diff] [blame] | 99 | CONFIG_NET_MEDIATEK_HNAT |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 100 | FILES:= \ |
| 101 | $(LINUX_DIR)/drivers/net/ethernet/mediatek/mtk_hnat/mtkhnat.ko |
| 102 | endef |
| 103 | |
| 104 | define KernelPackage/mediatek_hnat/description |
| 105 | Kernel modules for MediaTek HW NAT offloading |
| 106 | endef |
| 107 | |
| 108 | $(eval $(call KernelPackage,mediatek_hnat)) |
| 109 | |
developer | 010cc99 | 2022-10-19 15:02:34 +0800 | [diff] [blame] | 110 | |
| 111 | define KernelPackage/aquantia_aqtion |
| 112 | SUBMENU:=Network Devices |
| 113 | TITLE:=Aquantia AQtion(tm) Ethernet driver module |
| 114 | DEPENDS:=@TARGET_mediatek |
| 115 | KCONFIG:= \ |
| 116 | CONFIG_NET_VENDOR_AQUANTIA=y \ |
| 117 | CONFIG_AQTION |
| 118 | FILES:= \ |
| 119 | $(LINUX_DIR)/drivers/net/ethernet/aquantia/atlantic/atlantic.ko |
| 120 | endef |
| 121 | |
| 122 | define KernelPackage/aquantia_aqtion/description |
| 123 | Kernel modules for Aquantia AQtion(tm) Ethernet PCIe card driver |
| 124 | endef |
| 125 | |
| 126 | $(eval $(call KernelPackage,aquantia_aqtion)) |
developer | 004da0a | 2023-09-07 14:42:33 +0800 | [diff] [blame] | 127 | |
| 128 | define KernelPackage/phy-air_en8811h |
| 129 | SUBMENU:=Network Devices |
| 130 | TITLE:=Airoha EN8811H PHY driver |
| 131 | DEPENDS:=@TARGET_mediatek |
| 132 | KCONFIG:= \ |
| 133 | CONFIG_AIROHA_EN8811H_PHY \ |
| 134 | CONFIG_AIROHA_EN8811H_PHY_DEBUGFS=y |
| 135 | FILES:= \ |
| 136 | $(LINUX_DIR)/drivers/net/phy/air_en8811h.ko |
| 137 | AUTOLOAD:=$(call AutoLoad,20,air_en8811h,1) |
| 138 | endef |
| 139 | |
| 140 | define KernelPackage/phy-air_en8811h/description |
| 141 | kernel modules for Airoha EN8811H PHY driver |
| 142 | endef |
| 143 | |
| 144 | $(eval $(call KernelPackage,phy-air_en8811h)) |