mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: barebox@lists.infradead.org
Subject: [PATCH 0/3] MVEBU SoC ID and revision detection
Date: Tue, 24 Jun 2014 13:45:33 +0200	[thread overview]
Message-ID: <1403610336-5949-1-git-send-email-sebastian.hesselbarth@gmail.com> (raw)

This patch set adds support for reading SoC ID and revision from
PCIe controllers found on Marvell MVEBU SoCs.

Patch 1 adds PCI bus specific OF address translation required for
reg property parsing of PCIe controller nodes.

Patch 2 selects above PCI OF address translation for MVEBU SoCs.

Patch 3 adds common code to find and parse PCIe controller nodes
from MVEBU SoC DT and read out SoC ID and revision registers.

The patches are based on barebox next with latest MVEBU patches
for cleanup and PBL images applied. They have been tested on
Marvell Kirkwood, Dove, and Armada 370.

Sebastian Hesselbarth (3):
  drivers: of: import PCI bus specific translator
  ARM: mvebu: select PCI specific DT bus translator
  ARM: mvebu: determine SoC id and revision from PCIe nodes

 arch/arm/Kconfig                         |  1 +
 arch/arm/mach-mvebu/common.c             | 64 ++++++++++++++++++++++++
 arch/arm/mach-mvebu/include/mach/socid.h | 76 +++++++++++++++++++++++++++++
 drivers/of/Kconfig                       |  3 ++
 drivers/of/address.c                     | 83 ++++++++++++++++++++++++++++++++
 5 files changed, 227 insertions(+)
 create mode 100644 arch/arm/mach-mvebu/include/mach/socid.h

---
Cc: barebox@lists.infradead.org
-- 
2.0.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2014-06-24 11:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24 11:45 Sebastian Hesselbarth [this message]
2014-06-24 11:45 ` [PATCH 1/3] drivers: of: import PCI bus specific translator Sebastian Hesselbarth
2014-06-24 11:45 ` [PATCH 2/3] ARM: mvebu: select PCI specific DT bus translator Sebastian Hesselbarth
2014-06-24 11:45 ` [PATCH 3/3] ARM: mvebu: determine SoC id and revision from PCIe nodes Sebastian Hesselbarth
2014-06-25  6:45 ` [PATCH 0/3] MVEBU SoC ID and revision detection Sascha Hauer

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=1403610336-5949-1-git-send-email-sebastian.hesselbarth@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=barebox@lists.infradead.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