mirror of https://github.com/openwrt/openwrt.git
78 lines
2.3 KiB
Makefile
78 lines
2.3 KiB
Makefile
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_platform ahci_mtk,1)
|
|
$(call AddDepends/ata)
|
|
DEPENDS+=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623)
|
|
endef
|
|
|
|
define KernelPackage/ata-ahci-mtk/description
|
|
Mediatek AHCI Serial ATA host controllers
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,ata-ahci-mtk))
|
|
|
|
define KernelPackage/btmtkuart
|
|
SUBMENU:=Other modules
|
|
TITLE:=MediaTek HCI UART driver
|
|
DEPENDS:=@TARGET_mediatek_mt7622 +kmod-bluetooth +kmod-btmtk +mt7622bt-firmware \
|
|
+kmod-hci-uart
|
|
KCONFIG:=CONFIG_BT_MTKUART
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/bluetooth/btmtkuart.ko
|
|
AUTOLOAD:=$(call AutoProbe,btmtkuart)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,btmtkuart))
|
|
|
|
define KernelPackage/iio-mt6577-auxadc
|
|
TITLE:=Mediatek AUXADC driver
|
|
DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_filogic)
|
|
KCONFIG:=CONFIG_MEDIATEK_MT6577_AUXADC
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/iio/adc/mt6577_auxadc.ko
|
|
AUTOLOAD:=$(call AutoProbe,mt6577_auxadc)
|
|
$(call AddDepends/iio)
|
|
endef
|
|
$(eval $(call KernelPackage,iio-mt6577-auxadc))
|
|
|
|
define KernelPackage/input-touchscreen-hynitron-cst3530
|
|
SUBMENU:=$(INPUT_MODULES_MENU)
|
|
TITLE:=Hynitron CST3530 touchscreen
|
|
DEPENDS:=@TARGET_mediatek_filogic +kmod-i2c-core +kmod-input-core
|
|
KCONFIG:= \
|
|
CONFIG_INPUT_TOUCHSCREEN=y \
|
|
CONFIG_TOUCHSCREEN_HYNITRON_CST3530
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/input/touchscreen/hynitron-cst3530.ko
|
|
AUTOLOAD:=$(call AutoProbe,hynitron-cst3530)
|
|
endef
|
|
|
|
define KernelPackage/input-touchscreen-hynitron-cst3530/description
|
|
Kernel module for the Hynitron CST3530 touchscreen controller, as
|
|
fitted to the GL.iNet GL-BE10000 and GL-BE14000.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,input-touchscreen-hynitron-cst3530))
|
|
|
|
|
|
define KernelPackage/phy-mediatek-2p5g
|
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
|
TITLE:=MediaTek 2.5G Ethernet PHY
|
|
DEPENDS:=@TARGET_mediatek_filogic +kmod-libphy
|
|
KCONFIG:=CONFIG_MEDIATEK_2P5GE_PHY
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/net/phy/mediatek/mtk-2p5ge.ko
|
|
AUTOLOAD:=$(call AutoLoad,18,mtk-2p5ge,1)
|
|
endef
|
|
|
|
define KernelPackage/phy-mediatek-2p5g/description
|
|
Kernel modules for 2.5G Ethernet PHY built-into the MediaTek MT7988
|
|
and MT7987 SoCs.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,phy-mediatek-2p5g))
|