diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2017-11-14 16:12:31 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-21 08:03:38 -0500 |
commit | 8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1 (patch) | |
tree | ff43f81e43bc6b1992117d7d7e0c2e9ee143b455 /common | |
parent | 5ad1fec6edcfa7d8b374571cc3c40da7dde8898b (diff) | |
download | u-boot-8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1.tar.gz u-boot-8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1.tar.bz2 u-boot-8502f9f6d7781b5f461d7e3f7c958a45f64fdfa1.zip |
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 <faiz_abbas@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index e987c07f5a..c62b82fd68 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 |