ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs
authorCaesar Wang <wxt@rock-chips.com>
Fri, 15 Apr 2016 08:25:52 +0000 (16:25 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 15 Apr 2016 11:56:29 +0000 (19:56 +0800)
commit3db05ce518bb47a22cda6c831c9a314e0fe44ff7
treed39426854cfee8440270c4e5bebf6fdc2ddbadbf
parentec24f1ae50a370c9ef7b7166156b79b4d4feee5f
ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs

This adds thermal zone node to rk3399 dtsi, rk3399 thermal data is
including the cpu and gpu sensor zone node.
At the moment, remove the rk3368 thermal data from rk399 dtsi.

The thermal zone node is the node containing all the required info
for describing a thermal zone, including its cooling device bindings. The
thermal zone node must contain, apart from its own properties, one sub-node
containing trip nodes and one sub-node containing all the zone cooling maps

The following is the parameter is introduced:

* polling-delay:
The maximum number of milliseconds to wait between polls

* polling-delay-passive:
The maximum number of milliseconds to wait between polls when performing
passive cooling.

* trips:
A sub-node which is a container of only trip point nodes required to describe
the thermal zone.

* cooling-maps:
A sub-node which is a container of only cooling device map nodes, used to
describe the relation between trips and cooling devices.

* cooling-device:
A phandle of a cooling device with its specifier, referring to which cooling
device is used in this cooling specifier binding. In the cooling specifier,
the first cell is the minimum cooling state and the second cell is the maximum
cooling state used in this map.

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