]> git.karo-electronics.de Git - linux-beck.git/commit
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>
Tue, 27 Sep 2016 06:02:16 +0000 (14:02 +0800)
commit23f75e4893b488c41a940f730ae7760376e02426
tree119cdda30ca4c12dfe7688ee1c2def3b9de8b69f
parent5b97469a55872a30a0d53a1279a8ae8b1c68b52c
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