From db97bbdb0079b282610e512a7db7ba98ac7d89fb Mon Sep 17 00:00:00 2001 From: Ye Li Date: Mon, 25 Jun 2018 19:40:08 -0700 Subject: [PATCH] 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 (cherry picked from commit 3f8e5aaa173b5d3cdf05df7867cdca8776854fd6) (cherry picked from commit c1e72c232d85a662c2ddb2bc9601132d8dd4fb18) --- drivers/thermal/imx_sc_thermal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/imx_sc_thermal.c b/drivers/thermal/imx_sc_thermal.c index 0f0c8a76f1..b6f0d9c1fe 100644 --- a/drivers/thermal/imx_sc_thermal.c +++ b/drivers/thermal/imx_sc_thermal.c @@ -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[] = { -- 2.17.1