1
0
Fork 0
Commit Graph

4 Commits (redonkable)

Author SHA1 Message Date
Jacky Bai 3a8a0a638e MLK-23359 thermal: imx8mm: Fix the ready bit check on imx8mp
the ready bit check for each sensor should be left shift
n bit, so fix it.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-09 10:30:20 +08:00
Jacky Bai 488d686610 MLK-23183-01 thermal: imx8mm: Update the driver for multiple sensor support
For SOC like i.MX8MP, it has two sensor under the same tmu module, so
update the driver to support thermal zone for each of the sensor.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-01-21 17:01:08 +08:00
Anson Huang eafc897eb6 thermal: imx8mm: Add device cooling support
Register device cooling for first thermal zone manually, when
temperature exceeds passive trip, system wide cooling notification
will be triggered.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 15:44:15 +08:00
Anson Huang 23eba08685 thermal: imx8mm: Add support for i.MX8MM thermal monitoring unit
i.MX8MM has a thermal monitoring unit(TMU) inside, it ONLY has one
sensor for CPU, add support for reading immediate temperature of
this sensor.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 15:44:15 +08:00