thermal: max77620: Add thermal driver for reporting junction temp
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 23 Aug 2016 08:20:27 +0000 (13:50 +0530)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:02:16 +0000 (14:02 +0800)
commitec4664b3fd6d565a79eb562e4339528f74eb1cca
tree0828814b91d910325d5caf25259012a167002c2d
parent94c2004ef530a9692ae9f417241eb44a51723c51
thermal: max77620: Add thermal driver for reporting junction temp

Maxim Semiconductor Max77620 supports alarm interrupts when
its die temperature crosses 120C and 140C. These threshold
temperatures are not configurable.

Add thermal driver to register PMIC die temperature as thermal
zone sensor and capture the die temperature warning interrupts
to notifying the client.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/max77620_thermal.c [new file with mode: 0644]