aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-12-05 23:10:29 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-12-05 23:14:36 +0000
commit83f20fc9f732cc9eaca7b70b470a28ed6fad8fa6 (patch)
tree3f387546dbd877182a5c4241fee1593442b71cde /target
parent0579d9f5bc4b3a3d1b32526c71a6b77c4888bfcb (diff)
downloadupstream-83f20fc9f732cc9eaca7b70b470a28ed6fad8fa6.tar.gz
upstream-83f20fc9f732cc9eaca7b70b470a28ed6fad8fa6.tar.bz2
upstream-83f20fc9f732cc9eaca7b70b470a28ed6fad8fa6.zip
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 <daniel@makrotopia.org>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/modules.mk2
-rw-r--r--target/linux/mediatek/mt7623/config-5.152
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/mediatek/modules.mk b/target/linux/mediatek/modules.mk
index f46a6ad2ff..8480123725 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 e787539d6d..898e721df4 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