From: David Brownell <david-b@pacbell.net>
To: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: lkml <linux-kernel@vger.kernel.org>, linux-geode@lists.infradead.org
Subject: Re: [PATCH] AMD Geode CS553X GPIO driver
Date: Fri, 26 Dec 2008 11:20:28 -0800 [thread overview]
Message-ID: <200812261120.28834.david-b@pacbell.net> (raw)
In-Reply-To: <20081226193854.41cbee89@i1501.lan.towertech.it>
On Friday 26 December 2008, Alessandro Zummo wrote:
> > > It uses the gpio framework and the gpio api as defined in
> > > arch/x86/kernel/geode_32.c
> >
> > Eventually I'd hope to see those geode_32.c calls just vanish.
> >
> > In fact, the "normal" way to package these GPIOs would be to
> > always provide them through the standard API, in arch/... code,
> > with no Kconfig option. Any reason you shouldn't do that in
> > this patch?
>
> I didn't want to mess with something I did not wrote.
Such messing is part'n'parcel of updating the kernel though. :)
> Maybe a two steps
> approach can convince people to move on ;) (you remember what happened
> with people holding their old rtc code tight :) )
The RTC case was different ... driver structure needed to
either use the new framework, or the old. Except for that
drivers/rtc/rtc-ppc.c migration aid, letting some of them
coexist until the older ppc_md stuff gets updated. That is,
switching from one full-fledged driver to another one needs
some kind of scheduled flag day. (Plus completing kernel
infrastructure, of which NTP support is probably the most
significant missing part right now.)
If you add this to the geode_32.c file it'll just provide a
standard interfaces, which can coexist with the older stuff
until it's removed. Several of the ARM platforms have
exactly that kind of coexistence going on. (Example, OMAP;
which in 2.6.29 will stops using its legacy GPIO calls.)
- Dave
next prev parent reply other threads:[~2008-12-26 19:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-24 22:43 [PATCH] AMD Geode CS553X GPIO driver Alessandro Zummo
2008-12-26 18:24 ` David Brownell
2008-12-26 18:38 ` Alessandro Zummo
2008-12-26 19:20 ` David Brownell [this message]
2008-12-26 21:06 ` Alessandro Zummo
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=200812261120.28834.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=alessandro.zummo@towertech.it \
--cc=linux-geode@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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.