[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM3PR04MB1315478E79B0BFEF5A22DE80F5C50@AM3PR04MB1315.eurprd04.prod.outlook.com>
Date: Fri, 2 Mar 2018 02:03:05 +0000
From: Anson Huang <anson.huang@....com>
To: Rob Herring <robh@...nel.org>
CC: Leonard Crestez <leonard.crestez@....com>,
"rui.zhang@...el.com" <rui.zhang@...el.com>,
"edubezval@...il.com" <edubezval@...il.com>,
"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>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>
Subject: RE: [PATCH V5 2/2] thermal: imx: add i.MX7 thermal sensor support
Anson Huang
Best Regards!
> -----Original Message-----
> From: Rob Herring [mailto:robh@...nel.org]
> Sent: Friday, March 2, 2018 5:23 AM
> To: Anson Huang <anson.huang@....com>
> Cc: Leonard Crestez <leonard.crestez@....com>; rui.zhang@...el.com;
> edubezval@...il.com; mark.rutland@....com; shawnguo@...nel.org;
> kernel@...gutronix.de; Fabio Estevam <fabio.estevam@....com>;
> linux@...linux.org.uk; linux-arm-kernel@...ts.infradead.org;
> devicetree@...r.kernel.org; dl-linux-imx <linux-imx@....com>;
> linux-kernel@...r.kernel.org; linux-pm@...r.kernel.org
> Subject: Re: [PATCH V5 2/2] thermal: imx: add i.MX7 thermal sensor support
>
> On Thu, Mar 01, 2018 at 07:09:40AM +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: Dong Aisheng <aisheng.dong@....com>
> > Acked-by: Shawn Guo <shawnguo@...nel.org>
> > ---
> > changes since V4:
> > drop direct OCOTP register access for i.mx7d since it is a new added
> platform,
> > only support reading ocotp values through the ocotp nvmem driver which
> handles clock.
> > .../devicetree/bindings/thermal/imx-thermal.txt | 9 +-
> > drivers/thermal/imx_thermal.c | 295
> ++++++++++++++++-----
> > 2 files changed, 239 insertions(+), 65 deletions(-)
>
> Please add ack/reviewed-by's when posting new versions.
>
> Rob
Sorry for missing it, I just sent out a V6 adding Reviewed-by, thanks.
Anson.
Powered by blists - more mailing lists