> -----Original Message----- > From: Anson Huang [mailto:anson.hu...@nxp.com] > Sent: Saturday, February 24, 2018 4:03 PM > To: rui.zh...@intel.com; edubez...@gmail.com; robh...@kernel.org; > mark.rutl...@arm.com; shawn...@kernel.org; ker...@pengutronix.de; > Fabio Estevam <fabio.este...@nxp.com>; li...@armlinux.org.uk > Cc: dl-linux-imx <linux-...@nxp.com>; linux...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@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.hu...@nxp.com> > Signed-off-by: Bai Ping <ping....@nxp.com>
Acked-by: Dong Aisheng <aisheng.d...@nxp.com> Regards Dong Aisheng