CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MT65XX=y
CONFIG_ICPLUS_PHY=y
-CONFIG_IIO=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_INITRAMFS_SOURCE=""
CONFIG_IO_URING=y
CONFIG_MDIO_DEVICE=y
CONFIG_MDIO_DEVRES=y
CONFIG_MEDIATEK_GE_PHY=y
-CONFIG_MEDIATEK_MT6577_AUXADC=y
CONFIG_MEDIATEK_WATCHDOG=y
CONFIG_MEMFD_CREATE=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7
$(eval $(call KernelPackage,btmtkuart))
-define KernelPackage/sdhci-mtk
- SUBMENU:=Other modules
- TITLE:=Mediatek SDHCI driver
- DEPENDS:=@TARGET_mediatek_mt7622 +kmod-sdhci
- KCONFIG:=CONFIG_MMC_MTK
+define KernelPackage/iio-mt6577-auxadc
+ TITLE:=Mediatek AUXADC driver
+ DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623||TARGET_mediatek_filogic)
+ KCONFIG:=CONFIG_MEDIATEK_MT6577_AUXADC
FILES:= \
- $(LINUX_DIR)/drivers/mmc/host/mtk-sd.ko
- AUTOLOAD:=$(call AutoProbe,mtk-sd,1)
+ $(LINUX_DIR)/drivers/iio/adc/mt6577_auxadc.ko
+ AUTOLOAD:=$(call AutoProbe,mt6577_auxadc)
+ $(call AddDepends/iio)
endef
-
-$(eval $(call KernelPackage,sdhci-mtk))
-
-
+$(eval $(call KernelPackage,iio-mt6577-auxadc))