Re: [PATCH V3 3/4] thermal/drivers/tsens: Add support for IPQ5018 tsens

From: Dmitry Baryshkov
Date: Sat Sep 23 2023 - 14:46:58 EST


On Fri, 22 Sept 2023 at 14:51, Sricharan R
<srichara@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> From: Sricharan Ramabadhran <quic_srichara@xxxxxxxxxxx>
>
> IPQ5018 has tsens IP V1.0, 4 sensors and 1 interrupt.
> The soc does not have a RPM, hence tsens has to be reset and
> enabled in the driver init. Adding the driver support for same.
>
> Signed-off-by: Sricharan Ramabadhran <quic_srichara@xxxxxxxxxxx>
> ---
> [v3] Fixed Dmitry's comments for error checks in init_ipq5018
>
> drivers/thermal/qcom/tsens-v1.c | 60 +++++++++++++++++++++++++++++++++
> drivers/thermal/qcom/tsens.c | 3 ++
> drivers/thermal/qcom/tsens.h | 2 +-
> 3 files changed, 64 insertions(+), 1 deletion(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>


--
With best wishes
Dmitry