From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3 v2] RFC: marvell dreamplug dft support
Date: Tue, 9 Aug 2011 16:47:30 +0000 [thread overview]
Message-ID: <cover.1312906908.git.jason@lakedaemon.net> (raw)
All,
First, a warning. Do not apply the last patch in the series! It has
no hope of compiling. I'm trying to learn how to add board support to
the Linux kernel _and_ now trying to learn how to do it using devicetree.
In short, I'm lost. ;-) Any and all help appreciated.
In my sad attempt to add devicetree support, I used
arch/arm/mach-kirkwood/include/mach/kirkwood.h to stub out the addresses.
It's my understanding that most peripherals on this SoC are register-based.
So, I haven't added external-bus{...}; yet.
Based on kirkwood.h, there doesn't seem to be any obvious register size
definition, should I omit that all around in my devicetree?
I'm guessing at a lot of the compatible="" properties, I simply chose the
.name string I found in the respective code. Is this correct?
I see nothing obvious to indicate an irq handler similar to that mentioned
in [1]. Any thoughts? I found the irq table, just no way to use it.
Also, I'll rename dreamplug-setup.c -> dreamplug-dt.c once I have something
working.
[1] has been a great help, thanks Grant!
thx,
Jason.
[1] http://devicetree.org/Device_Tree_Usage
Jason Cooper (3):
arm/kirkwood: TEMP hack till mach-types is updated.
arm/kirkwood: add dreamplug support.
arm: kirkwood: dreamplug fdt support
arch/arm/boot/dts/kirkwood-dreamplug.dts | 64 +++++++++++++
arch/arm/mach-kirkwood/Kconfig | 8 ++
arch/arm/mach-kirkwood/Makefile | 1 +
arch/arm/mach-kirkwood/Makefile.boot | 2 +
arch/arm/mach-kirkwood/dreamplug-setup.c | 151 ++++++++++++++++++++++++++++++
arch/arm/tools/mach-types | 1 +
6 files changed, 227 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boot/dts/kirkwood-dreamplug.dts
create mode 100644 arch/arm/mach-kirkwood/dreamplug-setup.c
next reply other threads:[~2011-08-09 16:47 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 16:47 Jason Cooper [this message]
2011-08-09 16:47 ` [PATCH 1/3 v2] RFC: arm/kirkwood: TEMP hack till mach-types is updated Jason Cooper
2012-02-23 1:46 ` Grant Likely
2012-02-23 1:48 ` Grant Likely
2011-08-09 16:47 ` [PATCH 2/3 v2] RFC: arm/kirkwood: add dreamplug support Jason Cooper
2011-08-09 17:25 ` Arnaud Patard (Rtp)
2011-08-09 18:10 ` Jason
2011-08-10 14:31 ` Arnd Bergmann
2011-08-09 16:47 ` [PATCH 3/3 v2] RFC: arm: kirkwood: dreamplug fdt support Jason Cooper
2011-12-07 19:40 ` [PATCH V3] arm: kirkwood: add dreamplug support Jason Cooper
2012-02-22 19:18 ` [PATCH 0/3 v4] arm: kirkwood: add dreamplug/devicetree support Jason Cooper
2012-02-22 19:18 ` [PATCH 1/3] arm: ignore devicetree blobs Jason Cooper
2012-02-22 20:38 ` Arnd Bergmann
2012-02-22 22:26 ` Uwe Kleine-König
2012-02-23 9:16 ` Dave Martin
2012-02-23 15:56 ` Jason
2012-02-22 19:18 ` [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support Jason Cooper
2012-02-22 20:46 ` Arnd Bergmann
2012-02-22 21:17 ` Nicolas Pitre
2012-02-23 3:19 ` Rob Herring
2012-02-23 7:34 ` Arnd Bergmann
2012-02-23 16:12 ` Jason
2012-02-23 18:56 ` Grant Likely
2012-02-23 19:00 ` Jason
2012-02-22 19:18 ` [PATCH 3/3] arm: kirkwood: convert uart0 to devicetree Jason Cooper
2012-02-22 20:55 ` Arnd Bergmann
2012-02-22 21:09 ` Jason
2012-02-23 19:52 ` [PATCH 0/2 v5] arm: kirkwood: add dreamplug/devicetree support Jason Cooper
2012-02-23 19:52 ` [PATCH 1/2 v5] arm: kirkwood: add dreamplug (fdt) support Jason Cooper
2012-02-23 20:18 ` Grant Likely
2012-02-23 21:11 ` Jason
2012-02-23 21:21 ` Grant Likely
2012-02-24 14:35 ` Jason
2012-02-24 19:36 ` Jason
2012-02-23 19:52 ` [PATCH 2/2 v2] arm: kirkwood: convert uart0 to devicetree Jason Cooper
2012-02-26 11:00 ` [PATCH 0/2 v5] arm: kirkwood: add dreamplug/devicetree support Ian Campbell
2012-02-27 14:57 ` Jason
2012-02-28 7:20 ` Ian Campbell
2012-02-27 16:07 ` [PATCH 0/2 v6] " Jason Cooper
2012-02-27 16:07 ` [PATCH 1/2 v6] arm: kirkwood: add dreamplug (fdt) support Jason Cooper
2012-02-27 16:07 ` [PATCH 2/2 v2] arm: kirkwood: convert uart0 to devicetree Jason Cooper
2012-02-27 16:29 ` [PATCH 0/2 v6] arm: kirkwood: add dreamplug/devicetree support Arnd Bergmann
2012-02-27 17:31 ` Jason
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=cover.1312906908.git.jason@lakedaemon.net \
--to=jason@lakedaemon.net \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).