2018-05-24 20:10:49 +00:00
|
|
|
define KernelPackage/ata-ahci-mtk
|
|
|
|
TITLE:=Mediatek AHCI Serial ATA support
|
|
|
|
KCONFIG:=CONFIG_AHCI_MTK
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/ata/ahci_mtk.ko \
|
|
|
|
$(LINUX_DIR)/drivers/ata/libahci_platform.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_mtk,1)
|
|
|
|
$(call AddDepends/ata)
|
2020-06-10 15:23:04 +00:00
|
|
|
DEPENDS+=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623)
|
2018-05-24 20:10:49 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/ata-ahci-mtk/description
|
|
|
|
Mediatek AHCI Serial ATA host controllers
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,ata-ahci-mtk))
|
|
|
|
|
2020-09-22 13:04:02 +00:00
|
|
|
define KernelPackage/btmtkuart
|
|
|
|
SUBMENU:=Other modules
|
|
|
|
TITLE:=MediaTek HCI UART driver
|
|
|
|
DEPENDS:=@TARGET_mediatek_mt7622 +kmod-bluetooth +mt7622bt-firmware
|
|
|
|
KCONFIG:=CONFIG_BT_MTKUART
|
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/bluetooth/btmtkuart.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,btmtkuart)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,btmtkuart))
|
|
|
|
|
2022-10-19 22:03:07 +00:00
|
|
|
define KernelPackage/iio-mt6577-auxadc
|
|
|
|
TITLE:=Mediatek AUXADC driver
|
2022-12-05 23:10:29 +00:00
|
|
|
DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_filogic)
|
2022-10-19 22:03:07 +00:00
|
|
|
KCONFIG:=CONFIG_MEDIATEK_MT6577_AUXADC
|
2018-05-24 20:10:49 +00:00
|
|
|
FILES:= \
|
2022-10-19 22:03:07 +00:00
|
|
|
$(LINUX_DIR)/drivers/iio/adc/mt6577_auxadc.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,mt6577_auxadc)
|
|
|
|
$(call AddDepends/iio)
|
2018-05-24 20:10:49 +00:00
|
|
|
endef
|
2022-10-19 22:03:07 +00:00
|
|
|
$(eval $(call KernelPackage,iio-mt6577-auxadc))
|