MLK-16208-3 imx8qm/qxp: Enable the CPU thermal sensor to get temperature
authorYe Li <ye.li@nxp.com>
Wed, 16 Aug 2017 13:41:50 +0000 (08:41 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:13 +0000 (02:37 +0800)
commit40a60b20276c45373a5337664943a3e14e19bdda
treec9507a022595d8b7e7f395606cd14cb48a097e85
parentf4f8dbcb125fdf419917e77ebbca875bca330b4b
MLK-16208-3 imx8qm/qxp: Enable the CPU thermal sensor to get temperature

Add "u-boot,dm-pre-reloc" to thermal node in QM and QXP DTSi files, and
enable the thermal driver in relevant build targets.

In SoC level, will get and print the CPU temperature at booting.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
12 files changed:
arch/arm/cpu/armv8/imx8/cpu.c
arch/arm/dts/fsl-imx8qm.dtsi
arch/arm/dts/fsl-imx8qxp.dtsi
configs/imx8qm_lpddr4_arm2_defconfig
configs/imx8qm_lpddr4_arm2_fspi_defconfig
configs/imx8qxp_lpddr4_arm2_defconfig
configs/imx8qxp_lpddr4_arm2_fspi_defconfig
configs/imx8qxp_lpddr4_arm2_nand_defconfig
configs/imx8qxp_mek_defconfig
configs/mx8qm_lpddr4_arm2_android_defconfig
configs/mx8qxp_lpddr4_arm2_android_defconfig
configs/mx8qxp_mek_android_defconfig