From: Jamie Iles <jamie@jamieiles.com>
To: linux-kernel@vger.kernel.org
Cc: gregkh@suse.de, Jamie Iles <jamie@jamieiles.com>
Subject: [RFC PATCH 0/2] Support for picoxcell OTP memory
Date: Wed, 23 Mar 2011 12:16:57 +0000 [thread overview]
Message-ID: <1300882619-19152-1-git-send-email-jamie@jamieiles.com> (raw)
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
next reply other threads:[~2011-03-23 12:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 12:16 Jamie Iles [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1300882619-19152-1-git-send-email-jamie@jamieiles.com \
--to=jamie@jamieiles.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®