staging: OMAP4+: thermal: introduce bandgap temperature sensor
authorEduardo Valentin <eduardo.valentin@ti.com>
Thu, 12 Jul 2012 16:02:29 +0000 (19:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 02:02:47 +0000 (19:02 -0700)
commit8feaf0ce1a04328c490a4400b9e457f1f88252c8
tree6f1f873b68040b0a04f416cba5b7bac142455475
parent493aa896cbed9e5a60f498076d4e3145335cf4c9
staging: OMAP4+: thermal: introduce bandgap temperature sensor

In the System Control Module, OMAP supplies a voltage reference
and a temperature sensor feature that are gathered in the band
gap voltage and temperature sensor (VBGAPTS) module. The band
gap provides current and voltage reference for its internal
circuits and other analog IP blocks. The analog-to-digital
converter (ADC) produces an output value that is proportional
to the silicon temperature.

This patch provides a platform driver which expose this feature.
It is moduled as a MFD child of the System Control Module core
MFD driver.

This driver provides only APIs to access the device properties,
like temperature, thresholds and update rate.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/omap-thermal/Kconfig [new file with mode: 0644]
drivers/staging/omap-thermal/Makefile [new file with mode: 0644]
drivers/staging/omap-thermal/TODO [new file with mode: 0644]
drivers/staging/omap-thermal/omap-bandgap.c [new file with mode: 0644]
drivers/staging/omap-thermal/omap-bandgap.h [new file with mode: 0644]
drivers/staging/omap-thermal/omap_bandgap.txt [new file with mode: 0644]