Files
linux-stable-mirror/drivers/thermal/spacemit/Kconfig
T
Shuwei WuandDaniel Lezcano 296a977f2b thermal/drivers/spacemit/k1: Add thermal sensor support
The thermal sensor on K1 supports monitoring five temperature zones.
The driver registers these sensors with the thermal framework
and supports standard operations:
- Reading temperature (millidegree Celsius)
- Setting high/low thresholds for interrupts

Signed-off-by: Shuwei Wu <shuwei.wu@mailbox.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Reviewed-by: Yao Zi <me@ziyao.cc>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Tested-by: Vincent Legoll <legoll@online.fr> # OrangePi-RV2
Tested-by: Gong Shuai <gsh517025@gmail.com>
Link: https://patch.msgid.link/20260427-k1-thermal-v5-2-df39187480ed@mailbox.org
2026-06-03 09:12:31 +02:00

20 lines
651 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
menu "SpacemiT thermal drivers"
depends on ARCH_SPACEMIT || COMPILE_TEST
config SPACEMIT_K1_TSENSOR
tristate "SpacemiT K1 thermal sensor driver"
depends on THERMAL_OF
help
This driver provides support for the thermal sensor
integrated in the SpacemiT K1 SoC.
The thermal sensor monitors temperatures for five thermal zones:
soc, package, gpu, cluster0, and cluster1. It supports reporting
temperature values and handling high/low threshold interrupts.
Say Y here if you want to enable thermal monitoring on SpacemiT K1.
If compiled as a module, it will be called k1_tsensor.
endmenu