Skip to content

thermal: Add qcom tsens thermal sensor driver

Narendran Rajan linux-arm-msm linux-pm 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v2 posting 2/21 patch 2 repliesSuperseded
  3. v2 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch20 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2thermal: Add qcom tsens thermal sensor driverDocumentation/devicetree/bindings/thermal/qcom-thermal.txt drivers/thermal/Kconfig drivers/thermal/Makefile +1 more+567 -03 replies
2/2ARM: qcom: dts: Add tsens thermal dataarch/arm/boot/dts/qcom-ipq8064.dtsi arch/arm/boot/dts/qcom-msm8660.dtsi arch/arm/boot/dts/qcom-msm8960.dtsi +1 more+123 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [v3 0/2] thermal: Add qcom tsens thermal sensor driver

This version of patch incorporates review comments from community (mainly Lina Iyer)

Main changes compared to v1 are the following:
- Added thermal dtsi patch to the series
- Minor code cleanup

The scope of this driver is limited to QCOM A family chipsets. The register layout of tsens hardware is different on B family chipsets compared to A family, hence limiting the scope to A family

Suggestions/followup patches for B family support are welcome.

This patch has dependency on following patches published in the mailing list
https://patchwork.kernel.org/patch/5748661/
https://patchwork.kernel.org/patch/5748681/
https://patchwork.kernel.org/patch/5707771/
https://patchwork.kernel.org/patch/5707781/

Narendran Rajan (2):
thermal: Add qcom tsens thermal sensor driver
ARM: qcom: dts: Add tsens thermal data

 .../devicetree/bindings/thermal/qcom-thermal.txt   |  59 +++
 arch/arm/boot/dts/qcom-ipq8064.dtsi                |  27 +-
 arch/arm/boot/dts/qcom-msm8660.dtsi                |  27 +-
 arch/arm/boot/dts/qcom-msm8960.dtsi                |  28 +-
 arch/arm/boot/dts/qcom-thermal.dtsi                |  47 ++
 drivers/thermal/Kconfig                            |  14 +
 drivers/thermal/Makefile                           |   1 +
 drivers/thermal/qcom-tsens.c                       | 493 +++++++++++++++++++++
 8 files changed, 690 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/qcom-thermal.txt
 create mode 100644 arch/arm/boot/dts/qcom-thermal.dtsi
 create mode 100644 drivers/thermal/qcom-tsens.c

--
Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project