MLK-18686-1 sc_thermal: Update thermal resources for iMX8QXP
authorYe Li <ye.li@nxp.com>
Tue, 26 Jun 2018 02:40:08 +0000 (19:40 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:33:59 +0000 (02:33 -0700)
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)
(cherry picked from commit c1e72c232d85a662c2ddb2bc9601132d8dd4fb18)

drivers/thermal/imx_sc_thermal.c

index 0f0c8a7..b6f0d9c 100644 (file)
@@ -181,7 +181,8 @@ static const sc_rsrc_t imx8qm_sensor_rsrc[] = {
 };
 
 static const sc_rsrc_t imx8qxp_sensor_rsrc[] = {
-       SC_R_DRC_0,
+       SC_R_SYSTEM, SC_R_DRC_0, SC_R_PMIC_0,
+       SC_R_PMIC_1, SC_R_PMIC_2,
 };
 
 static const struct udevice_id imx_sc_thermal_ids[] = {