[RFC PATCH 0/2] Support for picoxcell OTP memory

From: Jamie Iles
Date: Wed Mar 23 2011 - 08:17:10 EST

This patch series adds support for the OTP memory in picoxcell devices
which can be used for the first-stage bootloaders, cryptographic keys
and any other per-device information. The first patch implements a
fairly generic OTP layer that handles the userspace interface and device
registration and abstracts the backend detail of how to actually read
and write the OTP to support different backends.

The second patch implements support for the OTP PC3X3 family of devices
which has 16KB of OTP.

Greg, I'm not sure if what I've done here is the best way to interface
with the driver model but I'm open to changes!


Jamie Iles (2):
picoxcell-otp: add support for picoxcell OTP devices
picoxcellotp: add support for PC3X3 OTP devices

Documentation/ABI/testing/sysfs-bus-picoxcell-otp | 37 +
.../ABI/testing/sysfs-platform-picoxcell-otp | 39 +
drivers/char/Kconfig | 15 +
drivers/char/Makefile | 2 +
drivers/char/picoxcellotp.c | 929 +++++++++++++++++
drivers/char/picoxcellotp.h | 230 +++++
drivers/char/picoxcellotp_pc3x3.c | 1078 ++++++++++++++++++++
7 files changed, 2330 insertions(+), 0 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-bus-picoxcell-otp
create mode 100644 Documentation/ABI/testing/sysfs-platform-picoxcell-otp
create mode 100644 drivers/char/picoxcellotp.c
create mode 100644 drivers/char/picoxcellotp.h
create mode 100644 drivers/char/picoxcellotp_pc3x3.c


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/