summaryrefslogtreecommitdiff
path: root/drivers/thermal/imx_sc_thermal.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-06-25 19:40:08 -0700
committerYe Li <ye.li@nxp.com>2018-07-01 20:57:38 -0700
commitc1e72c232d85a662c2ddb2bc9601132d8dd4fb18 (patch)
treee0287a1901ba7003182bc150c0f99012a6a6f14c /drivers/thermal/imx_sc_thermal.c
parentfa79b5236ac8a7debfefa8e42028e0871412aa50 (diff)
MLK-18686-1 sc_thermal: Update thermal resources for iMX8QXP
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)
Diffstat (limited to 'drivers/thermal/imx_sc_thermal.c')
-rw-r--r--drivers/thermal/imx_sc_thermal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/thermal/imx_sc_thermal.c b/drivers/thermal/imx_sc_thermal.c
index f9e552712f..ad1eb618d0 100644
--- a/drivers/thermal/imx_sc_thermal.c
+++ b/drivers/thermal/imx_sc_thermal.c
@@ -182,7 +182,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[] = {