public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Update the thermal support for imx93
@ 2026-04-21  7:42 Jacky Bai
  2026-04-21  7:42 ` [PATCH v5 1/4] dt-bindings: thermal: qoriq: Add compatible string " Jacky Bai
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jacky Bai @ 2026-04-21  7:42 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam, Pengutronix Kernel Team, Frank Li
  Cc: linux-pm, devicetree, imx, linux-arm-kernel, Jacky Bai,
	Conor Dooley, Alice Guo

The TMU (Thermal Monitoring Unit) on the i.MX93 requires specific
configurations and workarounds that differ from previous implementations.
So, using the 'fsl,qoriq-tmu' compatible string is not appropriate.
To address this, a dedicated compatible string and corresponding driver
changes need to be introduced to properly support the i.MX93 TMU.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
Changes in v5:
- Drop the unnecessary macro defines in patch 2/3
- Add the drvdata info for each of the platform as suggested by Daniel
- Link to v4: https://lore.kernel.org/r/20250821-imx93_tmu-v4-0-6cf5688bf016@nxp.com

Changes in v4:
- Include bitfield.h to fix the build error for RISC-V
- Use macro to define temp rate threshold related settings
- Link to v3: https://lore.kernel.org/r/20250818-imx93_tmu-v3-0-35f79a86c072@nxp.com

---
Jacky Bai (4):
      dt-bindings: thermal: qoriq: Add compatible string for imx93
      thermal: qoriq: add i.MX93 tmu support
      thermal: qoriq: workaround unexpected temperature readings from tmu
      arm64: dts: imx93: update the tmu compatible string

 .../devicetree/bindings/thermal/qoriq-thermal.yaml |  1 +
 arch/arm64/boot/dts/freescale/imx93.dtsi           |  2 +-
 drivers/thermal/qoriq_thermal.c                    | 82 ++++++++++++++++++++--
 3 files changed, 80 insertions(+), 5 deletions(-)
---
base-commit: c7275b05bc428c7373d97aa2da02d3a7fa6b9f66
change-id: 20250804-imx93_tmu-7888c85d176e

Best regards,
-- 
Jacky Bai <ping.bai@nxp.com>


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

end of thread, other threads:[~2026-04-22  3:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21  7:42 [PATCH v5 0/4] Update the thermal support for imx93 Jacky Bai
2026-04-21  7:42 ` [PATCH v5 1/4] dt-bindings: thermal: qoriq: Add compatible string " Jacky Bai
2026-04-21  7:42 ` [PATCH v5 2/4] thermal: qoriq: add i.MX93 tmu support Jacky Bai
2026-04-21  9:17   ` Daniel Baluta
2026-04-21  9:59     ` Jacky Bai
2026-04-21  7:42 ` [PATCH v5 3/4] thermal: qoriq: workaround unexpected temperature readings from tmu Jacky Bai
2026-04-21  9:11   ` Frank Li
2026-04-21  9:56     ` Jacky Bai
2026-04-22  3:56       ` Frank Li
2026-04-21  7:42 ` [PATCH v5 4/4] arm64: dts: imx93: update the tmu compatible string Jacky Bai

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