[PATCH V3 0/4] Add support for IPQ5018 tsens

From: Sricharan R
Date: Fri Sep 22 2023 - 07:51:37 EST


IPQ5018 has tsens V1.0 IP with 4 sensors and 1 interrupt.
There is no RPM present in the soc to do tsens early enable.
Adding support for the same here.

[v3]
*) Added the tsens-ipq5018 as new binding without rpm
*) Added Dmitry's Reviewed tag
*) Fixed Dmitry's comments for error checks in init_ipq5018
*) Ordered the qfprom device node properties

[v2]
*) Sorted the compatible and removed example
*) Fixed the name for new tsens_feature
*) Used tsend_calibrate_common instead of legacy
and addressed comments from Dmitry.
*) Squashed patch 3 & 4
*) Fixed node names, order and added qfprom cells
for points seprately
*) Squashed patch 6 & 7

Sricharan Ramabadhran (4):
dt-bindings: thermal: qcom-tsens: Add ipq5018 compatible
thermal/drivers/qcom: Add new feat for soc without rpm
thermal/drivers/tsens: Add support for IPQ5018 tsens
arm64: dts: qcom: ipq5018: Add tsens node

.../bindings/thermal/qcom-tsens.yaml | 4 +
arch/arm64/boot/dts/qcom/ipq5018.dtsi | 169 ++++++++++++++++++
drivers/thermal/qcom/tsens-v1.c | 60 +++++++
drivers/thermal/qcom/tsens.c | 5 +-
drivers/thermal/qcom/tsens.h | 5 +-
5 files changed, 241 insertions(+), 2 deletions(-)

--
2.34.1