mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-10 23:18:10 +09:00
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: commitb0d7033"thermal: rockchip: Support the RK3399 SoCs in thermal driver"7b02a5e"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> (cherry picked from git.kernel.org evalenti/linux-soc-thermal fixes commit7ea38c6c36) Change-Id: I9d39b947e197393688ed58bf079e519e7d5a6d9e