[PATCH V4 2/2] thermal: imx: add i.MX7 thermal sensor support

Shawn Guo shawnguo at kernel.org
Sat Feb 24 01:20:12 PST 2018


On Sat, Feb 24, 2018 at 04:02:49PM +0800, Anson Huang wrote:
> 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 at nxp.com>
> Signed-off-by: Bai Ping <ping.bai at nxp.com>

Acked-by: Shawn Guo <shawnguo at kernel.org>



More information about the linux-arm-kernel mailing list