# 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.

config SPACEMIT_K3_TSENSOR
	tristate "SpacemiT K3 thermal sensor driver"
	depends on THERMAL_OF
	help
	  This driver provides support for the thermal sensor
	  integrated in the SpacemiT K3 SoC.

	  The thermal sensor monitors temperatures for seven thermal zones:
	  top, vpu, gpu, cluster0, cluster1, cluster2, and cluster3. It
	  supports reporting temperature values and handling high/low
	  threshold interrupts.

	  Say Y here if you want to enable thermal monitoring on SpacemiT K3.
	  If compiled as a module, it will be called k3_tsensor.

endmenu
