lkml.org 
[lkml]   [2011]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCHv2 0/4] Support for OTP memory
Date
Following some feedback from Greg, I've updated this series to be more
of a generic OTP layer. Everything is now registered under the "otp"
bus and I've also converted the blackfin OTP driver to use this
framework (which is the only current OTP driver I could find).

Mike, I wasn't 100% sure how big the blackfin OTP is but I found a
datasheet talking about 64KB so I've assumed that for now.

Main changes since v1:

- both devices and regions are now on the "otp" bus.
- moved to drivers/otp.
- converted bfin-otp to the generic OTP layer.

Jamie Iles (4):
drivers/otp: add initial support for OTP memory
drivers/otp: add support for Picoxcell PC3X3 OTP
drivers/otp: allow an ioctl to be specified
drivers/otp: convert bfin otp to generic OTP

Documentation/ABI/testing/sysfs-bus-otp | 68 ++
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/char/Kconfig | 28 -
drivers/char/Makefile | 1 -
drivers/otp/Kconfig | 49 ++
drivers/otp/Makefile | 3 +
drivers/{char => otp}/bfin-otp.c | 174 +++---
drivers/otp/otp.c | 896 +++++++++++++++++++++++++
drivers/otp/otp_pc3x3.c | 1079 +++++++++++++++++++++++++++++++
include/linux/otp.h | 224 +++++++
11 files changed, 2397 insertions(+), 128 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-bus-otp
create mode 100644 drivers/otp/Kconfig
create mode 100644 drivers/otp/Makefile
rename drivers/{char => otp}/bfin-otp.c (54%)
create mode 100644 drivers/otp/otp.c
create mode 100644 drivers/otp/otp_pc3x3.c
create mode 100644 include/linux/otp.h

--
1.7.4



\
 
 \ /
  Last update: 2011-03-24 16:23    [W:0.180 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site