linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] firmware: add driver for lpc18xx boot ROM
@ 2016-09-13 19:51 Joachim Eastwood
  2016-09-13 19:51 ` [PATCH 1/3] firmware: add lpc18xx boot rom driver Joachim Eastwood
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joachim Eastwood @ 2016-09-13 19:51 UTC (permalink / raw)
  To: linux-arm-kernel

This patch set adds a firmware driver for the boot ROM found on all
NXP LPC18xx/43xx devices. The boot ROM contains serveral APIs that
is used to retrive device specific information and program the 
internal Flash and OTP memories.

For now this driver only uses the API in the boot ROM to expose
device information via a 'SoC device'. Support for Flash and OTP
programming will be added later.

Also note that not all APIs are avaliable on all devices. The IAP
API that is used to retrive device information is only avaliable
on devices with Flash. Flashless devices retrive information from
OTP memory. To determin if IAP is avaliable one must check a
specific register in the CREG (syscon) block.

I intend to take this patch set via arm-soc/drivers through my
lpc18xx tree for 4.10.


Joachim Eastwood (3):
  firmware: add lpc18xx boot rom driver
  firmware: dt: document lpc1850 boot ROM bindings
  ARM: dts: lpc18xx: add boot rom node

 .../devicetree/bindings/firmware/nxp,boot-rom.txt  |  21 ++
 arch/arm/boot/dts/lpc18xx.dtsi                     |   8 +
 drivers/firmware/Kconfig                           |  12 +
 drivers/firmware/Makefile                          |   1 +
 drivers/firmware/nxp_lpc_boot_rom.c                | 411 +++++++++++++++++++++
 5 files changed, 453 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/firmware/nxp,boot-rom.txt
 create mode 100644 drivers/firmware/nxp_lpc_boot_rom.c

-- 
2.9.3

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

end of thread, other threads:[~2016-10-08 10:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13 19:51 [PATCH 0/3] firmware: add driver for lpc18xx boot ROM Joachim Eastwood
2016-09-13 19:51 ` [PATCH 1/3] firmware: add lpc18xx boot rom driver Joachim Eastwood
2016-10-07  1:42   ` Vladimir Zapolskiy
2016-10-08 10:49     ` Joachim Eastwood
2016-09-13 19:51 ` [PATCH 2/3] firmware: dt: document lpc1850 boot ROM bindings Joachim Eastwood
2016-09-23 13:39   ` Rob Herring
2016-09-23 20:01     ` Joachim Eastwood
2016-09-13 19:51 ` [PATCH 3/3] ARM: dts: lpc18xx: add boot rom node Joachim Eastwood
2016-10-07  1:50   ` Vladimir Zapolskiy
2016-10-08 10:28     ` Joachim Eastwood

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