devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] nvmem: Enable OTP access for Raspberry Pi
@ 2018-03-09 13:32 Stefan Wahren
  2018-03-09 13:32 ` [PATCH RFC 1/3] dt-bindings: nvmem: add binding for Raspberry Pi OTP Stefan Wahren
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Stefan Wahren @ 2018-03-09 13:32 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Mark Rutland, Eric Anholt,
	Phil Elwell
  Cc: Stefan Wahren, devicetree, Florian Fainelli, Scott Branden,
	Ray Jui, bcm-kernel-feedback-list, linux-rpi-kernel,
	linux-arm-kernel

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

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

end of thread, other threads:[~2018-09-18 14:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09 13:32 [PATCH RFC 0/3] nvmem: Enable OTP access for Raspberry Pi Stefan Wahren
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

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).