[PATCH 3/3] thermal/drivers/imx91: Drop macro for continues mode
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Dec 11 23:51:16 PST 2025
From: Peng Fan <peng.fan at nxp.com>
i.MX91 TMU measure mode register definition as below:
00b Single One-Shot Measurement
01b Reserved
10b Periodic One-Shot Measurement
11b Reserved
Drop the definition of continues mode which does not exists.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
drivers/thermal/imx91_thermal.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/thermal/imx91_thermal.c b/drivers/thermal/imx91_thermal.c
index 768c5acc384eca1c2203098bd4749628d9ffb8e6..aa45eb83f9c7b58badd596d2d433592a9ee9e041 100644
--- a/drivers/thermal/imx91_thermal.c
+++ b/drivers/thermal/imx91_thermal.c
@@ -43,7 +43,6 @@
#define IMX91_TMU_CTRL1_RES_MASK GENMASK(19, 18)
#define IMX91_TMU_CTRL1_MEAS_MODE_MASK GENMASK(25, 24)
#define IMX91_TMU_CTRL1_MEAS_MODE_SINGLE 0
-#define IMX91_TMU_CTRL1_MEAS_MODE_CONTINUES 1
#define IMX91_TMU_CTRL1_MEAS_MODE_PERIODIC 2
#define IMX91_TMU_THR_CTRL01 0x30
--
2.37.1
More information about the linux-arm-kernel
mailing list