diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-03-02 02:59:30 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-05-06 22:45:11 +0200 |
commit | f085f672b7d4033ea40db8c4b6929324833ce7b2 (patch) | |
tree | 82ebd7b960bec7578135bd198f44c2ee78a93355 /drivers/thermal/samsung | |
parent | thermal: mediatek: add support for MT7622 SoC (diff) | |
download | linux-f085f672b7d4033ea40db8c4b6929324833ce7b2.tar.xz linux-f085f672b7d4033ea40db8c4b6929324833ce7b2.zip |
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 <Anson.Huang@nxp.com>
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/samsung')
0 files changed, 0 insertions, 0 deletions