thermal: add brcmstb AVS TMON driver
authorBrian Norris <computersforpeace@gmail.com>
Tue, 26 Sep 2017 21:27:59 +0000 (14:27 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 1 Nov 2017 02:32:19 +0000 (19:32 -0700)
commit9e03cf1b2dd54733d0d2c5811b78257d78562c03
tree1b0518e9c25c66e6e18593937a072ffbfdeaff75
parentb590c51c9b956f465acc73a2864d3a1444c76c3b
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: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig
drivers/thermal/broadcom/Kconfig
drivers/thermal/broadcom/Makefile
drivers/thermal/broadcom/brcmstb_thermal.c [new file with mode: 0644]