Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751192AbeABQRK (ORCPT + 1 other); Tue, 2 Jan 2018 11:17:10 -0500 Received: from mail-io0-f193.google.com ([209.85.223.193]:45732 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751095AbeABQRH (ORCPT ); Tue, 2 Jan 2018 11:17:07 -0500 X-Google-Smtp-Source: ACJfBouCp7bVvtIVOK+JOfpxQX7sHrObhZoaAKFiifLtIO145b1lzSKLyMnhzUaN6bP073OKkkA2Q6cGn/7sXY9T1yQ= MIME-Version: 1.0 In-Reply-To: <828981e5-c23c-8dc4-55e4-23b65b33908b@linaro.org> References: <20171228212954.2922-1-malat@debian.org> <828981e5-c23c-8dc4-55e4-23b65b33908b@linaro.org> From: PrasannaKumar Muralidharan Date: Tue, 2 Jan 2018 21:47:05 +0530 Message-ID: Subject: Re: [PATCH v2 0/2] Add efuse driver for Ingenic JZ4780 SoC To: Srinivas Kandagatla Cc: Mathieu Malaterre , Marcin Nowakowski , Greg Kroah-Hartman , Zubair.Kakakhel@mips.com, Rob Herring , Mark Rutland , Ralf Baechle , open list , devicetree@vger.kernel.org, linux-mips@linux-mips.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Srinivas, On 2 January 2018 at 17:31, Srinivas Kandagatla wrote: > > > On 28/12/17 21:29, Mathieu Malaterre wrote: >> >> This patchset bring support for read-only access to the JZ4780 efuse as >> found >> on MIPS Creator CI20. >> >> To keep the driver as simple as possible, it was not possible to re-use >> most of >> the nvmem core functionalities. This driver is not compatible with the >> original > > Can you explain a bit more on not able to re-use nvmem core? > > If you are referring to adding nvmem cell entires in sysfs, This should > probably go in to nvmem core, rather that in individual providers. > This is one of the feature my todo list, will try to come up with some thing > soon. We could not find a way to expose different sized segments using nvmem framework. Do you have any pointers for this? We were not aware of the fact that nvmem does not expose individual cell entries in sysfs. Regards, PrasannaKumar