From: Chukun Pan Date: Sat, 2 Oct 2021 15:05:02 +0000 (+0800) Subject: sunxi: 5.10: enable sun8i-thermal X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b;p=openwrt%2Fstaging%2Fxback.git sunxi: 5.10: enable sun8i-thermal Enable the sun8i-thermal driver to allow reading the temperature of the SoC. As suggested by mans0n, disable this driver in the a8 subtarget because it does not support yet. Tested on NanoPi R1S H5. Signed-off-by: Chukun Pan --- diff --git a/target/linux/sunxi/config-5.10 b/target/linux/sunxi/config-5.10 index 2f0a8ab968..fc6ae720b7 100644 --- a/target/linux/sunxi/config-5.10 +++ b/target/linux/sunxi/config-5.10 @@ -443,7 +443,7 @@ CONFIG_SUN8I_DE2_CCU=y CONFIG_SUN8I_H3_CCU=y CONFIG_SUN8I_R40_CCU=y CONFIG_SUN8I_R_CCU=y -# CONFIG_SUN8I_THERMAL is not set +CONFIG_SUN8I_THERMAL=y CONFIG_SUN8I_V3S_CCU=y CONFIG_SUN9I_A80_CCU=y CONFIG_SUNXI_CCU=y diff --git a/target/linux/sunxi/cortexa8/config-5.10 b/target/linux/sunxi/cortexa8/config-5.10 index 00c535f865..579c81c3dc 100644 --- a/target/linux/sunxi/cortexa8/config-5.10 +++ b/target/linux/sunxi/cortexa8/config-5.10 @@ -7,3 +7,4 @@ CONFIG_PGTABLE_LEVELS=2 # CONFIG_PHY_SUN9I_USB is not set # CONFIG_SPI_SUN6I is not set # CONFIG_SUN8I_A83T_CCU is not set +# CONFIG_SUN8I_THERMAL is not set