thermal: rockchip: enhance the tsadc's bandgap feature for rk3399
authorRocky Hao <rocky.hao@rock-chips.com>
Wed, 27 Jul 2016 14:10:42 +0000 (22:10 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Aug 2016 07:53:07 +0000 (15:53 +0800)
commit3f4807960692658d66cec573b0064b41dad5051f
tree95f8f2fd2d242c564ad24b5be100240b6f698cc8
parente7389471a91fe7e4629821ddfcce0bece0a8399b
thermal: rockchip: enhance the tsadc's bandgap feature for rk3399

Due to the voltage ripple, the sensing data of the tsadc is not accurate.
And in this patch, the bandgap feature is enhanced to remove the voltage
ripple, and then the tsadc can sense the temperature more precisely.

Obsolete codes are removed as well.

Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.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.025524 seconds and 5 git commands to generate.