public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCHv3 0/4] Support for OTP memory
@ 2011-03-25 17:14 Jamie Iles
  2011-03-25 17:14 ` [RFC PATCHv3 1/4] drivers/otp: add initial support " Jamie Iles
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Jamie Iles @ 2011-03-25 17:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: vapier, gregkh, Jamie Iles

Hi,

I've updated this series following some great feedback from Greg and
Mike, and aside from the code quality improvements, the main changes
since v2 are:

    - The OTP regions don't live directly in /sys/bus/otp/devices
    anymore but just as a child device of the OTP device.
    - CONFIG_OTP_WRITE_ENABLE has been created that replaces the
    bfin-otp specific option and this disables all OTP writing at the
    higher levels.  The PC3X3 OTP driver has also been converted to use
    this.
    - Multiple OTP devices can now be registered at the same time.
    - The bfin-otp driver has been converted to a platform_driver and
    the relevant Blackfin platforms have had a bfin-otp device added.
    - The Blackfin OTP is now represented as a single region that does
    not include the ECC or control bits.  This prevents users from
    accidentally scribbling over those bits.

Greg, Mike, thanks again for taking the time to review, it's much
appreciated.

Thanks,

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

 Documentation/ABI/testing/sysfs-bus-otp      |   93 +++
 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             |  275 ++++---
 drivers/otp/otp.c                            |  913 +++++++++++++++++++++
 drivers/otp/otp_pc3x3.c                      | 1099 ++++++++++++++++++++++++++
 include/linux/otp.h                          |  277 +++++++
 20 files changed, 2677 insertions(+), 155 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 (40%)
 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] 16+ messages in thread

end of thread, other threads:[~2011-03-26  2:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 17:14 [RFC PATCHv3 0/4] Support for OTP memory Jamie Iles
2011-03-25 17:14 ` [RFC PATCHv3 1/4] drivers/otp: add initial support " Jamie Iles
2011-03-25 21:58   ` Mike Frysinger
2011-03-25 22:47     ` Jamie Iles
2011-03-25 22:50       ` Mike Frysinger
2011-03-25 22:55         ` Jamie Iles
2011-03-25 22:58           ` Mike Frysinger
2011-03-25 17:14 ` [RFC PATCHv3 2/4] drivers/otp: add support for Picoxcell PC3X3 OTP Jamie Iles
2011-03-25 17:14 ` [RFC PATCHv3 3/4] drivers/otp: convert bfin otp to generic OTP Jamie Iles
2011-03-25 22:56   ` Mike Frysinger
2011-03-26  0:11     ` Jamie Iles
2011-03-26  2:11       ` Mike Frysinger
2011-03-26  2:32         ` Jamie Iles
2011-03-26  2:55           ` Mike Frysinger
2011-03-25 17:14 ` [RFC PATCHv3 4/4] Blackfin: add the OTP device as a platform device Jamie Iles
2011-03-25 21:37   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox