From 8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1 Mon Sep 17 00:00:00 2001 From: Faiz Abbas Date: Tue, 14 Nov 2017 16:12:31 +0530 Subject: thermal: ti-bandgap: Add support for temperature sensor The dra7xx series of SOCs contain a temperature sensor and an associated analog-to-digital converter (ADC) which produces an output which is proportional to the SOC temperature. Add support for this temperature sensor. Signed-off-by: Faiz Abbas Reviewed-by: Simon Glass --- common/spl/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common') diff --git a/common/spl/Kconfig b/common/spl/Kconfig index e987c07f5a7..c62b82fd680 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -605,6 +605,14 @@ config SPL_SPI_SUPPORT enable SPI drivers that are needed for other purposes also, such as a SPI PMIC. +config SPL_THERMAL + bool "Driver support for thermal devices" + help + Enable support for temperature-sensing devices. Some SoCs have on-chip + temperature sensors to permit warnings, speed throttling or even + automatic power-off when the temperature gets too high or low. Other + devices may be discrete but connected on a suitable bus. + config SPL_USB_HOST_SUPPORT bool "Support USB host drivers" help -- cgit v1.2.3