public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/3] thermal: imx91: Add support for i.MX91 thermal monitoring unit
@ 2025-10-20 19:00 Frank Li
  2025-10-20 19:00 ` [PATCH v7 1/3] dt-bindings: thermal: fsl,imx91-tmu: add bindings for NXP i.MX91 thermal module Frank Li
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Frank Li @ 2025-10-20 19:00 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Pengfei Li,
	Marco Felsch
  Cc: linux-pm, devicetree, imx, linux-arm-kernel, linux-kernel, ye.li,
	joy.zou, Frank Li, Krzysztof Kozlowski, Peng Fan

- Add binding doc
- Add imx91 thermal driver

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v7:
- Add dts change
- rework irq handle (see change logs in patch2)
- Link to v6: https://lore.kernel.org/r/20250219-imx91tmu-v6-0-7af2281bcada@nxp.com

Changes in v6:
- use set_trips
- remove mutex
- Link to v5: https://lore.kernel.org/r/20250218-imx91tmu-v5-0-76c0b27673e6@nxp.com

Changes in v5:
- Add irq support.
- change to period mode.
- Link to v4: https://lore.kernel.org/r/20241216-imx91tmu-v4-0-75caef7481b8@nxp.com

Changes in v4:
- Add Kryz's review tag for binding
- Add Marco's review tag for driver
- Use devm_add_action()
- Move pm_runtim_put before thermal_of_zone_register()
- Link to v3: https://lore.kernel.org/r/20241212-imx91tmu-v3-0-85e756b29437@nxp.com

Changes in v3:
- add ref thermal-sensor
- restrict #thermal-sensor-cells to 0 only
- Change to unevaluatedProperties

- add IMX91_TMU_ prefix for register define
- remove unused register define
- fix missed pm_runtime_put() at error path in imx91_tmu_get_temp()
- use dev variable in probe function
- use pm_runtime_set_active() in probe
- move START to imx91_tmu_get_temp()
- use DEFINE_RUNTIME_DEV_PM_OPS()
- keep set reset value because there are not sw "reset" bit in controller,
  uboot may change and enable tmu.

- Link to v2: https://lore.kernel.org/r/20241210-imx91tmu-v2-0-5032aad4d88e@nxp.com

Changes in v2:
- use low case for hexvalue
- combine struct imx91_tmu and tmu_sensor
- simplify imx91_tmu_start() and imx91_tmu_enable()
- use s16 for imx91_tmu_get_temp(), which may negative value
- use reverse christmas tree style
- use run time pm
- use oneshot to sample temp
- register thermal zone after hardware init
- Link to v1: https://lore.kernel.org/r/20241209-imx91tmu-v1-0-7859c5387f31@nxp.com

---
Frank Li (1):
      arm64: dts: imx91: Add thermal-sensor and thermal-zone support

Pengfei Li (2):
      dt-bindings: thermal: fsl,imx91-tmu: add bindings for NXP i.MX91 thermal module
      thermal: imx91: Add support for i.MX91 thermal monitoring unit

 .../devicetree/bindings/thermal/fsl,imx91-tmu.yaml |  87 +++++
 arch/arm64/boot/dts/freescale/imx91.dtsi           |  58 ++++
 drivers/thermal/Kconfig                            |  10 +
 drivers/thermal/Makefile                           |   1 +
 drivers/thermal/imx91_thermal.c                    | 384 +++++++++++++++++++++
 5 files changed, 540 insertions(+)
---
base-commit: 2433b84761658ef123ae683508bc461b07c5b0f0
change-id: 20241209-imx91tmu-af2a7c042d8d

Best regards,
--
Frank Li <Frank.Li@nxp.com>


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

end of thread, other threads:[~2026-01-17  1:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 19:00 [PATCH v7 0/3] thermal: imx91: Add support for i.MX91 thermal monitoring unit Frank Li
2025-10-20 19:00 ` [PATCH v7 1/3] dt-bindings: thermal: fsl,imx91-tmu: add bindings for NXP i.MX91 thermal module Frank Li
2025-10-20 19:00 ` [PATCH v7 2/3] thermal: imx91: Add support for i.MX91 thermal monitoring unit Frank Li
2026-01-07 15:22   ` Daniel Lezcano
2026-01-08 16:24     ` Frank Li
2025-10-20 19:00 ` [PATCH v7 3/3] arm64: dts: imx91: Add thermal-sensor and thermal-zone support Frank Li
2025-10-22 10:56   ` Alberto Merciai
2025-10-28 16:32     ` Frank Li
2026-01-05 20:07   ` Frank Li
2026-01-17  1:55   ` Shawn Guo

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