thermal: rockchip: optimize sensor auto accessing period
authorRocky Hao <rocky.hao@rock-chips.com>
Wed, 27 Jul 2016 14:10:43 +0000 (22:10 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Aug 2016 07:53:08 +0000 (15:53 +0800)
commitdc62538db9d38361a035b30b958d3cafef7323c1
treee54fcd4a3be0f8a0cb39d9edde7c03e5f32c570d
parent3f4807960692658d66cec573b0064b41dad5051f
thermal: rockchip: optimize sensor auto accessing period

In less than 10 ms, the temperature of soc will arise 10 degree. 250 ms
is too big for soc tempeture control. Setting 2.5 ms will speed up
temperature accessing speed but introduce no more cpu's computing overhead.
We set AUTO_PERIOD_TIME and TSADCV3_AUTO_PERIOD_HT_TIME the same value,
because normal temperature update speed is also our consern in IPA.

Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: linux-pm@vger.kernel.org
Tested-by: Stephen Barber <smbarber@chromium.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/rockchip_thermal.c
This page took 0.025346 seconds and 5 git commands to generate.