]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 26 Mar 2016 23:54:13 +0000 (00:54 +0100)
commit7796031eec9e41099af35bc531f04843358fa3f1
treebbf0561ab7bc346dd2b56b0f981350a178a227fb
parentfe95effb4c381355e38f5bffced4917a2b6dc7d3
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>
arch/arm/boot/dts/rk3228.dtsi