public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Add RemoteProc cooling support
@ 2026-01-27 15:57 Gaurav Kohli
  2026-01-27 15:57 ` [PATCH v2 1/8] thermal: Add Remote Proc cooling driver Gaurav Kohli
                   ` (8 more replies)
  0 siblings, 9 replies; 53+ messages in thread
From: Gaurav Kohli @ 2026-01-27 15:57 UTC (permalink / raw)
  To: andersson, mathieu.poirier, robh, krzk+dt, conor+dt, rui.zhang,
	lukasz.luba, konradybcio, mani, casey.connolly, amit.kucheria
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-pm, gaurav.kohli,
	manaf.pallikunhi

This series introduces a generic remote proc cooling framework to control 
thermal sensors located on remote subsystem like modem, dsp etc.
Communications with these subsystems occurs through various channels, for example, 
QMI interface for Qualcomm.
 
The Framework provides an abstraction layer between thermal subsytem and vendor
specific remote subsystem. Vendor drivers are expected to implement callback 
and registration mechanisms with cooling framework to control cooling
devices.

This patchset also revives earlier discussions of QMI based TMD cooling
devices discussion posted on below series by Casey: 
https://lore.kernel.org/linux-devicetree/20230905-caleb-qmi_cooling-v1-0-5aa39d4164a7@linaro.org/

That series introduced Qualcomm QMI-based TMD cooling devices which used
to mitigate thermal conditions across multiple remote subsystems. These 
devices operate based on junction temperature sensors (TSENS) associated 
with thermal zones for each subsystem and registering with remoteproc 
cooling framework for cooling registration.
---
Changes in v2:
- Update Remoreproc thermal config to tristate and removed unnecessary NULL checks.
- Fixed dt binding file format and added generic name support for cdsp.
- Fixed memory leak and cleaned up qmi-cooling driver file.
- Corrected DT formatting errors and commit descriptions for all targets.
- Link to v1: https://lore.kernel.org/linux-devicetree/20251223123227.1317244-1-gaurav.kohli@oss.qualcomm.com/
---

Casey Connolly (2):
  remoteproc: qcom: probe all child devices
  thermal: qcom: add qmi-cooling driver

Gaurav Kohli (6):
  thermal: Add Remote Proc cooling driver
  dt-bindings: thermal: Add qcom,qmi-cooling yaml bindings
  arm64: dts: qcom: lemans: Enable CDSP cooling
  arm64: dts: qcom: talos: Enable CDSP cooling
  arm64: dts: qcom: kodiak: Enable CDSP cooling
  arm64: dts: qcom: monaco: Enable CDSP cooling

 .../bindings/remoteproc/qcom,pas-common.yaml  |   6 +
 .../bindings/thermal/qcom,qmi-cooling.yaml    |  72 +++
 MAINTAINERS                                   |   7 +
 arch/arm64/boot/dts/qcom/kodiak.dtsi          |  37 ++
 arch/arm64/boot/dts/qcom/lemans.dtsi          | 138 ++++-
 arch/arm64/boot/dts/qcom/monaco.dtsi          |  93 ++++
 arch/arm64/boot/dts/qcom/talos.dtsi           |  24 +
 drivers/remoteproc/qcom_q6v5.c                |   4 +
 drivers/remoteproc/qcom_q6v5_mss.c            |   8 -
 drivers/soc/qcom/Kconfig                      |  13 +
 drivers/soc/qcom/Makefile                     |   1 +
 drivers/soc/qcom/qmi-cooling.c                | 510 ++++++++++++++++++
 drivers/soc/qcom/qmi-cooling.h                | 429 +++++++++++++++
 drivers/thermal/Kconfig                       |  10 +
 drivers/thermal/Makefile                      |   2 +
 drivers/thermal/remoteproc_cooling.c          | 143 +++++
 include/linux/remoteproc_cooling.h            |  52 ++
 17 files changed, 1529 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/qcom,qmi-cooling.yaml
 create mode 100644 drivers/soc/qcom/qmi-cooling.c
 create mode 100644 drivers/soc/qcom/qmi-cooling.h
 create mode 100644 drivers/thermal/remoteproc_cooling.c
 create mode 100644 include/linux/remoteproc_cooling.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2026-03-23 14:25 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 15:57 [PATCH v2 0/8] Add RemoteProc cooling support Gaurav Kohli
2026-01-27 15:57 ` [PATCH v2 1/8] thermal: Add Remote Proc cooling driver Gaurav Kohli
2026-01-28 11:32   ` Krzysztof Kozlowski
2026-01-30  6:39     ` Gaurav Kohli
2026-02-08 10:08       ` Krzysztof Kozlowski
2026-01-28 11:36   ` Krzysztof Kozlowski
2026-01-30  6:42     ` Gaurav Kohli
2026-01-30  5:39   ` kernel test robot
2026-01-30  6:47   ` kernel test robot
2026-03-06  9:19   ` Daniel Lezcano
2026-03-06  9:27     ` Lukasz Luba
2026-03-09  6:34     ` Gaurav Kohli
2026-01-27 15:57 ` [PATCH v2 2/8] dt-bindings: thermal: Add qcom,qmi-cooling yaml bindings Gaurav Kohli
2026-01-28 11:27   ` Krzysztof Kozlowski
2026-01-29 12:06     ` Gaurav Kohli
2026-02-08 10:06       ` Krzysztof Kozlowski
2026-02-11  7:37         ` Gaurav Kohli
2026-02-11  8:13           ` Krzysztof Kozlowski
2026-02-20  7:29             ` Gaurav Kohli
2026-02-20  7:44               ` Krzysztof Kozlowski
2026-02-24 12:09                 ` Gaurav Kohli
2026-02-24 12:17                   ` Krzysztof Kozlowski
2026-03-16 19:57                     ` Daniel Lezcano
2026-03-18 10:17                       ` Gaurav Kohli
2026-03-19  9:51                         ` Konrad Dybcio
2026-03-21  9:00                           ` Daniel Lezcano
2026-03-23 12:29                             ` Konrad Dybcio
2026-03-23 14:19                               ` Daniel Lezcano
2026-03-23 14:25                                 ` Gaurav Kohli
2026-02-24 12:52                   ` Dmitry Baryshkov
2026-01-28 11:28   ` Krzysztof Kozlowski
2026-01-29 12:12     ` Gaurav Kohli
2026-01-29  0:45   ` Dmitry Baryshkov
2026-01-30  7:08     ` Gaurav Kohli
2026-01-30  9:02       ` Dmitry Baryshkov
2026-01-27 15:57 ` [PATCH v2 3/8] remoteproc: qcom: probe all child devices Gaurav Kohli
2026-01-27 16:50   ` Dmitry Baryshkov
2026-01-27 15:57 ` [PATCH v2 4/8] thermal: qcom: add qmi-cooling driver Gaurav Kohli
2026-01-30  9:05   ` kernel test robot
2026-03-06  9:31   ` Daniel Lezcano
2026-03-16 10:19     ` Gaurav Kohli
2026-03-13 14:15   ` Daniel Lezcano
2026-03-17  7:25     ` Gaurav Kohli
2026-01-27 15:57 ` [PATCH v2 5/8] arm64: dts: qcom: lemans: Enable CDSP cooling Gaurav Kohli
2026-01-29  0:43   ` Dmitry Baryshkov
2026-01-29 12:10     ` Gaurav Kohli
2026-01-29 12:29       ` Dmitry Baryshkov
2026-01-29 13:40         ` Gaurav Kohli
2026-01-30  1:20           ` Dmitry Baryshkov
2026-01-27 15:57 ` [PATCH v2 6/8] arm64: dts: qcom: talos: " Gaurav Kohli
2026-01-27 15:57 ` [PATCH v2 7/8] arm64: dts: qcom: kodiak: " Gaurav Kohli
2026-01-27 15:57 ` [PATCH v2 8/8] arm64: dts: qcom: monaco: " Gaurav Kohli
2026-03-06  9:09 ` [PATCH v2 0/8] Add RemoteProc cooling support Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox