thermal: rockchip: optimize sensor auto accessing period
authorRocky Hao <rocky.hao@rock-chips.com>
Fri, 1 Jul 2016 08:35:46 +0000 (16:35 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 6 Jul 2016 03:39:35 +0000 (11:39 +0800)
commit91f2cf28e15ee69dcbd268c234317ed36daf6440
treee242c03458f8ae6fe24b62dcb46c2e23e0bcb629
parent02783d8551b13565492f8208e3ca1f47dbee9200
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.

Change-Id: Ie8038a1ae5837ad4aa31b04d1f3ace299f82e396
Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
drivers/thermal/rockchip_thermal.c