Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933336AbbFWTb6 (ORCPT ); Tue, 23 Jun 2015 15:31:58 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:53073 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754568AbbFWTbw (ORCPT ); Tue, 23 Jun 2015 15:31:52 -0400 Date: Tue, 23 Jun 2015 21:31:41 +0200 (CEST) From: Stefan Wahren Reply-To: Stefan Wahren To: srinivas.kandagatla@linaro.org, Sanchayan Maity , maxime.ripard@free-electrons.com, linux-arm-kernel@lists.infradead.org Cc: stefan@agner.ch, kernel@pengutronix.de, linux-kernel@vger.kernel.org, shawn.guo@linaro.org, arnd@arndb.de Message-ID: <1037424954.250728.1435087901102.JavaMail.open-xchange@oxbsltgw00.schlund.de> In-Reply-To: References: Subject: Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support 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:drPTNyqfdT/arqhkZiIAWwufP+cGCBagDa/B9+wt1UEwUEuWF+l zmI0nNS6488NKLm2CML62J2dwvTWX2/ZfUdbQm22rWcRdZ1Rl6mzK+bpOeGslxYwwWRfDa8 pccX0mS70mr2OcQLrESWOievD1RL4J+PBnIHxbDQt/jNx+6CRgoFrtvv74DbKVaP2e8ung8 sps5AevHtBwxz4KwP4NCQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:NCTf+WuhiiM=:q+cLlYmkIq7fB09dYGrrrt JtDRfUxnY9TT0Du7aYK+1AVXf3PiylTvJxEvxRVZQOFSgDEmGNnHzSDalmD36rNt3PH6rNT8R HsDC9df+Jqbznk3555PUkTtbJEVrNHgNXE0UL2RK3X6c4jV5eZPQ3wf9BJuAiQPDgIKbBpbR0 dUqzO5li1dPY+TbNKw9Y3gpjQCgeD0LzEUM1B2aTuDHYb1NWhDHHLm64+cDuxxa/RtMjqfbkN /lV0n1xApSR3J+SFf4LnM8Gmpf6SfTX4cXZZsd2yvqPOq0DnOFPeb03v+TqflXNCmImHkXHcm 1H8UX0lSNx7//wr8YqVaU5E9OQO5GRcZJtjjuwhG9GLmzA42DjZ/diWxrwr6ceKR/6f6iG6jw xXHyY/N3dGCR3XG49tCjSlsDbZAWCgPlILwU1Kj6RWX8a2Q0DQIqkusfJoHmC0Omp6HEjEsuV /GJGU2eMAg32IGEAPtvREIPBxDFt8WnoybVJS/e34vDmGXGPGp9ASNYWD6BZwpUGFFRLMM11l cPbbC0xJ7qiuLA8gqcNFP8NTJjVEfylqMnExpaXbFlP/QIfPEP6HFidxWOuJD1s46hZatSC9q NtFAfAk+blR3fJsu9JJzeFP742meWISDUSCLMfC6fjlQMyiI2hnMK7Cd9ZIvAHJDYbaea+rx2 Oe25aSkXzztfW9wC68Y+nLUCm2GdtMMfI9467qpbk/ubonA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1381 Lines: 43 Hi Sanchayan, > Sanchayan Maity hat am 23. Juni 2015 um 15:44 > geschrieben: > > > The patch adds support for the On Chip One Time Programmable Peripheral > (OCOTP) and On Chip ROM (OCROM) support. > > On Vybrid OCOTP contain data like SoC ID, MAC address and OCROM has the > revision ID. > > Signed-off-by: Sanchayan Maity > --- > drivers/nvmem/Kconfig | 11 +++++++++ > drivers/nvmem/Makefile | 2 ++ > drivers/nvmem/vf610-ocotp.c | 60 +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 73 insertions(+) > create mode 100644 drivers/nvmem/vf610-ocotp.c > > diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig > index 17f1a57..557c1e0 100644 > --- a/drivers/nvmem/Kconfig > +++ b/drivers/nvmem/Kconfig > @@ -33,4 +33,15 @@ config NVMEM_SUNXI_SID > This driver can also be built as a module. If so, the module > will be called eeprom-sunxi-sid. > > +config NVMEM_VF610_OCOTP > + tristate "VF610 SoCs OCOTP support" > + depends on SOC_VF610 > + select REGMAP_MMIO how do you come to the conclusion that Vybrid On-Chip OTP is accessable via MMIO? Regards Stefan -- 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/