[openwrt/openwrt] mediatek: mt7622: enable HWMON in kernel config

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 15 10:11:33 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/330321421a0a19f1299dc23d57bf884c5b44f7ac

commit 330321421a0a19f1299dc23d57bf884c5b44f7ac
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Oct 4 14:04:25 2024 +0100

    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 <daniel at makrotopia.org>
---
 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




More information about the lede-commits mailing list