Messages in this thread | | | From | "A.s. Dong" <> | Subject | RE: [PATCH V4 2/2] thermal: imx: add i.MX7 thermal sensor support | Date | Wed, 28 Feb 2018 02:27:57 +0000 |
| |
> -----Original Message----- > From: Anson Huang [mailto:Anson.Huang@nxp.com] > Sent: Saturday, February 24, 2018 4:03 PM > To: rui.zhang@intel.com; edubezval@gmail.com; robh+dt@kernel.org; > mark.rutland@arm.com; shawnguo@kernel.org; kernel@pengutronix.de; > Fabio Estevam <fabio.estevam@nxp.com>; linux@armlinux.org.uk > Cc: dl-linux-imx <linux-imx@nxp.com>; linux-pm@vger.kernel.org; > devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > kernel@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@nxp.com> > Signed-off-by: Bai Ping <ping.bai@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Regards Dong Aisheng
| |