UPSTREAM: ARM: dts: rockchip: add the thermal main info found on rk3228
authorCaesar Wang <wxt@rock-chips.com>
Mon, 15 Feb 2016 07:33:32 +0000 (15:33 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 29 Jun 2016 07:01:33 +0000 (15:01 +0800)
commite0e2d61c2cd38e15045c23a4cea5b6ea44bc0d45
tree6c671d01d0e9e3659cc8bf8a86bb6f0b6ec78d4f
parentfd032fe787c8aebf93b44e1c3edf25d3dac30f3a
UPSTREAM: ARM: dts: rockchip: add the thermal main info found on rk3228

This patch adds the thermal needed main information for rk3228 SoCS.

Basically has the following content:

1) TSADC controller:
Add the needed attributes for rk3036 TSADC controller.

Especially for the TSHUT, in some cases if we are unable to shut it down
in orderly fashion (says: kernel is stuck holding a lock or similar), then
hardware TSHUT will reset it.
If the temperature is over 95C over a period of time the thermal shutdown
of the tsadc is invoked with can either reset the entire chip via the CRU,
or notify the PMIC via a GPIO. This should be set in the specific board.

2) Thermal zones:
Add the needed device mode for thermal generic framework.
Detail in Documentation/devicetree/bindings/thermal/thermal.txt.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
v4.8-armsoc/dts32 commit 7796031eec9e41099af35bc531f04843358fa3f1)

Change-Id: I415d5ac7ba2bca2259821dae6af98970e039d455
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
arch/arm/boot/dts/rk3228.dtsi