thermal: cooldev: update cpucore cooldev for multi cluster chip [1/1]
authorHuan Biao <huan.biao@amlogic.com>
Mon, 4 Mar 2019 05:45:05 +0000 (13:45 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 14 Mar 2019 07:28:17 +0000 (23:28 -0800)
commita7662d5b25b513013a4c7f78b48e7ed11800fd56
tree5b1bc11510f2eccd1c69df2e9d78c1b98e5075ae
parent291cf50febde0367bcc767172f41a10892d3ba02
thermal: cooldev: update cpucore cooldev for multi cluster chip [1/1]

PD#SWPL-5366

Problem:
g12b cpucore cooling devices hotplug a little core and a big
when hot trippoint trigger, need to update cooling devices that
hotplug one core one hotstep for big core to little core.

Solution:
1.modify cpucore cooling for new solution.
2.modify hotplug core for can hotplug all big core.
3.ipa dts no cluster id, all cpucore is one cooling device
  dts have cluster id, one cluster is one cooling devices.

Verify:
test on g12b w400.

Change-Id: I3320b007e35e7ac415cf7623f74f0a5153fed9b5
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
arch/arm/boot/dts/amlogic/mesong12b.dtsi
arch/arm/boot/dts/amlogic/mesong12b_a.dtsi
arch/arm64/boot/dts/amlogic/mesong12b.dtsi
arch/arm64/boot/dts/amlogic/mesong12b_a.dtsi
drivers/amlogic/cpu_hotplug/cpu_hotplug.c
drivers/amlogic/thermal/cpucore_cooling.c
drivers/amlogic/thermal/meson_cooldev.c
include/linux/amlogic/cpucore_cooling.h