[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM3PR04MB306CAA99F88AE8F580422EF80C70@AM3PR04MB306.eurprd04.prod.outlook.com>
Date: Wed, 28 Feb 2018 02:27:57 +0000
From: "A.s. Dong" <aisheng.dong@....com>
To: Anson Huang <anson.huang@....com>,
"rui.zhang@...el.com" <rui.zhang@...el.com>,
"edubezval@...il.com" <edubezval@...il.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
"linux@...linux.org.uk" <linux@...linux.org.uk>
CC: dl-linux-imx <linux-imx@....com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: RE: [PATCH V4 2/2] thermal: imx: add i.MX7 thermal sensor support
> -----Original Message-----
> From: Anson Huang [mailto:Anson.Huang@....com]
> Sent: Saturday, February 24, 2018 4:03 PM
> To: rui.zhang@...el.com; edubezval@...il.com; robh+dt@...nel.org;
> mark.rutland@....com; shawnguo@...nel.org; kernel@...gutronix.de;
> Fabio Estevam <fabio.estevam@....com>; linux@...linux.org.uk
> Cc: dl-linux-imx <linux-imx@....com>; linux-pm@...r.kernel.org;
> devicetree@...r.kernel.org; linux-kernel@...r.kernel.org; linux-arm-
> kernel@...ts.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@....com>
> Signed-off-by: Bai Ping <ping.bai@....com>
Acked-by: Dong Aisheng <aisheng.dong@....com>
Regards
Dong Aisheng
Powered by blists - more mailing lists