mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Iles <jamie@jamieiles.com>
To: linux-kernel@vger.kernel.org
Cc: gregkh@suse.de, vapier@gentoo.org, arnd@arndb.de,
	Jamie Iles <jamie@jamieiles.com>
Subject: [RFC PATCHv4 0/4] Support for OTP memory
Date: Tue, 29 Mar 2011 13:07:57 +0100	[thread overview]
Message-ID: <1301400481-11645-1-git-send-email-jamie@jamieiles.com> (raw)

Hi all,

This series of the OTP memory support has been updated since v3 with the
following main changes:

	- The device specific ioctl() has now been eliminated and an
	OTP_LOCK_AREA ioctl() has been added that uses the new lock_word()
	operation to perform locking of OTP.
	- The read_word/write_word operations are now per-device operations
	rather than per-region.
	- A word_size attribute has been added so that users can get the OTP
	word size (useful for the area locking).
	- Regions can have labels (a bit like partition names).
	- The sysfs show/store functions now take a backend module reference
	before accessing the operations to prevent a possible invalid
	reference when the backend module is unloaded.

Thanks,

Jamie Iles (4):
  drivers/otp: add initial support for OTP memory
  drivers/otp: add support for Picoxcell PC3X3 OTP
  Blackfin: add the OTP device as a platform device
  drivers/otp: convert bfin otp to generic OTP

 Documentation/ABI/testing/sysfs-bus-otp      |   93 +++
 Documentation/ioctl/ioctl-number.txt         |    1 +
 arch/blackfin/mach-bf518/boards/ezbrd.c      |   10 +
 arch/blackfin/mach-bf518/boards/tcm-bf518.c  |   10 +
 arch/blackfin/mach-bf527/boards/ad7160eval.c |   10 +
 arch/blackfin/mach-bf527/boards/cm_bf527.c   |   10 +
 arch/blackfin/mach-bf527/boards/ezbrd.c      |   10 +
 arch/blackfin/mach-bf527/boards/ezkit.c      |   10 +
 arch/blackfin/mach-bf527/boards/tll6527m.c   |   10 +
 arch/blackfin/mach-bf548/boards/cm_bf548.c   |    9 +
 arch/blackfin/mach-bf548/boards/ezkit.c      |   10 +
 drivers/Kconfig                              |    2 +
 drivers/Makefile                             |    1 +
 drivers/char/Kconfig                         |   28 -
 drivers/char/Makefile                        |    1 -
 drivers/otp/Kconfig                          |   51 ++
 drivers/otp/Makefile                         |    3 +
 drivers/{char => otp}/bfin-otp.c             |  261 +++----
 drivers/otp/otp.c                            | 1051 ++++++++++++++++++++++++
 drivers/otp/otp_pc3x3.c                      | 1102 ++++++++++++++++++++++++++
 include/linux/otp.h                          |  305 +++++++
 21 files changed, 2819 insertions(+), 169 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 (44%)
 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


             reply	other threads:[~2011-03-29 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 12:07 Jamie Iles [this message]
2011-03-29 12:07 ` [RFC PATCHv4 1/4] drivers/otp: add initial support " Jamie Iles
2011-03-29 12:07 ` [RFC PATCHv4 2/4] drivers/otp: add support for Picoxcell PC3X3 OTP Jamie Iles
2011-03-29 12:08 ` [RFC PATCHv4 3/4] Blackfin: add the OTP device as a platform device Jamie Iles
2011-03-29 12:08 ` [RFC PATCHv4 4/4] drivers/otp: convert bfin otp to generic OTP 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=1301400481-11645-1-git-send-email-jamie@jamieiles.com \
    --to=jamie@jamieiles.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vapier@gentoo.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®