
On 9 October 2017 at 14:17, Faiz Abbas faiz_abbas@ti.com wrote:
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
v2:
- Removed extra elements from ti_bandgap
- Changed base address to ulong
- Changed to udev to dev to maintain consistency
- minor format changes
common/spl/Kconfig | 8 + configs/dra7xx_evm_defconfig | 3 + .../thermal/ti_soc_thermal.txt | 35 ++++ drivers/Makefile | 2 +- drivers/thermal/Kconfig | 6 + drivers/thermal/Makefile | 1 + drivers/thermal/ti-bandgap.c | 197 +++++++++++++++++++++ 7 files changed, 251 insertions(+), 1 deletion(-) create mode 100644 doc/device-tree-bindings/thermal/ti_soc_thermal.txt create mode 100644 drivers/thermal/ti-bandgap.c
Reviewed-by: Simon Glass sjg@chromium.org