From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751448AbdGYIJY (ORCPT ); Tue, 25 Jul 2017 04:09:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:41224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750824AbdGYIJW (ORCPT ); Tue, 25 Jul 2017 04:09:22 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F329F22B5D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Tue, 25 Jul 2017 16:08:36 +0800 From: Shawn Guo 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 Subject: Re: [PATCH v2 3/5] thermal: imx: Add support for reading OCOTP through nvmem Message-ID: <20170725080835.GD20064@dragon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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