Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933424AbbFWUgX (ORCPT ); Tue, 23 Jun 2015 16:36:23 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:58096 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754881AbbFWUgP (ORCPT ); Tue, 23 Jun 2015 16:36:15 -0400 Date: Tue, 23 Jun 2015 22:35:35 +0200 (CEST) From: Stefan Wahren Reply-To: Stefan Wahren To: Srinivas Kandagatla , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org Cc: wxt@rock-chips.com, linux-api@vger.kernel.org, Kumar Gala , Rob Herring , sboyd@codeaurora.org, arnd@arndb.de, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, mporter@konsulko.com, Maxime Ripard , pantelis.antoniou@konsulko.com, devicetree@vger.kernel.org, Mark Brown Message-ID: <1670081084.252423.1435091735127.JavaMail.open-xchange@oxbsltgw00.schlund.de> In-Reply-To: <1435014538-26308-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1435014459-26138-1-git-send-email-srinivas.kandagatla@linaro.org> <1435014538-26308-1-git-send-email-srinivas.kandagatla@linaro.org> Subject: Re: [PATCH v6 4/9] nvmem: Add bindings for simple nvmem framework MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.6.2-Rev18 X-Originating-Client: com.openexchange.ox.gui.dhtml X-Provags-ID: V03:K0:hP8XqBprNjI3+8jsLq4h9LRVkaSPcGseGnZJWq86CjB9F/1SnXt 7u4/515itoRBFcf7aafeXChwzgI32Zm6sK08tVh+3vwJmaNvqw5i8gQeadn6l+81sccJACa EvWrY3fVt8fEEZlj100eMH3gjemmsMGU7J2zABHx0lG87DZ0OxsUV/fbdevfs3Uw3S0Yr1W gWk9RhBTxAYS2Db+uBWhQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:6oc8wPm0Q+4=:dZI+u3cW+JXzibGakBDZaI raqvLjDIlKlRFhHM2AN8d+5EgtoWVVDPnraaaP/uOQ8CSwhn9jbVqrTOhCdL9E2BL6lomgnEV PXyteeux+zyIEZD+pqA8y7i9kpt20s0w4wIfmGbby6A7GqwbupAGWUUjtK9ciD8cLKPb/AqGE 4m56hkPPuuLcNnnlt1grZWrNcp8qglhUzwIBhquRus1PUgp03DYRcaO0dvJpzw7AcGtIghtUE iINk6d/YcN2rli7IhET7e9gHloNt1IC25ROmve6GhGth3Z/0r8h5GlGV5a6ia2bwDWkNBDalk 3sMr3iQKouU1n5Ksc6P6ZL0HbUR6h0BYpetEhF/C0JNnVb7ozUIACMRHhEBlNSP44vS5D/R6i o0CBNxqjxjqjvKT+9aG6wlIMLL2MsiPiIOb4eWe7mH0Q61Tgi4aeSogqMdje/0VWGGkYiDkb1 bsKYVX/gEGtjLdzBmX7LngKJ+XxAqPG6RbRphRPedCA3Lx3/JWKi+rnV2QTJTSluktotIpgxF Lm6dX8q7mMtMfxZKU4TRsXMrhVTgYcprmvecQBaC30KAO+dlO++ls+3xH45QgPIbY7bYnasWA FsRYvRNVb/pqfrKMFpqtP8bxctOct3dVVcSg9gGk4KPmDq/+qnbF6cY1VwBPgpJBsrFsl3THT tHbo5Q7IiJxCfUs7P/7otD+4yXtoO6GF4Vn+VQmX1sahyhg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2244 Lines: 56 > Srinivas Kandagatla hat am 23. Juni 2015 um > 01:08 geschrieben: > > > This patch adds bindings for simple nvmem framework which allows nvmem > consumers to talk to nvmem providers to get access to nvmem cell data. > > Signed-off-by: Maxime Ripard > [Maxime Ripard: intial version of eeprom framework] > Signed-off-by: Srinivas Kandagatla > --- > Documentation/devicetree/bindings/nvmem/nvmem.txt | 85 +++++++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/nvmem.txt > > diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.txt > b/Documentation/devicetree/bindings/nvmem/nvmem.txt > new file mode 100644 > index 0000000..d1a37e7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/nvmem.txt > @@ -0,0 +1,85 @@ > += NVMEM(Non Volatile Memory) Data Device Tree Bindings = > + > +This binding is intended to represent the location of hardware > +configuration data stored in NVMEMs like eeprom, efuses and so on. > + > +On a significant proportion of boards, the manufacturer has stored > +some data on NVMEM, for the OS to be able to retrieve these information > +and act upon it. Obviously, the OS has to know about where to retrieve > +these data from, and where they are stored on the storage device. > + > +This document is here to document this. > + > += Data providers = > +Contains bindings specific to provider drivers and data cells as children > +of this node. > + > +Optional properties: > + read-only: Mark the provider as read only. > + > += Data cells = > +These are the child nodes of the provider which contain data cell > +information like offset and size in nvmem provider. > + > +Required properties: > +reg: specifies the offset in byte within that storage device, start bit > + in the byte and the length in bits of the data we care about. Is the second parameter really in bits, not bytes? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/