devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
	devicetree-discuss@lists.ozlabs.org
Cc: Will Deacon <will.deacon@arm.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	arm@kernel.org, Russell King <linux@arm.linux.org.uk>
Subject: [PATCH 0/6] Integrator devicetree support
Date: Thu, 16 Aug 2012 14:15:17 +0200	[thread overview]
Message-ID: <1345119317-22600-1-git-send-email-linus.walleij@linaro.org> (raw)

This is a patch set for devicetree on the Integrator/AP and
Integrator/CP I've been cooking. I did some stepwise development
in recent kernels moving to sparse IRQs, per-system clock
source then common clk. Now we can do single zImage and
also devicetree on this platform, so this is a first patch
set.

In case you're wondering why, take down your Torvalds
autobiography and read the title. It was also a bit of
learning exercise, plus it's fun to run devicetree on this
ARMv4 system.

This patch set moves all the non-DT platform code into
#ifndef CONFIG_OF sections for clarity. The plan is to
delete them after deprecation.

Remaining roadblocks to deleting non-DT code altogether.

- Uncertain about how to do the fpga-irq DT binding so
  please review closely.

- The Integrator/AP ARM core tiles have add-on logic modules
  called Integrator/IM-PD1 with a load of PrimeCells and
  stuff. These spawn off a special bus called "lm" in
  arch/arm/mach-integrator/lm.c, and the core module support
  is in impd1.c. It'd probably be pretty easy to create
  device tree bindings for these, but I have no such module
  and no clue on where to get one. Is anyone actually using
  it? Russell?

- The special PCI adapter in the Integrator has to be DT:ed,
  but AFAICT there is still a problem with how to represent
  these things in DT. Any hints/examples, Arnd, Rob?
  arch/arm/mach-integrator/pci_v3.c

Yours,
Linus Walleij

Linus Walleij (6):
  ARM: integrator: call common init function from machine
  ARM: integrator: check PL010 device name rather than base address
  ARM: plat-versatile: add DT support to FPGA IRQ controller
  ARM: integrator: initial device tree support
  ARM: integrator: convert AMBA devices to device tree
  ARM: integrator: convert platform devices to Device Tree

 Documentation/devicetree/bindings/arm/arm-boards   |  12 +
 .../devicetree/bindings/arm/versatile-fpga-irq.txt |  35 +++
 arch/arm/boot/dts/integratorap.dts                 |  78 ++++++
 arch/arm/boot/dts/integratorcp.dts                 | 122 +++++++++
 arch/arm/mach-integrator/common.h                  |   3 +
 arch/arm/mach-integrator/core.c                    |  14 +-
 arch/arm/mach-integrator/integrator_ap.c           | 214 ++++++++++-----
 arch/arm/mach-integrator/integrator_cp.c           | 296 +++++++++++++--------
 arch/arm/plat-versatile/fpga-irq.c                 |  41 +++
 arch/arm/plat-versatile/include/plat/fpga-irq.h    |   2 +
 10 files changed, 640 insertions(+), 177 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/versatile-fpga-irq.txt
 create mode 100644 arch/arm/boot/dts/integratorap.dts
 create mode 100644 arch/arm/boot/dts/integratorcp.dts

-- 
1.7.11.2

             reply	other threads:[~2012-08-16 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 12:15 Linus Walleij [this message]
     [not found] ` <1345119317-22600-1-git-send-email-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-08-16 13:44   ` [PATCH 0/6] Integrator devicetree support Arnd Bergmann
     [not found]     ` <201208161344.55723.arnd-r2nGTMty4D4@public.gmane.org>
2012-08-18 23:06       ` Linus Walleij
     [not found]         ` <CACRpkdYYgdzAU=nyL7dQbdMLx3z3G+K7ba0uJe1=aX=BLeF_sg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-19 14:05           ` Arnd Bergmann
2012-08-19 15:52           ` Nicolas Pitre
     [not found]             ` <alpine.LFD.2.02.1208191148520.1754-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2012-08-30 21:01               ` Nicolas Pitre

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=1345119317-22600-1-git-send-email-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=arm@kernel.org \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=will.deacon@arm.com \
    /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).