From: David Woodhouse <dwmw2@infradead.org>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Corentin Chary <corentin.chary@gmail.com>,
Ike Panhc <ike.pan@canonical.com>,
linux-kernel@vger.kernel.org, mjg@redhat.com,
platform-driver-x86@vger.kernel.org
Subject: Re: [RESEND][PATCH 0/5] Support for the TS-5500 board
Date: Wed, 10 Aug 2011 15:20:46 +0100 [thread overview]
Message-ID: <1312986047.2989.47.camel@i7.infradead.org> (raw)
In-Reply-To: <20110810100629.715c3bb7@v0nbox>
On Wed, 2011-08-10 at 10:06 -0400, Vivien Didelot wrote:
> > And btw, I'm not sure we really want to put all these drivers in
> > arch/x86/platform/ts5500/ a re-create the arm driver mess.
> > drivers/leds/, drivers/gpio/ and drivers/mtd/ are probably a best
> > choice.
>
> In fact, this set of patches is a rewrite of the first RFC set, where
> we discussed that arch/x86/platform/ could be a good place, as the
> TS-5500 is a specific platform with its platform devices (the
> corresponding thread is here: https://lkml.org/lkml/2011/5/3/60).
Just expose these devices in the device-tree. You shouldn't *need* a new
MTD device driver; physmap_of should be just fine.
If your bootloader doesn't pass one, your platform-specific code should
just register its own device-tree blob during early boot. And your
device drivers should just match against the devices therein.
--
dwmw2
next prev parent reply other threads:[~2011-08-10 14:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 21:10 Vivien Didelot
2011-07-28 21:10 ` [RESEND][PATCH 1/5] x86: base support for TS-5500 Single Board Computer Vivien Didelot
2011-07-28 21:10 ` [RESEND][PATCH 2/5] gpio: add support for TS-5500 GPIO Vivien Didelot
2011-07-28 21:10 ` [RESEND][PATCH 3/5] leds: add support for TS-5500 LED Vivien Didelot
2011-07-28 21:10 ` [RESEND][PATCH 4/5] adc: add support for TS-5500 ADC Vivien Didelot
2011-07-28 21:10 ` [RESEND][PATCH 5/5] mtd: move support for TS-5500 MTD Vivien Didelot
2011-08-10 3:32 ` [RESEND][PATCH 0/5] Support for the TS-5500 board Vivien Didelot
2011-08-10 5:53 ` Ike Panhc
2011-08-10 6:18 ` Corentin Chary
2011-08-10 14:06 ` Vivien Didelot
2011-08-10 14:20 ` David Woodhouse [this message]
2011-08-10 19:09 ` Vivien Didelot
2011-08-12 14:26 ` Vivien Didelot
2011-08-24 13:42 ` Matthew Garrett
2011-08-24 15:16 ` Vivien Didelot
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=1312986047.2989.47.camel@i7.infradead.org \
--to=dwmw2@infradead.org \
--cc=corentin.chary@gmail.com \
--cc=ike.pan@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.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
all inboxes | Powered by JetHome®