Commit 9e03cf1b authored by Brian Norris's avatar Brian Norris Committed by Eduardo Valentin

thermal: add brcmstb AVS TMON driver

The AVS TMON core provides temperature readings, a pair of configurable
high- and low-temperature threshold interrupts, and an emergency
over-temperature chip reset. The driver utilizes the first two to
provide temperature readings and high-temperature notifications to
applications. The over-temperature reset is not exposed to
applications; this reset threshold is critical to the system and should
be set with care within the bootloader.

Applications may choose to utilize the notification mechanism, the
temperature reading mechanism (e.g., through polling), or both.
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarDoug Berger <opendmb@gmail.com>
Signed-off-by: default avatarMarkus Mayer <mmayer@broadcom.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent b590c51c
...@@ -408,7 +408,7 @@ config MTK_THERMAL ...@@ -408,7 +408,7 @@ config MTK_THERMAL
controller present in Mediatek SoCs controller present in Mediatek SoCs
menu "Broadcom thermal drivers" menu "Broadcom thermal drivers"
depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
source "drivers/thermal/broadcom/Kconfig" source "drivers/thermal/broadcom/Kconfig"
endmenu endmenu
......
...@@ -6,6 +6,13 @@ config BCM2835_THERMAL ...@@ -6,6 +6,13 @@ config BCM2835_THERMAL
help help
Support for thermal sensors on Broadcom bcm2835 SoCs. Support for thermal sensors on Broadcom bcm2835 SoCs.
config BRCMSTB_THERMAL
tristate "Broadcom STB AVS TMON thermal driver"
depends on ARCH_BRCMSTB || COMPILE_TEST
help
Enable this driver if you have a Broadcom STB SoC and would like
thermal framework support.
config BCM_NS_THERMAL config BCM_NS_THERMAL
tristate "Northstar thermal driver" tristate "Northstar thermal driver"
depends on ARCH_BCM_IPROC || COMPILE_TEST depends on ARCH_BCM_IPROC || COMPILE_TEST
......
obj-$(CONFIG_BCM2835_THERMAL) += bcm2835_thermal.o obj-$(CONFIG_BCM2835_THERMAL) += bcm2835_thermal.o
obj-$(CONFIG_BRCMSTB_THERMAL) += brcmstb_thermal.o
obj-$(CONFIG_BCM_NS_THERMAL) += ns-thermal.o obj-$(CONFIG_BCM_NS_THERMAL) += ns-thermal.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment