From: Stefan Wahren <stefan.wahren@i2se.com>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Eric Anholt <eric@anholt.net>, Phil Elwell <phil@raspberrypi.org>
Cc: Stefan Wahren <stefan.wahren@i2se.com>,
devicetree@vger.kernel.org,
Florian Fainelli <f.fainelli@gmail.com>,
Scott Branden <sbranden@broadcom.com>,
Ray Jui <rjui@broadcom.com>,
bcm-kernel-feedback-list@broadcom.com,
linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH RFC 0/3] nvmem: Enable OTP access for Raspberry Pi
Date: Fri, 9 Mar 2018 14:32:05 +0100 [thread overview]
Message-ID: <1520602328-28972-1-git-send-email-stefan.wahren@i2se.com> (raw)
The VC4 firmware exposes a mailbox interface that allows the ARM core
to access only the customer part of the OTP memory. This version brings
read-only support, but could also be extended to write support.
I think this driver could be helpful for vendors, which integrate the
Raspberry Pi Compute Module in their products.
This series depends on commit "soc: bcm2835: sync firmware properties
with downstream".
Stefan Wahren (3):
dt-bindings: nvmem: add binding for Raspberry Pi OTP
nvmem: add driver for Raspberry Pi OTP
ARM: dts: bcm2835-rpi: Enable OTP access for Raspberry Pi
.../nvmem/raspberrypi,bcm2835-customer-otp.txt | 27 ++++
arch/arm/boot/dts/bcm2835-rpi.dtsi | 6 +
drivers/nvmem/Kconfig | 10 ++
drivers/nvmem/Makefile | 2 +
drivers/nvmem/raspberrypi-otp.c | 138 +++++++++++++++++++++
5 files changed, 183 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/raspberrypi,bcm2835-customer-otp.txt
create mode 100644 drivers/nvmem/raspberrypi-otp.c
--
2.7.4
next reply other threads:[~2018-03-09 13:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-09 13:32 Stefan Wahren [this message]
2018-03-09 13:32 ` [PATCH RFC 1/3] dt-bindings: nvmem: add binding for Raspberry Pi OTP Stefan Wahren
2018-03-18 12:48 ` Rob Herring
2018-03-09 13:32 ` [PATCH RFC 2/3] nvmem: add driver " Stefan Wahren
2018-03-09 21:06 ` Eric Anholt
2018-03-18 12:48 ` Rob Herring
2018-07-11 9:45 ` Srinivas Kandagatla
2018-09-18 14:40 ` Stefan Wahren
2018-03-09 13:32 ` [PATCH RFC 3/3] ARM: dts: bcm2835-rpi: Enable OTP access for Raspberry Pi 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=1520602328-28972-1-git-send-email-stefan.wahren@i2se.com \
--to=stefan.wahren@i2se.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=devicetree@vger.kernel.org \
--cc=eric@anholt.net \
--cc=f.fainelli@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=phil@raspberrypi.org \
--cc=rjui@broadcom.com \
--cc=robh+dt@kernel.org \
--cc=sbranden@broadcom.com \
--cc=srinivas.kandagatla@linaro.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).