devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joachim Eastwood <manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: Joachim Eastwood
	<manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	arnd-r2nGTMty4D4@public.gmane.org
Subject: [PATCH 0/3] firmware: add driver for lpc18xx boot ROM
Date: Tue, 13 Sep 2016 21:51:14 +0200	[thread overview]
Message-ID: <20160913195117.2887-1-manabian@gmail.com> (raw)

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

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

             reply	other threads:[~2016-09-13 19:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13 19:51 Joachim Eastwood [this message]
     [not found] ` <20160913195117.2887-1-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-13 19:51   ` [PATCH 1/3] firmware: add lpc18xx boot rom driver Joachim Eastwood
     [not found]     ` <20160913195117.2887-2-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-10-07  1:42       ` Vladimir Zapolskiy
     [not found]         ` <9fec6e3b-fcd9-2251-c4c9-5b3f4fdc3c70-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-10-08 10:49           ` Joachim Eastwood
2016-09-13 19:51   ` [PATCH 2/3] firmware: dt: document lpc1850 boot ROM bindings Joachim Eastwood
     [not found]     ` <20160913195117.2887-3-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
     [not found]     ` <20160913195117.2887-4-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-10-07  1:50       ` Vladimir Zapolskiy
     [not found]         ` <7d4f9e48-e93a-db9e-fba0-e1b64e7056d7-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>
2016-10-08 10:28           ` Joachim Eastwood

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=20160913195117.2887-1-manabian@gmail.com \
    --to=manabian-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+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).