Commit e7c207c9 authored by Bhupesh Sharma's avatar Bhupesh Sharma
Browse files

FROMLIST: firmware: qcom_scm: Add support for tsens reinit workaround



Some versions of QCoM tsens controller might enter a
'bad state' while running stability tests causing sensor
temperatures/interrupts status to be in an 'invalid' state.

It is recommended to re-initialize the tsens controller
via trustzone (secure registers) using scm call(s) when that
happens.

Add support for the same in the qcom_scm driver.

Cc: Amit Kucheria <amitk@kernel.org>
Cc: Thara Gopinath <thara.gopinath@gmail.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
(am from https://lore.kernel.org/linux-arm-msm/20220701145815.2037993-2-bhupesh.sharma@linaro.org/

)
   - list of conflicts:
	downstream only smc patches cause conflict in 'qcom_scm.h'
Signed-off-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
parent 9e6eb1ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment