devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] thermal: hisilicon: enable power allocator for Hi6220
@ 2016-02-20 15:52 Leo Yan
  2016-02-20 15:52 ` [PATCH 1/3] thermal: hisilicon: support to use any sensor Leo Yan
       [not found] ` <1455983529-9559-1-git-send-email-leo.yan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Leo Yan @ 2016-02-20 15:52 UTC (permalink / raw)
  To: Wei Xu, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell,
	Kumar Gala, Catalin Marinas, Will Deacon, Zhang Rui,
	Eduardo Valentin, kongxinwei, Javi Merino, Punit Agrawal
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-pm, Leo Yan

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-25  2:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 15:52 [PATCH 0/3] thermal: hisilicon: enable power allocator for Hi6220 Leo Yan
2016-02-20 15:52 ` [PATCH 1/3] thermal: hisilicon: support to use any sensor Leo Yan
     [not found] ` <1455983529-9559-1-git-send-email-leo.yan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-02-20 15:52   ` [PATCH 2/3] arm64: dts: register Hi6220's thermal sensor Leo Yan
2016-02-20 15:52   ` [PATCH 3/3] arm64: dts: register Hi6220's thermal zone for power allocator Leo Yan
2016-02-24 18:28     ` Javi Merino
2016-02-25  2:41       ` Leo Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).