mediatek: mt7623: build mt6577_auxadc driver into kernel
authorDaniel Golle <daniel@makrotopia.org>
Mon, 5 Dec 2022 23:10:29 +0000 (23:10 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 5 Dec 2022 23:14:36 +0000 (23:14 +0000)
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 <daniel@makrotopia.org>
target/linux/mediatek/modules.mk
target/linux/mediatek/mt7623/config-5.15

index f46a6ad2ffcdc468a7bf9203ea1944aa492ecc0d..84801237259017e54cfa824e5d205b3dd0e87028 100644 (file)
@@ -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
index e787539d6df0cb0ff10e00e5b5c67660d3b9c95a..898e721df44ae03ef6331912051c212499d2a823 100644 (file)
@@ -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