arm64: dts: renesas: r8a77990: Create thermal zone to support IPA
authorDien Pham <dien.pham.ry@renesas.com>
Thu, 23 May 2019 14:25:43 +0000 (16:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 6 Jun 2019 08:59:56 +0000 (10:59 +0200)
commit8fa7d18f9ee2dc20b5ad430e9b0c5336619f05e4
tree50d01ccde11bc4898f620be281474776daeb276c
parenteb2cd8c259d4593d6a75118f4671bcf9f5e11365
arm64: dts: renesas: r8a77990: Create thermal zone to support IPA

Setup a thermal zone driven by SoC temperature sensor.
Create passive trip points and bind them to CPUFreq cooling
device that supports power extension.

In R-Car Gen3, IPA is supported for only one channel
Reason:
  Currently, IPA controls base on only CPU temperature.
  And only one thermal channel is assembled closest
  CPU cores is selected as target of IPA.
  If other channels are used, IPA controlling is not properly.

A single cooling device is described for all A53 CPUs as this
reflects that physically there is only one cooling device present.

This patch improves on an earlier version by:

* Omitting cooling-max-level and cooling-min-level properties which
  are no longer present in mainline as of v4.17
* Removing an unused trip-point0 node sub-property from the trips
  property.
* Defers adding dynamic-power-coefficient properties to a separate patch as
  these are properties of the CPU.

The long signed-off by chain below reflects many revisions, mainly
internal, that this patch has been through.

Signed-off-by: Dien Pham <dien.pham.ry@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77990.dtsi