From: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>
To: Jamie Lentin <jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 1/2] ARM: kirkwood: Basic support for DNS-320 and DNS-325
Date: Mon, 12 Mar 2012 10:27:16 -0400 [thread overview]
Message-ID: <20120312142716.GA5050@titan.lakedaemon.net> (raw)
In-Reply-To: <op.wa197mq94cuzmg-x9DHNcFvAEtNwP/n92qj9LVCufUGDwFn@public.gmane.org>
On Mon, Mar 12, 2012 at 02:22:24PM -0000, Jamie Lentin wrote:
> On Mon, 12 Mar 2012 08:17:19 -0000, Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> wrote:
>
> >On Monday 12 March 2012, Jason Cooper wrote:
> >>> + dnskw_gpio_register(39, "dnskw:power:sata0", 1);
> >>> + dnskw_gpio_register(40, "dnskw:power:sata1", 1);
> >>> +
> >>> + /* Set NAS to turn back on after a power failure */
> >>> + dnskw_gpio_register(37, "dnskw:power:recover", 1);
> >>> +}
> >>> +
> >>
> >>I doubt this board is the only one that wants to be added while the
> >>conversion to devicetree is progressing. It makes more sense to me to
> >>break the above out to a separate file, eg board-dnskw.c. I'll follow
> >>and break out the dreamplug code to board-dreamplug.c. Otherwise, I see
> >>board-dt.c becoming a long mess.
> >>
> >>Arnd, sound okay to you?
> >
> >Either way is fine with me. I personally wouldn't expect many more boards
> >to come in before the DT conversion has mostly completed, but I guess you
> >have a better feeling for what other hardware is out there that people
> >are interested in.
> >
>
> It probably depends on how easy it is to add the gpiochips into
> devicetree. Being able to put the LED, buttons and fans in
> devicetree would make board-dt.c much more manageable. I started to
> look into it and wasn't immediately obvious, but will have a closer
> look.
>
> Happy to resubmit, breaking it out into a board-dnskw.c though.
Yeah, let's go ahead and do that. pinmux and the above are going to take
a while to sort out. In the mean time, there's:
sheevaplug
guruplug
guruplug-serverplus
Lacie-*
Seagate-*
rd-boards-*
just to name a few. Plus it'll give me something to do while we wait
for pinmux/common clock to land.
thx,
Jason.
next prev parent reply other threads:[~2012-03-12 14:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 14:33 [PATCH 0/2] Add support for DNS-320 and DNS-325 using devicetree Jamie Lentin
[not found] ` <1331476406-9844-1-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-11 14:33 ` [PATCH 1/2] ARM: kirkwood: Basic support for DNS-320 and DNS-325 Jamie Lentin
[not found] ` <1331476406-9844-2-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-11 17:46 ` Arnd Bergmann
[not found] ` <201203111746.09757.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-12 3:17 ` Jason Cooper
[not found] ` <20120312031751.GY5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-12 8:11 ` Arnd Bergmann
[not found] ` <201203120811.23137.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-12 16:10 ` Jason Cooper
[not found] ` <20120312161004.GB5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-12 16:43 ` Arnd Bergmann
2012-03-12 3:02 ` Jason Cooper
[not found] ` <20120312030232.GX5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-12 8:17 ` Arnd Bergmann
[not found] ` <201203120817.19777.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-12 14:22 ` Jamie Lentin
[not found] ` <op.wa197mq94cuzmg-x9DHNcFvAEtNwP/n92qj9LVCufUGDwFn@public.gmane.org>
2012-03-12 14:27 ` Jason Cooper [this message]
[not found] ` <20120312142716.GA5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-12 14:58 ` Arnd Bergmann
2012-03-12 17:59 ` Jamie Lentin
[not found] ` <op.wa2j90zu4cuzmg-x9DHNcFvAEtNwP/n92qj9LVCufUGDwFn@public.gmane.org>
2012-03-12 18:56 ` Jason Cooper
2012-03-11 14:33 ` [PATCH 2/2] ARM: kirkwood: Convert orion-nand to fdt Jamie Lentin
[not found] ` <1331476406-9844-3-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-11 17:52 ` Arnd Bergmann
2012-03-12 3:23 ` Jason Cooper
2012-03-12 2:36 ` [PATCH 0/2] Add support for DNS-320 and DNS-325 using devicetree 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=20120312142716.GA5050@titan.lakedaemon.net \
--to=jason-nlaqjdtuok4be96alqz0ja@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=jm-Pj/HzkgeCk7QXOPxS62xeg@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).