sunxi: 5.10: enable sun8i-thermal
authorChukun Pan <amadeus@jmu.edu.cn>
Sat, 2 Oct 2021 15:05:02 +0000 (23:05 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Oct 2021 16:44:41 +0000 (18:44 +0200)
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>
target/linux/sunxi/config-5.10
target/linux/sunxi/cortexa8/config-5.10

index 2f0a8ab968157702d0bbb922b1040dc2acb9d1c5..fc6ae720b7bd172308f92d10b2ad6206dbd4fc5a 100644 (file)
@@ -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
index 00c535f8654d584f91db3445efeb8397fb7fe53c..579c81c3dcb22a2cbfbb8a052f11ac429bd150a7 100644 (file)
@@ -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