From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH v2 3/5] thermal: imx: Add support for reading OCOTP through nvmem Date: Tue, 25 Jul 2017 16:08:36 +0800 Message-ID: <20170725080835.GD20064@dragon> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: Leonard Crestez Cc: Srinivas Kandagatla , Rob Herring , Zhang Rui , Eduardo Valentin , Mark Rutland , Lothar =?iso-8859-1?Q?Wa=DFmann?= , Dong Aisheng , Bai Ping , Anson Huang , Octavian Purdila , Fabio Estevam , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Fri, Jul 14, 2017 at 05:11:08PM +0300, Leonard Crestez wrote: > On newer imx SOCs accessing OCOTP directly is wrong because the ocotp clock > needs to be enabled first. Add support for reading those same values through > the nvmem API instead. > > The older path is preserved for compatibility with older dts and because it > works correctly on imx6qdl chips. > > Signed-off-by: Leonard Crestez Acked-by: Shawn Guo