summaryrefslogtreecommitdiff
path: root/drivers/thermal/imx_sc_thermal.c
AgeCommit message (Collapse)Author
2018-07-01MLK-18686-2 sc_thermal: Fix interpreting tenths as millicelsiusYe Li
When calculate the temperature in millicelsius, the tenths are handled incorrectly. Signed-off-by: Ye Li <ye.li@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 72796a2e138bb7b5b4db9f771a3f9b823b66ade5)
2018-07-01MLK-18686-1 sc_thermal: Update thermal resources for iMX8QXPYe Li
Since the DRC_0 thermal is disabled by SCFW, we should use SC_R_SYSTEM for CPU thermal. Update the resources table to align with kernel. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 3f8e5aaa173b5d3cdf05df7867cdca8776854fd6)
2018-04-27MLK-16208-1 thermal: Add driver to support i.MX8QM/QXP CPU thermal sensorYe Li
Add the DM thermal driver for i.MX8QM and QXP. The driver depends on DTB thermal sensor nodes. Will create device for each thermal in thermal-zones. User can use the thermal name to get the device from UCLASS_THERMAL. The driver flag is set to DM_FLAG_PRE_RELOC, to support run it at early stage, need add "u-boot,dm-pre-reloc" property to the thermal node. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 98005e0b5a46bd17160fac18be2374c15dba54f9)