Hi6220 has octa-core so it has quite high power consumption when run benchmark and introduces high temperature for SoC. So need enable thermal gover to control temperature and also cannot hurt much for performance after impose cooling operations on CPU. This patch series is to enable power allocator for Hi6220. The power allocator just uses only one sensor, so patch 1 is to fix sensor driver so let it can initialize driver successfully with only enabling one sensor. After profiling on Hikey, the power model has been simplized with only dynamic coefficent, and now it's convienence to pass it from CPU node. So patch 2 and 3 bind sensor and pass power model parameters. This patch series have been tested on 96boards Hikey. Leo Yan (3): thermal: hisilicon: support to use any sensor arm64: dts: register Hi6220's thermal sensor arm64: dts: register Hi6220's thermal zone for power allocator arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 45 +++++++++++++++++++++++++++++++ drivers/thermal/hisi_thermal.c | 33 ++++++++++++++--------- 2 files changed, 65 insertions(+), 13 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html