xref: /openbmc/linux/drivers/thermal/mediatek/Kconfig (revision 0526b56c)
1config MTK_THERMAL
2	tristate "MediaTek thermal drivers"
3	depends on THERMAL_OF
4	help
5	  This is the option for MediaTek thermal software solutions.
6	  Please enable corresponding options to get temperature
7	  information from thermal sensors or turn on throttle
8	  mechaisms for thermal mitigation.
9
10if MTK_THERMAL
11
12config MTK_SOC_THERMAL
13	tristate "AUXADC temperature sensor driver for MediaTek SoCs"
14	depends on HAS_IOMEM
15	help
16	  Enable this option if you want to get SoC temperature
17	  information for MediaTek platforms.
18	  This driver configures thermal controllers to collect
19	  temperature via AUXADC interface.
20
21config MTK_LVTS_THERMAL
22        tristate "LVTS Thermal Driver for MediaTek SoCs"
23        depends on HAS_IOMEM
24        help
25          Enable this option if you want to get SoC temperature
26          information for supported MediaTek platforms.
27          This driver configures LVTS (Low Voltage Thermal Sensor)
28          thermal controllers to collect temperatures via ASIF
29          (Analog Serial Interface).
30
31config MTK_LVTS_THERMAL_DEBUGFS
32       bool "LVTS thermal debugfs"
33       depends on MTK_LVTS_THERMAL && DEBUG_FS
34       help
35         Enable this option to debug the internals of the device driver.
36
37endif
38