Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1609866

Re: [PATCH 2/2] nvmem: imx-ocotp: add write support

From Richard Leitner <richard.leitner@skidata.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] nvmem: imx-ocotp: add write support
Date 2017-03-27 16:10 +0200
Message-ID <tpDvk-Li-25@gated-at.bofh.it> (permalink)
References <tpD2i-kn-27@gated-at.bofh.it> <tpD2i-kn-25@gated-at.bofh.it> <tpDbX-nU-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/27/2017 03:42 PM, Fabio Estevam wrote:
> [Adding Pengutronix folks and Shawn on Cc]
> 
> On Mon, Mar 27, 2017 at 10:31 AM, Richard Leitner
> <richard.leitner@skidata.com> wrote:
>> Implement write routine for OCOTP controller found in i.MX6 SoC's.
>> Furthermore add locking to the read function to prevent race conditions.
>> The write routine code is based on the fsl_otp driver from Freescale.
>>
>> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
> 
> Do we really want to have write support in the driver?

We need it for our "factory startup" process and other fusebox drivers
support it as well. Therefore I thought it would be a good idea to bring
it upstream.

Furthermore you can disable it via devicetree (and it would also be
possible to introduce a CONFIG for write support if it's wanted).

kind regards,
Richard L

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] nvmem: imx-ocotp: add write support Richard Leitner <richard.leitner@skidata.com> - 2017-03-27 15:40 +0200
  Re: [PATCH 2/2] nvmem: imx-ocotp: add write support Fabio Estevam <festevam@gmail.com> - 2017-03-27 15:50 +0200
    Re: [PATCH 2/2] nvmem: imx-ocotp: add write support Richard Leitner <richard.leitner@skidata.com> - 2017-03-27 16:10 +0200
    Re: [PATCH 2/2] nvmem: imx-ocotp: add write support Sascha Hauer <s.hauer@pengutronix.de> - 2017-03-30 08:20 +0200
  Re: [PATCH 2/2] nvmem: imx-ocotp: add write support Rob Herring <robh@kernel.org> - 2017-04-03 15:20 +0200

csiph-web