[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180224092011.GR3217@dragon>
Date: Sat, 24 Feb 2018 17:20:12 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Anson Huang <Anson.Huang@....com>
Cc: rui.zhang@...el.com, edubezval@...il.com, robh+dt@...nel.org,
mark.rutland@....com, kernel@...gutronix.de, fabio.estevam@....com,
linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, Linux-imx@....com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH V4 2/2] thermal: imx: add i.MX7 thermal sensor support
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@....com>
> Signed-off-by: Bai Ping <ping.bai@....com>
Acked-by: Shawn Guo <shawnguo@...nel.org>
Powered by blists - more mailing lists