]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: rockchip: fix the tsadc sequence output on rk3228/rk3399
authorCaesar Wang <wxt@rock-chips.com>
Mon, 15 Feb 2016 07:33:31 +0000 (15:33 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 1 Mar 2016 05:06:39 +0000 (21:06 -0800)
commiteff19edf9276a170b197b5790c724a104534891d
tree7916b787d947e2630fb02f76119f300ad8e3473e
parent174d15d8388cf0adaf8a96791b244868138b1953
thermal: rockchip: fix the tsadc sequence output on rk3228/rk3399

As the TRM says, add the tsadc_q_sel to control the temperature-code
sequence since the rk3228/rk3399 need set this bit (1024 - tsadc_q)
as output.

Fixes: commit
90aa00b "thermal: rockchip: Support the RK3399 SoCs in thermal driver"
aa5fa51 "thermal: rockchip: Support the RK3228 SoCs in thermal driver"

Reported-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rockchip_thermal.c