From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751692AbdCCKOe (ORCPT ); Fri, 3 Mar 2017 05:14:34 -0500 Received: from mail-wr0-f175.google.com ([209.85.128.175]:36304 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbdCCKOb (ORCPT ); Fri, 3 Mar 2017 05:14:31 -0500 Subject: Re: [PATCH 1/2] nvmem: Add driver for the i.MX IIM To: Sascha Hauer , linux-kernel@vger.kernel.org References: <20170213153149.11710-1-s.hauer@pengutronix.de> <20170213153149.11710-2-s.hauer@pengutronix.de> Cc: linux-arm-kernel@lists.infradead.org, Maxime Ripard , Shawn Guo , Fabio Estevam , kernel@pengutronix.de, Rob Herring , Mark Rutland , Michael Grzeschik From: Srinivas Kandagatla Message-ID: <568bbe58-0bb5-f7ec-a646-271912a4313a@linaro.org> Date: Fri, 3 Mar 2017 09:50:02 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170213153149.11710-2-s.hauer@pengutronix.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/02/17 15:31, Sascha Hauer wrote: > From: Michael Grzeschik > > This adds a readonly nvmem driver for the i.MX IC Identification Module > (IIM). The IIM is found on the older i.MX SoCs like the i.MX25, i.MX27, > i.MX31, i.MX35, i.MX51 and the i.MX53. > > The IIM can control up to 8 fuse banks with 256 bit each. Not all of the > banks are equipped on the different SoCs. The actual number of fuses > differ from 512 on the i.MX27 and 1152 on the i.MX53. > > The fuses are one time writable, but writing is currently not supported > in the driver. > > Signed-off-by: Michael Grzeschik > Signed-off-by: Sascha Hauer > --- > drivers/nvmem/Kconfig | 11 ++++ > drivers/nvmem/Makefile | 2 + > drivers/nvmem/imx-iim.c | 171 ++++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 184 insertions(+) > create mode 100644 drivers/nvmem/imx-iim.c Patch looks good to me, Will pick both bindings and this patch in next cycle for 4.12. thanks, srini