From: Jamie Lentin <jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
Jason <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
Jamie Lentin <jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH V2 0/3] Add support for DNS-320 and DNS-325 using devicetree
Date: Sat, 24 Mar 2012 13:14:33 +0000 [thread overview]
Message-ID: <1332594876-8673-1-git-send-email-jm@lentin.co.uk> (raw)
Thankyou to Arnd and Jason for taking the time to review, sorry it's taken a
while to get back to you both with an updated version.
Changes since v1:
* Rebase against kirkwood_dt_for_3.4, removing premature devicetree ports.
* Move additions into a separate board-dnskw.c. It could be separated further
into a board-dns320.c and board-dns325.c but it probably isn't worth it.
* s/marvell,/mrvl,/g
* Include an example dtb partition in documentation
* Copy structure of serial nodes to allow common options for NAND to be set
in kirkwood.dtsi
* Simplifications in orion-nand.c
I looked into adding a dtb partition into the d-link partition scheme. However
D-Link supplied userland references all partitions by number and there isn't
any obvious space that would be safe to use. Regardless, if you still have
D-Link userland around, you probably still have D-Link u-boot, which won't load
the dtb for you anyway.
Jamie Lentin (3):
ARM: kirkwood: Basic support for DNS-320 and DNS-325
ARM: kirkwood: Convert orion-nand to fdt
ARM: kirkwood: Define NAND partitions in dts
.../devicetree/bindings/mtd/orion-nand.txt | 46 ++++
arch/arm/boot/dts/kirkwood-dns320.dts | 64 +++++
arch/arm/boot/dts/kirkwood-dns325.dts | 59 +++++
arch/arm/boot/dts/kirkwood.dtsi | 15 +-
arch/arm/mach-kirkwood/Kconfig | 23 ++
arch/arm/mach-kirkwood/Makefile | 1 +
arch/arm/mach-kirkwood/Makefile.boot | 2 +
arch/arm/mach-kirkwood/board-dnskw.c | 275 ++++++++++++++++++++
arch/arm/mach-kirkwood/board-dt.c | 5 +
arch/arm/mach-kirkwood/common.c | 12 +
arch/arm/mach-kirkwood/common.h | 6 +
drivers/mtd/nand/orion_nand.c | 34 +++-
12 files changed, 539 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/orion-nand.txt
create mode 100644 arch/arm/boot/dts/kirkwood-dns320.dts
create mode 100644 arch/arm/boot/dts/kirkwood-dns325.dts
create mode 100644 arch/arm/mach-kirkwood/board-dnskw.c
--
1.7.9.1
next reply other threads:[~2012-03-24 13:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-24 13:14 Jamie Lentin [this message]
[not found] ` <1332594876-8673-1-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 13:14 ` [PATCH V2 1/3] ARM: kirkwood: Basic support for DNS-320 and DNS-325 Jamie Lentin
[not found] ` <1332594876-8673-2-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 19:26 ` Arnd Bergmann
[not found] ` <201203241926.00597.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-25 15:05 ` Jason Cooper
2012-03-24 13:14 ` [PATCH V2 2/3] ARM: kirkwood: Convert orion-nand to fdt Jamie Lentin
[not found] ` <1332594876-8673-3-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 19:01 ` Arnd Bergmann
[not found] ` <201203241901.00405.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-25 0:17 ` [PATCH V3 " Jamie Lentin
2012-03-25 7:52 ` Arnd Bergmann
2012-03-25 14:57 ` Jason Cooper
2012-03-24 13:14 ` [PATCH V2 3/3] ARM: kirkwood: Define NAND partitions in dts Jamie Lentin
[not found] ` <1332594876-8673-4-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 19:01 ` Arnd Bergmann
2012-03-26 15:53 ` Scott Wood
[not found] ` <4F7090F9.5000603-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2012-03-26 16:20 ` Jason Cooper
[not found] ` <20120326162050.GT2484-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-26 16:28 ` Scott Wood
[not found] ` <4F70991E.1000204-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2012-03-26 16:36 ` Jamie Lentin
[not found] ` <alpine.DEB.2.00.1203261730590.23719-5X291BYdrx55rAo4AelP/Ydd74u8MsAO@public.gmane.org>
2012-03-26 16:43 ` Jason Cooper
2012-03-26 16:52 ` [PATCH] ARM: kirkwood: fdt: use IEEE1275 status = "okay" Jason Cooper
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=1332594876-8673-1-git-send-email-jm@lentin.co.uk \
--to=jm-pj/hzkgeck7qxopxs62xeg@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@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).