From: Ingo Molnar <mingo@elte.hu>
To: Michael Buesch <mb@bu3sch.de>
Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
linux-kernel <linux-kernel@vger.kernel.org>,
florian.fainelli@telecomint.eu,
the arch/x86 maintainers <x86@kernel.org>
Subject: Re: [PATCH RFC] x86: Add user configurable GPIO-lib support
Date: Tue, 1 Jul 2008 13:19:18 +0200 [thread overview]
Message-ID: <20080701111918.GA11809@elte.hu> (raw)
In-Reply-To: <200807011313.40598.mb@bu3sch.de>
* Michael Buesch <mb@bu3sch.de> wrote:
> > ... and thus perhaps your GPIO_USERSELECTION patch should move into
> > drivers/ and be generally accessible, not special to x86?
>
> Yes I'd really like to move it there, too. But currently that clashes
> with architectures like MIPS, some PPC flavours and probably others
> that implement their own GPIO API. We should have an
> ARCH_IMPLEMENT_GPIO or whatever, but currently we don't seem to have
> that.
>
> So well. If it's desired to put the user selection into drivers/gpio
> (which I'd really prefer), I can try to make a patch that adds
> ARCH_IMPLEMENT_GPIO to every arch that implements their own GPIO API
> and make GPIO_USERSELECTION depend on !ARCH_IMPLEMENT_GPIO.
or we could try it the other way around: stick
ARCH_ALLOWS_TRULY_GENERAL_PURPOSE_INPUT_OUTPUT (note: please use a
better name ;-) into x86, add the user text to drivers/ and let other
architectures enable it too?
That way your commits would still be pretty focused (you'd avoid having
to touch a lot of architectures) and it would still work all across the
spectrum.
hm?
Ingo
next prev parent reply other threads:[~2008-07-01 11:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 10:49 [PATCH RFC] x86: Add user configurable GPIO-lib support Michael Buesch
2008-07-01 11:04 ` Ingo Molnar
2008-07-01 11:13 ` Michael Buesch
2008-07-01 11:19 ` Ingo Molnar [this message]
2008-07-01 11:27 ` Michael Buesch
2008-07-01 23:05 ` Michael Buesch
2008-07-01 12:55 ` Florian Fainelli
2008-07-01 14:26 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2008-07-02 2:57 David Brownell
2008-07-02 9:40 ` Michael Buesch
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=20080701111918.GA11809@elte.hu \
--to=mingo@elte.hu \
--cc=florian.fainelli@telecomint.eu \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mb@bu3sch.de \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox