[PATCH 0/4] Add RK3308 TSADC support

Christopher Hoover ch at murgatroid.com
Sun Nov 29 22:01:43 PST 2026


The RK3308 TSADC is not supported upstream: there is no compatible, no
driver data and no node in rk3308.dtsi.  It is an RK3328-style TSADC
with two channels (channel 0 logic, channel 1 CPU), as in the Rockchip
vendor kernel.

Patch 1 adds the compatible to the binding, patch 2 the driver data,
patch 3 the TSADC node (disabled) and thermal zones to rk3308.dtsi,
patch 4 enables the TSADC on the Radxa ROCK Pi S.  Patches 1 and 2 are
for the thermal tree, patches 3 and 4 for the Rockchip tree.

Tested on a Radxa ROCK Pi S V1.3 (RK3308) running 6.18 with patch 2 and
an equivalent TSADC node and critical trips in a board DTS: both
channels read, in daily use.  The passive trips and the cpu0 cooling
map were not exercised.  The RK3308B variant is not covered.

dt_binding_check (rockchip-thermal.yaml) and dtbs_check (rk3308-evb,
rk3308-rock-pi-s) report nothing for these changes; checkpatch --strict
is clean.

Christopher Hoover (4):
  dt-bindings: rockchip-thermal: Add RK3308 compatible
  thermal/drivers/rockchip: Support RK3308 SoC in the thermal driver
  arm64: dts: rockchip: Add TSADC and thermal zones to rk3308
  arm64: dts: rockchip: Enable the TSADC on rk3308-rock-pi-s

 .../bindings/thermal/rockchip-thermal.yaml    |  1 +
 .../boot/dts/rockchip/rk3308-rock-pi-s.dts    |  4 ++
 arch/arm64/boot/dts/rockchip/rk3308.dtsi      | 70 +++++++++++++++++++
 drivers/thermal/rockchip_thermal.c            | 26 +++++++
 4 files changed, 101 insertions(+)


base-commit: f4585067150b85e33f60876149a6e742928da75e
-- 
2.53.0




More information about the Linux-rockchip mailing list