From: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
To: shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
pawel.moll-5wv7dgnIgG8@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
mhei-Z/Lg1yOAjpkb1SvskN2V4Q@public.gmane.org
Subject: [PATCH RFC V3 0/3] mxs: add ocotp support for i.MX23 and i.MX28
Date: Sat, 18 Oct 2014 10:32:49 +0000 [thread overview]
Message-ID: <1413628372-2809-1-git-send-email-stefan.wahren@i2se.com> (raw)
This patch series brings readonly support for the On Chip OTP cells in the
i.MX23 and i.MX28 processor. The driver uses files (one for each cell)
in sysfs as interface.
This series based on the second version of the patches from
Christoph G. Baumann, but without write support which is too invasive.
The driver has been tested only with a i.MX28 board, so feedback from
i.MX23 users are very welcome.
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):
mxs: add binding for fsl ocotp
mxs: add driver for ocotp in i.MX23 and i.MX28
mxs: enable ocotp for i.MX23 and i.MX28
.../devicetree/bindings/misc/fsl,octop.txt | 14 +
arch/arm/boot/dts/imx23.dtsi | 3 +-
arch/arm/boot/dts/imx28.dtsi | 3 +-
drivers/misc/Kconfig | 13 +
drivers/misc/Makefile | 1 +
drivers/misc/fsl_ocotp.c | 332 ++++++++++++++++++++
6 files changed, 362 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/misc/fsl,octop.txt
create mode 100644 drivers/misc/fsl_ocotp.c
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2014-10-18 10:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-18 10:32 Stefan Wahren [this message]
[not found] ` <1413628372-2809-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2014-10-18 10:32 ` [PATCH RFC V3 1/3] mxs: add binding for fsl ocotp Stefan Wahren
2014-10-18 10:32 ` [PATCH RFC V3 2/3] mxs: add driver for ocotp in i.MX23 and i.MX28 Stefan Wahren
[not found] ` <1413628372-2809-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2014-10-20 14:44 ` Arnd Bergmann
2014-10-20 15:32 ` Stefan Wahren
[not found] ` <54452B15.50502-eS4NqCHxEME@public.gmane.org>
2014-10-20 17:32 ` Arnd Bergmann
2014-10-28 17:17 ` Ezequiel Garcia
[not found] ` <544FCFB3.10100-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-10-28 19:13 ` Arnd Bergmann
2014-11-06 19:25 ` Stefan Wahren
[not found] ` <1003885907.22061.1415301932743.JavaMail.open-xchange-0SF9iQWekqLZ78VGacPtK8gmgJlYmuWJ@public.gmane.org>
2014-11-06 19:47 ` Arnd Bergmann
2014-11-07 19:14 ` Ezequiel Garcia
[not found] ` <545D1A0D.9050307-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-11-07 19:44 ` Stefan Wahren
2014-10-29 7:14 ` Stefan Wahren
2014-10-18 10:32 ` [PATCH RFC V3 3/3] mxs: enable ocotp for " Stefan Wahren
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=1413628372-2809-1-git-send-email-stefan.wahren@i2se.com \
--to=stefan.wahren-es4nqchxeme@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=mhei-Z/Lg1yOAjpkb1SvskN2V4Q@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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).