Skip to content

RFC qcom: Add support for tsens driver

Rajendra Nayak linux-arm-kernel linux-arm-msm linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7thermal: qcom: tsens: Add a skeletal tsens driversDocumentation/devicetree/bindings/thermal/qcom-tsens.txt drivers/thermal/Kconfig drivers/thermal/Makefile +4 more+318 -02 replies
1/7thermal: qcom: tsens: Add a skeletal tsens drivers+0 -00 replies
1/7thermal: qcom: tsens: Add a skeletal tsens drivers+0 -00 replies
2/7thermal: qcom: tsens-8916: Add support for 8916 family of SoCsdrivers/thermal/qcom/Makefile drivers/thermal/qcom/tsens-8916.c drivers/thermal/qcom/tsens-common.c +2 more+248 -10 replies
3/7thermal: qcom: tsens-8974: Add support for 8974 family of SoCsdrivers/thermal/qcom/Makefile drivers/thermal/qcom/tsens-8974.c drivers/thermal/qcom/tsens.c +1 more+242 -20 replies
4/7thermal: qcom: tsens-8960: Add support for 8960 family of SoCsdrivers/thermal/qcom/Makefile drivers/thermal/qcom/tsens-8960.c drivers/thermal/qcom/tsens.c +1 more+339 -20 replies
5/7arm: dts: msm8974: Add thermal zones, tsens and eeprom nodesarch/arm/boot/dts/qcom-msm8974.dtsi+105 -01 reply
5/7arm: dts: msm8974: Add thermal zones, tsens and eeprom nodes+0 -00 replies
6/7clk: qcom: gcc-msm8960: add child devices support.drivers/clk/qcom/gcc-msm8960.c+3 -10 replies
7/7arm: dts: apq8064: Add thermal zones, tsens and eeprom nodesarch/arm/boot/dts/qcom-apq8064.dtsi+108 -00 replies

Reviews trailers per patch

3 of 10 patches have a Reviewed-by or Acked-by.

PatchLina Iyer
1/7R-b
1/7R-b
1/7R-b
2/7
3/7
4/7
5/7
5/7
6/7
7/7

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

Read the v1 thread

Cover letter [RFC 0/7] qcom: Add support for tsens driver

This is an attempt to have a single tsens driver for the different versions of the tsens IP that exist, on different qcom msm/apq SoCs.
Support is added for msm8916, msm8960 and msm8974 families. Based on top of the latest eeprom framework patches [1]

A lot of the work is based of original code from Stephen Boyd and Siddartha Mohanadoss. I have also picked some of what Narendran Rajan did in his attempt to upstream the support for 8960 family. I could not keep the original authorship on any of the patches because I ended up moving the code around quite a bit in an effort to have a single driver for the various devices. I would be glad to change the authorship for any of the patches if needed.

[1] https://lwn.net/Articles/638565/

Rajendra Nayak (6):
thermal: qcom: tsens: Add a skeletal tsens drivers
thermal: qcom: tsens-8916: Add support for 8916 family of SoCs
thermal: qcom: tsens-8974: Add support for 8974 family of SoCs
thermal: qcom: tsens-8960: Add support for 8960 family of SoCs
arm: dts: msm8974: Add thermal zones, tsens and eeprom nodes
arm: dts: apq8064: Add thermal zones, tsens and eeprom nodes

Srinivas Kandagatla (1):
clk: qcom: gcc-msm8960: add child devices support.

 .../devicetree/bindings/thermal/qcom-tsens.txt     |  36 +++
 arch/arm/boot/dts/qcom-apq8064.dtsi                | 108 +++++++
 arch/arm/boot/dts/qcom-msm8974.dtsi                | 105 +++++++
 drivers/clk/qcom/gcc-msm8960.c                     |   4 +-
 drivers/thermal/Kconfig                            |   5 +
 drivers/thermal/Makefile                           |   1 +
 drivers/thermal/qcom/Kconfig                       |  10 +
 drivers/thermal/qcom/Makefile                      |   2 +
 drivers/thermal/qcom/tsens-8916.c                  | 107 +++++++
 drivers/thermal/qcom/tsens-8960.c                  | 336 +++++++++++++++++++++
 drivers/thermal/qcom/tsens-8974.c                  | 239 +++++++++++++++
 drivers/thermal/qcom/tsens-common.c                | 128 ++++++++
 drivers/thermal/qcom/tsens.c                       | 209 +++++++++++++
 drivers/thermal/qcom/tsens.h                       |  69 +++++
 14 files changed, 1358 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/qcom-tsens.txt
 create mode 100644 drivers/thermal/qcom/Kconfig
 create mode 100644 drivers/thermal/qcom/Makefile
 create mode 100644 drivers/thermal/qcom/tsens-8916.c
 create mode 100644 drivers/thermal/qcom/tsens-8960.c
 create mode 100644 drivers/thermal/qcom/tsens-8974.c
 create mode 100644 drivers/thermal/qcom/tsens-common.c
 create mode 100644 drivers/thermal/qcom/tsens.c
 create mode 100644 drivers/thermal/qcom/tsens.h
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation