XzAOSP: Fransisco Franco's Thermal Driver

Conflicts:
	drivers/thermal/msm_thermal.c

Change-Id: Id42526b8c60b3fedf65a04b3e41b1208445f5492
Thermal: Tweak scaling and monitoring period
Thermal: Make Max CPU frequency part of the array. This prevents CPU Max from going into 1.8~1.9 GHz range
Thermal: Add dynamic monitoring period. Increase refresh rate as temperature goes higher
msm: thermal: no need for this check.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: thermal: the wq can freezes during freezer phase.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>