[openwrt/openwrt] sunxi: 5.10: enable sun8i-thermal

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 24 11:28:15 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b

commit d9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Sat Oct 2 23:05:02 2021 +0800

    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 <amadeus at jmu.edu.cn>
---
 target/linux/sunxi/config-5.10          | 2 +-
 target/linux/sunxi/cortexa8/config-5.10 | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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



More information about the lede-commits mailing list