Revert "msm_thermal: remove platform driver"

This reverts commit 4bbfedb0a432e6b6abb7247fe5b48f54e7cf777a.
Revert "thermal: fix previous lazyness"

This reverts commit eefcbe2186c83c2e33cc910c2dbdfdc263363657.
Revert "thermal: update upstream msm_thermal with 3-phase control"

This reverts commit 6d4910c10b94add3bf706ff58d7221a16093c07a.
msm_thermal: rollback pre-motley
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
msm thermal: enhancements

1) Smart polling based on temp (poll slower when cooler, faster when
warmer).

2) Added low frequency index so we don't throttle too low and kill
performance. When warming normally (throttle temp is reached) it will
step down by the freq_step until back under control. The lowest
frequency step possible is the specified by the low freq index.

3) Added throttle max (hardcoded at 80C). If it reaches the
throttle max, it will immediately throttle down to the min_freq_index
instead of stepping down 2 frequency steps at a time like when it hits
the throttle temp.

4) Added tuneables

/sys/module/msm_thermal/parameters/throttle_temp
/sys/module/msm_thermal/parameters/min_freq_index
/sys/module/msm_thermal/parameters/thermal_debug

- add board-8960