From: David Bauer <mail@david-bauer.net>
Date: Tue, 28 Jul 2020 22:28:57 +0000 (+0200)
Subject: rockchip: enable rockchip-thermal
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c5360894dc9c064bf920c1b7a2cb363d105207d5;p=openwrt%2Fstaging%2Fxback.git

rockchip: enable rockchip-thermal

Enable the rockchip-thermal driver to allow reading the temperature of
the SoC.

Tested on NanoPi R2S

Signed-off-by: David Bauer <mail@david-bauer.net>
---

diff --git a/target/linux/rockchip/armv8/config-5.4 b/target/linux/rockchip/armv8/config-5.4
index 2615684fed..d059e8abbc 100644
--- a/target/linux/rockchip/armv8/config-5.4
+++ b/target/linux/rockchip/armv8/config-5.4
@@ -387,7 +387,7 @@ CONFIG_ROCKCHIP_IOMMU=y
 CONFIG_ROCKCHIP_MBOX=y
 CONFIG_ROCKCHIP_PHY=y
 CONFIG_ROCKCHIP_PM_DOMAINS=y
-# CONFIG_ROCKCHIP_THERMAL is not set
+CONFIG_ROCKCHIP_THERMAL=y
 CONFIG_ROCKCHIP_TIMER=y
 CONFIG_RSEQ=y
 CONFIG_RTC_CLASS=y