aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnson Huang <[email protected]>2018-03-02 09:59:30 +0800
committerEduardo Valentin <[email protected]>2018-05-06 13:45:11 -0700
commitf085f672b7d4033ea40db8c4b6929324833ce7b2 (patch)
tree82ebd7b960bec7578135bd198f44c2ee78a93355 /tools/perf/scripts/python
parent3966be3c08c3be6d32deb6ae81d67ee08b86b50b (diff)
thermal: imx: add i.MX7 thermal sensor support
This patch adds i.MX7 thermal sensor support, most of the i.MX7 thermal sensor functions are same with i.MX6 except the registers offset/layout, so we move those registers offset/layout definitions to soc data structure. i.MX7 uses single calibration data @25C, the calibration data is located at OCOTP offset 0x4F0, bit[17:9], the formula is as below: Tmeas = (Nmeas - n1) + 25; n1 is the fuse value for 25C. Signed-off-by: Anson Huang <[email protected]> Signed-off-by: Bai Ping <[email protected]> Acked-by: Dong Aisheng <[email protected]> Acked-by: Shawn Guo <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions