Hello
In the Linux Reference Manual (https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf) it states on chapter 2.9.1 that the driver CONFIG_IMX8M_THERMAL should be enabled to make use of that thermal driver features.
However I noticed the respective file on 5.4 kernel now gets compiled with CONFIG_QORIQ_THERMAL.
1. Is this information in the Reference Manual maybe wrong or not complete?
2. Does the thermal driver CONFIG_QORIQ_THERMAL still work for i.MX8M Mini SoC on 5.4.24_2.1.0 release?
Best Regards,
Philippe
Hello philippe_schenk,
it's driver name is imx8mq-tmu, it's driver source code is ./thermal/qoriq_thermal.c, so you are right.
CONFIG_QORIQ_THERMAL should be selected. Below is from Makefile:
----
-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
----
>>Does the thermal driver CONFIG_QORIQ_THERMAL still work for i.MX8M Mini SoC on 5.4.24_2.1.0 release?
No, it doesn't.
drivers/thermal/imx8mm_thermal.c is for i.MX8M Mini SoC ,
......
obj-$(CONFIG_IMX8MM_THERMAL) += imx8mm_thermal.o
......
Hope this information is helpful to you.
Have a nice day!
B.R,
Weidong