mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCHv4 0/4] Support for OTP memory
@ 2011-03-29 12:07 Jamie Iles
  2011-03-29 12:07 ` [RFC PATCHv4 1/4] drivers/otp: add initial support " Jamie Iles
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jamie Iles @ 2011-03-29 12:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: gregkh, vapier, arnd, Jamie Iles

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


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

end of thread, other threads:[~2011-03-29 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29 12:07 [RFC PATCHv4 0/4] Support for OTP memory Jamie Iles
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

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®