imx: imx8_cpu: support get temperature for i.MX9
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 Apr 2023 04:08:13 +0000 (12:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 14:54:40 +0000 (16:54 +0200)
commit7c5256e89f9e65b15af8821585a11f13e5cc4348
tree7b6f79d644038ea3625d2772edbf3ea94efd13c6
parent38e319782e9c3a1257329b8b7e276d10a30efb73
imx: imx8_cpu: support get temperature for i.MX9

Use CONFIG_DM_THERMAL to make the temperature function could be reused
by i.MX8 and i.MX9

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/cpu/imx8_cpu.c