regulator: cpr3-mmss-regulator: change CPR aging sensor for msmcobalt

Change the CPR sensor used for graphics aging measurements on
MSMCOBALT from 17 to 29.  Sensor 29 is in the top level of the
GPU so it is guaranteed to be usable for aging measurements
whenever the GPU is powered regardless of the GPU operating
state.

Also bypass CPR sensors 0 - 23 during graphics CPR aging
measurements so that the measurements will succeed even if the
hardware power state of these CPR sensors changes during a
given measurement.

Change-Id: I3c0dd344e0192a375f31fefea7ef6559fab0652d
CRs-Fixed: 1061372
Signed-off-by: David Collins <collinsd@codeaurora.org>
This commit is contained in:
David Collins 2016-08-29 16:21:18 -07:00
parent dcd02f7848
commit c1cfc2062c

View file

@ -242,8 +242,8 @@ static const int msmcobalt_v2_mmss_fuse_ref_volt[MSM8996_MMSS_FUSE_CORNERS] = {
#define MSMCOBALT_MMSS_CPR_SENSOR_COUNT 35 #define MSMCOBALT_MMSS_CPR_SENSOR_COUNT 35
#define MSMCOBALT_MMSS_AGING_SENSOR_ID 17 #define MSMCOBALT_MMSS_AGING_SENSOR_ID 29
#define MSMCOBALT_MMSS_AGING_BYPASS_MASK0 0 #define MSMCOBALT_MMSS_AGING_BYPASS_MASK0 (GENMASK(23, 0))
#define MSMCOBALT_MMSS_MAX_TEMP_POINTS 3 #define MSMCOBALT_MMSS_MAX_TEMP_POINTS 3
#define MSMCOBALT_MMSS_TEMP_SENSOR_ID_START 12 #define MSMCOBALT_MMSS_TEMP_SENSOR_ID_START 12