From: Daniel Golle Date: Fri, 4 Oct 2024 13:04:25 +0000 (+0100) Subject: mediatek: mt7622: enable HWMON in kernel config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=330321421a0a19f1299dc23d57bf884c5b44f7ac;p=openwrt%2Fstaging%2Fxback.git mediatek: mt7622: enable HWMON in kernel config Building HWMON as module prevents some other drivers from getting built into the kernel, e.g. mxl-gpy. Always enable HWMON and also set THERMAL_HWMON. Signed-off-by: Daniel Golle --- diff --git a/target/linux/mediatek/mt7622/config-6.6 b/target/linux/mediatek/mt7622/config-6.6 index cf445b2b71..e7b6b46c84 100644 --- a/target/linux/mediatek/mt7622/config-6.6 +++ b/target/linux/mediatek/mt7622/config-6.6 @@ -213,6 +213,7 @@ CONFIG_HAS_DMA=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_IOPORT_MAP=y +CONFIG_HWMON=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_MTK=y CONFIG_I2C=y @@ -464,6 +465,7 @@ CONFIG_THERMAL_GOV_BANG_BANG=y CONFIG_THERMAL_GOV_FAIR_SHARE=y CONFIG_THERMAL_GOV_STEP_WISE=y CONFIG_THERMAL_GOV_USER_SPACE=y +CONFIG_THERMAL_HWMON=y CONFIG_THERMAL_OF=y CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_THREAD_INFO_IN_TASK=y