ARM64: dts: rockchip: add the thermal main info found on rk3399
authorCaesar Wang <wxt@rock-chips.com>
Thu, 10 Mar 2016 09:58:36 +0000 (17:58 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Mon, 14 Mar 2016 03:16:00 +0000 (11:16 +0800)
commitca96c1efd945b630acfbce6fc67a50773916bc52
treef55ddf3c7f3aa715d7fd05b57a10fc74b0b1cfb1
parentd4a6147e3d5173733bfc411ef11ad8f73d58cc55
ARM64: dts: rockchip: add the thermal main info found on rk3399

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

Basically has the following content:

1) TSADC controller:
    Add the needed attributes for rk3399 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.

Change-Id: I1361beeb85e6d4a134b4640c16440452aa950e16
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi