From 330321421a0a19f1299dc23d57bf884c5b44f7ac Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 4 Oct 2024 14:04:25 +0100 Subject: [PATCH] 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 --- target/linux/mediatek/mt7622/config-6.6 | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2