aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2017-05-22 17:51:45 -0700
committerJonathan Cameron <[email protected]>2017-06-03 08:43:16 +0100
commit951d21de88e4df3449b063180ddec0c668b64c53 (patch)
tree0059fb1131f17b20a51be3d0d0a0c7d638562fc1 /tools/perf/scripts/python/check-perf-trace.py
parent3f9f3a1a1451f4f389423dae4b5404b1abd48025 (diff)
iio: adc: cpcap: Fix die temperature
It seems that "MC13783 Power Management and Audio Ciruit User's Guide" MC1378UG.pdf documents several similar components as in the CPCAP PMIC. Chapter "9.5.5 Die Temperature and UID" says that the die temperature value is 282 at 25C with LSB of -1.14C. Converting CPCAP PMIC channel3 values with following seems to produce values that make sense for a PMIC die: temperature = 25000 + ((regval - 282) * 114) As we don't have any other documentation, let's assume the die temperature is unconfigured in the Motorola mapphone Linux kernel and the current temperature conversion table should be only used for the battery thermistor and not for the die temperature. Cc: Marcel Partap <[email protected]> Cc: Michael Scott <[email protected]> Cc: Sebastian Reichel <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions