From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3 v2] RFC: arm/kirkwood: add dreamplug support.
Date: Wed, 10 Aug 2011 16:31:37 +0200 [thread overview]
Message-ID: <201108101631.38293.arnd@arndb.de> (raw)
In-Reply-To: <6b9e805f5765939fc844d5a9cd02ad141aa6af00.1312906908.git.jason@lakedaemon.net>
On Tuesday 09 August 2011, Jason Cooper wrote:
> Copied guruplug-setup.c and did s/guruplug/dreamplug/g. Then, switched
> to SPI based NOR flash. LED pins are correct.
>
> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
> ---
> arch/arm/mach-kirkwood/Kconfig | 6 ++
> arch/arm/mach-kirkwood/Makefile | 1 +
> arch/arm/mach-kirkwood/dreamplug-setup.c | 144 ++++++++++++++++++++++++++++++
> 3 files changed, 151 insertions(+), 0 deletions(-)
> create mode 100644 arch/arm/mach-kirkwood/dreamplug-setup.c
Hi Jason,
If the boards are reasonably similar, the way to go using the device tree
is to have separate dts files but share a single board file that uses the
device tree to figure out the differences.
For the on-chip components, you can even share most of the device tree
contents with an include directive.
In the actual board file, do not list any platform devices, but make
sure that the contents of the device tree file describe the devices
completely. Try to avoid any dependencies on the specific board name
(other than the initial match entry) but instead describe the
differences accurately.
Arnd
next prev parent reply other threads:[~2011-08-10 14:31 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 16:47 [PATCH 0/3 v2] RFC: marvell dreamplug dft support Jason Cooper
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 [this message]
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 ` Jason Cooper
2012-02-22 19:18 ` [PATCH 1/3] arm: ignore devicetree blobs Jason Cooper
2012-02-22 19:18 ` Jason Cooper
2012-02-22 20:38 ` Arnd Bergmann
2012-02-22 20:38 ` Arnd Bergmann
2012-02-22 22:26 ` Uwe Kleine-König
2012-02-22 22:26 ` Uwe Kleine-König
2012-02-23 9:16 ` Dave Martin
2012-02-23 9:16 ` Dave Martin
2012-02-23 15:56 ` Jason
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 19:18 ` Jason Cooper
2012-02-22 20:46 ` Arnd Bergmann
2012-02-22 20:46 ` Arnd Bergmann
2012-02-22 21:17 ` Nicolas Pitre
2012-02-22 21:17 ` Nicolas Pitre
2012-02-23 3:19 ` Rob Herring
2012-02-23 3:19 ` Rob Herring
2012-02-23 7:34 ` Arnd Bergmann
2012-02-23 7:34 ` Arnd Bergmann
2012-02-23 16:12 ` Jason
2012-02-23 16:12 ` Jason
2012-02-23 18:56 ` Grant Likely
2012-02-23 18:56 ` Grant Likely
2012-02-23 19:00 ` Jason
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 19:18 ` Jason Cooper
2012-02-22 20:55 ` Arnd Bergmann
2012-02-22 20:55 ` Arnd Bergmann
2012-02-22 21:09 ` Jason
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 ` Jason Cooper
2012-02-23 19:52 ` [PATCH 1/2 v5] arm: kirkwood: add dreamplug (fdt) support Jason Cooper
2012-02-23 19:52 ` Jason Cooper
2012-02-23 20:18 ` Grant Likely
2012-02-23 20:18 ` Grant Likely
2012-02-23 21:11 ` Jason
2012-02-23 21:11 ` Jason
2012-02-23 21:21 ` Grant Likely
2012-02-23 21:21 ` Grant Likely
2012-02-24 14:35 ` Jason
2012-02-24 14:35 ` Jason
2012-02-24 19:36 ` 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-23 19:52 ` Jason Cooper
2012-02-26 11:00 ` [PATCH 0/2 v5] arm: kirkwood: add dreamplug/devicetree support Ian Campbell
2012-02-26 11:00 ` Ian Campbell
2012-02-27 14:57 ` Jason
2012-02-27 14:57 ` Jason
2012-02-28 7:20 ` Ian Campbell
2012-02-28 7:20 ` Ian Campbell
2012-02-27 16:07 ` [PATCH 0/2 v6] " Jason Cooper
2012-02-27 16:07 ` Jason Cooper
2012-02-27 16:07 ` [PATCH 1/2 v6] arm: kirkwood: add dreamplug (fdt) support Jason Cooper
2012-02-27 16:07 ` Jason Cooper
2012-02-27 16:07 ` [PATCH 2/2 v2] arm: kirkwood: convert uart0 to devicetree Jason Cooper
2012-02-27 16:07 ` Jason Cooper
2012-02-27 16:29 ` [PATCH 0/2 v6] arm: kirkwood: add dreamplug/devicetree support Arnd Bergmann
2012-02-27 16:29 ` Arnd Bergmann
2012-02-27 17:31 ` Jason
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=201108101631.38293.arnd@arndb.de \
--to=arnd@arndb.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.