linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Support for picoxcell OTP memory
@ 2011-03-23 12:16 Jamie Iles
  2011-03-23 12:16 ` [RFC PATCH 1/2] picoxcell-otp: add support for picoxcell OTP devices Jamie Iles
  2011-03-23 12:16 ` [RFC PATCH 2/2] picoxcellotp: add support for PC3X3 " Jamie Iles
  0 siblings, 2 replies; 7+ messages in thread
From: Jamie Iles @ 2011-03-23 12:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: gregkh, Jamie Iles

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

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

-- 
1.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-02 22:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-23 12:16 [RFC PATCH 0/2] Support for picoxcell OTP memory Jamie Iles
2011-03-23 12:16 ` [RFC PATCH 1/2] picoxcell-otp: add support for picoxcell OTP devices Jamie Iles
2011-03-23 14:42   ` Greg KH
2011-03-23 15:12     ` Jamie Iles
2011-03-24  9:30       ` Jamie Iles
2011-04-02 22:15     ` Thomas Gleixner
2011-03-23 12:16 ` [RFC PATCH 2/2] picoxcellotp: add support for PC3X3 " Jamie Iles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).