[RFC PATCHv2 0/4] Support for OTP memory

From: Jamie Iles
Date: Thu Mar 24 2011 - 11:21:31 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/