From d1cc90c849cd043c1641c239e7e2c277f2ae3410 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 18 Jan 2024 22:23:24 +0100 Subject: [PATCH 0/2] Add the thermal zones of the rk3588 to its dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The driver got added back in 45d7b3867a5cabb97fc31f16122cda8540c3a30c, but the dts never got updated, so here it is! I’ve added it to the rk3588s because that’s where most of the definitions are, but I’ve only tested on a rk3588 so maybe there are subtle changes. The TRM also documents slightly different values (in part 1 section 14.5.3) than the driver, but I’ve left the values alone since I have no way to determine which one is (more) correct. Only the CPU is properly mapped, as neither the GPU nor the NPU have been added to the dts for now, I’ve left some TODOs there. All of the thermal zones report almost the same value on my board, I’m not sure if this is due to a programming error or if this is to be expected. Emmanuel Gil Peyrot (2): arm64: dts: rockchip: Add the rk3588 thermal zones arm64: dts: rockchip: Enable the tsadc on Rock-5B .../boot/dts/rockchip/rk3588-rock-5b.dts | 4 + arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 180 ++++++++++++++++++ 2 files changed, 184 insertions(+) -- 2.43.0