Skip to content

thermal: tsens: Add support for QCS404 platform

Amit Kucheria linux-arm-msm linux-devicetree linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 6 repliesIn review
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Fix a conversion error in the get_temp routine the caused negative temperature readings (Reported by Khasim)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt: thermal: tsens: Add bindings for qcs404Documentation/devicetree/bindings/thermal/qcom-tsens.txt+3 -00 replies
2/4drivers: thermal: tsens: Add generic support for TSENS v1 IPdrivers/thermal/qcom/Makefile drivers/thermal/qcom/tsens-common.c drivers/thermal/qcom/tsens-v1.c +2 more+203 -33 replies
3/4arm64: dts: qcom: qcs404: Add tsens controllerarch/arm64/boot/dts/qcom/qcs404.dtsi+20 -00 replies
4/4arm64: dts: qcom: qcs404: Add thermal zones for each sensorarch/arm64/boot/dts/qcom/qcs404.dtsi+206 -03 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchVinod Koul
1/4R-b T-b
2/4R-b T-b
3/4R-b T-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] thermal: tsens: Add support for QCS404 platform

Add support for the Qualcomm QCS404 platform that contains v1 of the TSENS IP. Introduce a fallback binding to handle "v1" functionality.

These patches have been tested on top of 4.20-rc3 + various qcs404-related DT patches now in Andy's ci-next branch[1].

Changes since v2:
- Fix a conversion error in the get_temp routine the caused negative temperature readings (Reported by Khasim)

Changes since v1:
- Change p1 and p2 to be fixed-size arrays
- Refactor DT entries to be sorted by address, Thanks Vinod
- Added Acks

Amit Kucheria (4):
dt: thermal: tsens: Add bindings for qcs404
drivers: thermal: tsens: Add generic support for TSENS v1 IP
arm64: dts: qcom: qcs404: Add tsens controller
arm64: dts: qcom: qcs404: Add thermal zones for each sensor

 .../bindings/thermal/qcom-tsens.txt           |   3 +
 arch/arm64/boot/dts/qcom/qcs404.dtsi          | 226 ++++++++++++++++++
 drivers/thermal/qcom/Makefile                 |   2 +-
 drivers/thermal/qcom/tsens-common.c           |   2 +-
 drivers/thermal/qcom/tsens-v1.c               | 196 +++++++++++++++
 drivers/thermal/qcom/tsens.c                  |   3 +
 drivers/thermal/qcom/tsens.h                  |   3 +-
 7 files changed, 432 insertions(+), 3 deletions(-)
 create mode 100644 drivers/thermal/qcom/tsens-v1.c
Signature · 1 line
2.17.1