mbox series

[0/6] Add IPQ5332 TSENS support

Message ID 20230710103735.1375847-1-quic_ipkumar@quicinc.com
Headers show
Series Add IPQ5332 TSENS support | expand

Message

Praveenkumar I July 10, 2023, 10:37 a.m. UTC
IPQ5332 uses tsens v2.3.3 IP with combined interrupt for
upper/lower and critical. IPQ5332 does not have RPM and
kernel has to take care of TSENS enablement and calibration.
This patch series adds the sensor enablement and calibration
support. On top, adds IPQ5332 TSENS support.

Praveenkumar I (6):
  dt-bindings: thermal: tsens: Add nvmem cells for calibration data
  thermal/drivers/tsens: Add TSENS enable and calibration support for V2
  dt-bindings: thermal: tsens: Add ipq5332 compatible
  arm64: dts: qcom: ipq5332: Add tsens node
  arm64: dts: qcom: ipq5332: Add thermal zone nodes
  thermal/drivers/tsens: Add IPQ5332 support

 .../bindings/thermal/qcom-tsens.yaml          |  34 +++-
 arch/arm64/boot/dts/qcom/ipq5332.dtsi         | 185 ++++++++++++++++++
 drivers/thermal/qcom/tsens-v2.c               | 129 ++++++++++++
 drivers/thermal/qcom/tsens.c                  |  40 +++-
 drivers/thermal/qcom/tsens.h                  |  58 +++++-
 5 files changed, 440 insertions(+), 6 deletions(-)