thermal: qpnp-adc-tm: Add ADC_TM driver snapshot

Threshold monitor for ADC (ADC_TM) driver supports
clients of the VADC to set thresholds and receive
notification on threshold crossing. Clients include
thermal clients monitoring thermistors and battery
clients monitoring voltage phone power.

This snapshot is taken as of msm-4.4
'commit <4f1f60e00d6a> ("Merge "ARM: dts:
msm: add nt35597 sharp panel node for sdm660"")'.

To support activation, add the
supported trip types and activation modes for
thermal from 4.4 kernel.

Change-Id: Icde1fde2cd7ff9a770324c3bf96a10558556cd31
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 7d3b5312..d9489a7 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -56,3 +56,4 @@
 obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
 obj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o
 obj-$(CONFIG_GENERIC_ADC_THERMAL)	+= thermal-generic-adc.o
+obj-$(CONFIG_THERMAL_QPNP_ADC_TM)	+= qpnp-adc-tm.o