thermal: tsens: Update TSENS driver

Update using of_thermal set_trips() API to set high
and low temperature trip thresholds. This utility
allows of_thermal to provide the aggregated high
and low temperature threshold to the driver. As
part of handling trip notification check if the
threshold was crossed against current temperature.
If the trip threshold is not crossed rearm the trip
threshold instead of notifying the client.

Update driver to not read the port ID or client ID
passed as an optional property from devicetree.
These properties are not required after switching to
register the respective port ID for each controller
using of-thermal during sensor registration. In
addition add separate properties for the SROT and TM
region. The regions may not have a fixed address offset.

Change-Id: If6be9e520a98380f7b7c65eca46d3c8951d5e551
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
4 files changed