Re: [RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-27 Thread Boris Brezillon
Hi Moritz, On Thu, 26 May 2016 10:28:48 -0700 Moritz Fischer wrote: > Hi Boris, > > On Thu, May 26, 2016 at 1:04 AM, Boris Brezillon > wrote: > > > I think the MTD partition -> nvmem connection could benefit to non-OTP > >

Re: [RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-27 Thread Boris Brezillon
Hi Moritz, On Thu, 26 May 2016 10:28:48 -0700 Moritz Fischer wrote: > Hi Boris, > > On Thu, May 26, 2016 at 1:04 AM, Boris Brezillon > wrote: > > > I think the MTD partition -> nvmem connection could benefit to non-OTP > > partitions too. > > Yeah, I thought about that, too. Would you use

Re: [RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-26 Thread Moritz Fischer
Hi Boris, On Thu, May 26, 2016 at 1:04 AM, Boris Brezillon wrote: > I think the MTD partition -> nvmem connection could benefit to non-OTP > partitions too. Yeah, I thought about that, too. Would you use the _read, and _write callbacks in that case? > So,

Re: [RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-26 Thread Moritz Fischer
Hi Boris, On Thu, May 26, 2016 at 1:04 AM, Boris Brezillon wrote: > I think the MTD partition -> nvmem connection could benefit to non-OTP > partitions too. Yeah, I thought about that, too. Would you use the _read, and _write callbacks in that case? > So, how about defining the nvmem regions

Re: [RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-26 Thread Boris Brezillon
Hi Moritz, On Wed, 25 May 2016 14:26:46 -0700 Moritz Fischer wrote: > This commit adds documentation describing the bindings for > exposing mtd flash otp regions as nvmem providers via devicetree. > > Signed-off-by: Moritz Fischer > --- >

Re: [RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-26 Thread Boris Brezillon
Hi Moritz, On Wed, 25 May 2016 14:26:46 -0700 Moritz Fischer wrote: > This commit adds documentation describing the bindings for > exposing mtd flash otp regions as nvmem providers via devicetree. > > Signed-off-by: Moritz Fischer > --- > .../devicetree/bindings/mtd/otp-nvmem.txt |

[RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-25 Thread Moritz Fischer
This commit adds documentation describing the bindings for exposing mtd flash otp regions as nvmem providers via devicetree. Signed-off-by: Moritz Fischer --- .../devicetree/bindings/mtd/otp-nvmem.txt | 62 ++ 1 file changed, 62

[RFC/PATCH 1/2] doc: bindings: Add bindings documentation for mtd otp nvmem

2016-05-25 Thread Moritz Fischer
This commit adds documentation describing the bindings for exposing mtd flash otp regions as nvmem providers via devicetree. Signed-off-by: Moritz Fischer --- .../devicetree/bindings/mtd/otp-nvmem.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644