Hi @Afeefah,
I hope you are doing well.
One has to enable the CONFIG_IMX_THERMAL option in kernel configuration to use the imx thermal driver.
One can set the default threshold trip points for throttling in imx_init_temp_grade at imx_thermal.c driver
Please refer to below mentioned documents for more information.
1. 2.9 Thermal in i.MX Linux Reference Manual
2. Temperature Monitoring on i.MX platforms
3. Thermal Management
Thanks & Regards,
Dhruvit Vasavada