From: Daniel Golle Date: Mon, 5 Dec 2022 23:10:29 +0000 (+0000) Subject: mediatek: mt7623: build mt6577_auxadc driver into kernel X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=83f20fc9f732cc9eaca7b70b470a28ed6fad8fa6;p=openwrt%2Fstaging%2Frmilecki.git mediatek: mt7623: build mt6577_auxadc driver into kernel Set CONFIG_MT6577_AUXADC=y as otherwise reading temperature of the thermal-zone doesn't work on MT7623 (it does work fine without this driver on MT7622 and MT7986). Fixes: f2ae4e2f8c ("mediatek: clean up platform kernel modules") Signed-off-by: Daniel Golle --- diff --git a/target/linux/mediatek/modules.mk b/target/linux/mediatek/modules.mk index f46a6ad2ffc..84801237259 100644 --- a/target/linux/mediatek/modules.mk +++ b/target/linux/mediatek/modules.mk @@ -29,7 +29,7 @@ $(eval $(call KernelPackage,btmtkuart)) define KernelPackage/iio-mt6577-auxadc TITLE:=Mediatek AUXADC driver - DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623||TARGET_mediatek_filogic) + DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_filogic) KCONFIG:=CONFIG_MEDIATEK_MT6577_AUXADC FILES:= \ $(LINUX_DIR)/drivers/iio/adc/mt6577_auxadc.ko diff --git a/target/linux/mediatek/mt7623/config-5.15 b/target/linux/mediatek/mt7623/config-5.15 index e787539d6df..898e721df44 100644 --- a/target/linux/mediatek/mt7623/config-5.15 +++ b/target/linux/mediatek/mt7623/config-5.15 @@ -266,6 +266,7 @@ CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_MT65XX=y CONFIG_ICPLUS_PHY=y +CONFIG_IIO=y CONFIG_INITRAMFS_SOURCE="" CONFIG_INPUT=y CONFIG_INPUT_EVDEV=y @@ -319,6 +320,7 @@ CONFIG_MDIO_DEVICE=y CONFIG_MDIO_DEVRES=y CONFIG_MDIO_GPIO=y CONFIG_MEDIATEK_GE_PHY=y +CONFIG_MEDIATEK_MT6577_AUXADC=y CONFIG_MEDIATEK_WATCHDOG=y CONFIG_MEMFD_CREATE=y CONFIG_MEMORY=y