aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
diff options
context:
space:
mode:
authorChukun Pan <amadeus@jmu.edu.cn>2021-10-02 23:05:02 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-10-24 18:44:41 +0200
commitd9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b (patch)
tree391f33c9e310bfa92eb3462744f1c0f2ac4bacb2 /target/linux/sunxi
parent6b2ed6101e4c97691ba3aa94f25895be536b3870 (diff)
downloadupstream-d9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b.tar.gz
upstream-d9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b.tar.bz2
upstream-d9a580eb2eeb7333da9b8bb50abfdb8a45f9a98b.zip
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@jmu.edu.cn>
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r--target/linux/sunxi/config-5.102
-rw-r--r--target/linux/sunxi/cortexa8/config-5.101
2 files changed, 2 insertions, 1 deletions
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