summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-03-06 15:37:10 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:51 +0800
commit3491074b56c1295b906dbaf6e779a7fb6f03fe74 (patch)
tree64a1a3e665318b18d9b8df65823d9fa1fcb1739e /drivers/thermal
parent6d0ed57b3d9f70a3762bb40e304e91c9a85e4199 (diff)
MLK-17698-1 thermal: imx_sc: use system controller thermal sensor for A35 CPU
Now that SCFW (0d43db9 SCF-22: Move SCU controls to SYSTEM. Allows AP to use SCU temp sensor.) exposes SCU's temp sensor for AP, and it is placed more close to i.MX8QXP A35 core, so it should be used as A35's CPU thermal sensor, add this change and move DRC temp sensor to a new thermal zone. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/imx_sc_thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/imx_sc_thermal.c b/drivers/thermal/imx_sc_thermal.c
index eb4c535b9fc5..2a3aad7de0d3 100644
--- a/drivers/thermal/imx_sc_thermal.c
+++ b/drivers/thermal/imx_sc_thermal.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2017 NXP.
+ * Copyright 2017-2018 NXP.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -49,7 +49,7 @@ static const sc_rsrc_t imx8qm_sensor_hw_id[] = {
};
static const sc_rsrc_t imx8qxp_sensor_hw_id[] = {
- SC_R_DRC_0,
+ SC_R_SYSTEM, SC_R_DRC_0,
};
const int *sensor_hw_id;