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

A.s. Dong aisheng.dong at nxp.com
Tue Feb 27 18:27:57 PST 2018


> -----Original Message-----
> From: Anson Huang [mailto:Anson.Huang at nxp.com]
> Sent: Saturday, February 24, 2018 4:03 PM
> To: rui.zhang at intel.com; edubezval at gmail.com; robh+dt at kernel.org;
> mark.rutland at arm.com; shawnguo at kernel.org; kernel at pengutronix.de;
> Fabio Estevam <fabio.estevam at nxp.com>; linux at armlinux.org.uk
> Cc: dl-linux-imx <linux-imx at nxp.com>; linux-pm at vger.kernel.org;
> devicetree at vger.kernel.org; linux-kernel at vger.kernel.org; linux-arm-
> kernel at lists.infradead.org
> Subject: [PATCH V4 2/2] 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 at nxp.com>
> Signed-off-by: Bai Ping <ping.bai at nxp.com>

Acked-by: Dong Aisheng <aisheng.dong at nxp.com>

Regards
Dong Aisheng


More information about the linux-arm-kernel mailing list