[PATCH v2 0/2] thermal: imx91: Add support for i.MX91 thermal monitoring unit
Frank Li
Frank.Li at nxp.com
Tue Dec 10 13:27:01 PST 2024
- Add binding doc
- Add imx91 thermal driver
- dts part wait for https://lore.kernel.org/imx/Z04W5chGq5TitB9f@lizhi-Precision-Tower-5810/
merged, so not in this serial.
Signed-off-by: Frank Li <Frank.Li at 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
---
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 | 65 +++++
drivers/thermal/Kconfig | 10 +
drivers/thermal/Makefile | 1 +
drivers/thermal/imx91_thermal.c | 265 +++++++++++++++++++++
4 files changed, 341 insertions(+)
---
base-commit: d07c576946b2bc440d6d2073998023e8a0bd7568
change-id: 20241209-imx91tmu-af2a7c042d8d
Best regards,
---
Frank Li <Frank.Li at nxp.com>
More information about the linux-arm-kernel
mailing list