]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: thermal: amlogic: Add support for T7
authorRonald Claveau <linux-kernel-dev@aliel.fr>
Fri, 24 Apr 2026 15:45:09 +0000 (17:45 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Tue, 26 May 2026 11:24:31 +0000 (13:24 +0200)
commitb1c8ccdbd4e92db05548bd3ad2a866bacec07490
tree78534f42a9e53c062ce7dd32f561150c4f50b38e
parent31da1d4451c88b63779bc3f855ae15f718c0e539
dt-bindings: thermal: amlogic: Add support for T7

Add the amlogic,t7-thermal compatible for the Amlogic T7 thermal sensor.

Unlike existing variants which use a phandle to the ao-secure syscon,
the T7 relies on a secure monitor interface described by a phandle and
a sensor index argument.

The T7 integrates multiple thermal sensors, all accessed through the
same SMC call. The sensor index argument is required to identify which
sensor's calibration data the secure monitor should return, as a single
SM_THERMAL_CALIB_READ command serves all of them.

Introduce the amlogic,secure-monitor property as a phandle-array and
make amlogic,ao-secure or amlogic,secure-monitor conditionally required
depending on the compatible.

Signed-off-by: Ronald Claveau <linux-kernel-dev@aliel.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260424-add-thermal-t7-vim4-v5-1-9040ca36afe2@aliel.fr
Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml