linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: stefan.wahren@i2se.com (Stefan Wahren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V5 0/3] nvmem: add ocotp support for i.MX23 and i.MX28
Date: Tue, 11 Aug 2015 13:30:15 +0000	[thread overview]
Message-ID: <1439299818-8495-1-git-send-email-stefan.wahren@i2se.com> (raw)

This patch series brings read-only support for the On-Chip OTP cells
in the i.MX23 and i.MX28 processor.

changes in V5:
- rebase to char-misc-next
- add nvmem prefix to module name
- set status in dtsi files

changes in V4:
- rename fsl_ocotp.c to mxs-ocotp.c
- adapt driver to use NVMEM framework V7
- take care of hbus clock
- increase too small timeout
- implement a wait function
- use defines from stmp_device.h
- remove owner init
- more code cleanup

changes in V3:
- drop write support
- take care of i.MX23 which has less registers
- drop unnecessary header file
- move static variables into driver data
- add devicetree probing
- fix missing bank closing in error case
- use kobj from platform device for sysfs
- add SYSFS to Kconfig
- add binding file
- code cleanup

Stefan Wahren (3):
  DT: nvmem: add binding for mxs-ocotp
  nvmem: add driver for ocotp in i.MX23 and i.MX28
  ARM: mxs: enable ocotp for i.MX23 and i.MX28

 .../devicetree/bindings/nvmem/mxs-ocotp.txt        |   24 ++
 arch/arm/boot/dts/imx23.dtsi                       |    7 +-
 arch/arm/boot/dts/imx28.dtsi                       |    7 +-
 drivers/nvmem/Kconfig                              |   11 +
 drivers/nvmem/Makefile                             |    2 +
 drivers/nvmem/mxs-ocotp.c                          |  252 ++++++++++++++++++++
 6 files changed, 299 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt
 create mode 100644 drivers/nvmem/mxs-ocotp.c

-- 
1.7.9.5

             reply	other threads:[~2015-08-11 13:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-11 13:30 Stefan Wahren [this message]
2015-08-11 13:30 ` [PATCH V5 1/3] DT: nvmem: add binding for mxs-ocotp Stefan Wahren
2015-08-11 13:30 ` [PATCH V5 2/3] nvmem: add driver for ocotp in i.MX23 and i.MX28 Stefan Wahren
2015-08-11 13:54   ` Srinivas Kandagatla
2015-08-11 13:30 ` [PATCH V5 3/3] ARM: mxs: enable ocotp for " Stefan Wahren
2015-08-11 16:54 ` [PATCH V5 0/3] nvmem: add ocotp support " Marek Vasut

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=1439299818-8495-1-git-send-email-stefan.wahren@i2se.com \
    --to=stefan.wahren@i2se.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).