From: Anton Vorontsov <cbouatmailru@gmail.com>
To: David Brownell <david-b@pacbell.net>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Samuel Ortiz <sameo@linux.intel.com>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
David Brownell <dbrownell@users.sourceforge.net>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpio: Add generic driver for simple memory mapped controllers
Date: Thu, 26 Aug 2010 09:17:05 +0400 [thread overview]
Message-ID: <20100826051705.GA25521@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <921098.64431.qm@web180306.mail.gq1.yahoo.com>
On Wed, Aug 25, 2010 at 05:11:23PM -0700, David Brownell wrote:
> From: Anton Vorontsov <cbouatmailru@gmail.com>
> Subject: [PATCH] gpio: Add generic driver for simple memory mapped controllers
>
> NAK. As you said, it matches the programming of
> certain FPGAs ... so it's NOT "generic". Rename to match
> the Verilog/VHDL module name or somesuch, if there's
> really much reuse of that module.
I know at least two completely different platforms that
might reuse this driver.
One is PowerPC with ~10 different boards, and another is
an ARM board.
On PowerPC we use arch/powerpc/sysdev/simple_gpio.c, but
the new driver is much more generic, and is aimed to
replace the PowerPC specific one. So it is 'generic' in
this exact sense.
I also think that it is impractical to name the driver
after the particular FPGA IP codename, or even depend
on 'FPGA' word at all (as the GPIOs might be in ASIC
someday).
> There are other FPGA/CPLD GPIO modules, and most of the
> GPIOs in SOCs also match your description, but aren't
> even vaguely compatible with this specific interface.
Well, good. They don't have to use this driver. The driver
is for 'simple' GPIOs, just as the driver name states. I.e.
just a 'data' register or data + set + clr. The name
'simple', IMHO, perfectly matches the purpose of that
driver, no?
If you don't like the word 'generic' in the email subject
(the word does not appear anywhere else), I can remove it,
but I don't see why the name 'simple' doesn't work for
this driver.
Thanks!
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2010-08-26 5:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 19:42 [PATCH] gpio: Add generic driver for simple memory mapped controllers Anton Vorontsov
[not found] ` <921098.64431.qm@web180306.mail.gq1.yahoo.com>
2010-08-26 5:17 ` Anton Vorontsov [this message]
2010-08-26 16:22 ` David Brownell
2010-08-26 16:48 ` Alan Cox
2010-08-26 17:34 ` David Brownell
2010-08-26 18:36 ` Mark Brown
2010-08-26 21:07 ` Alan Cox
2010-08-26 22:58 ` David Brownell
2010-08-27 0:15 ` Alan Cox
2010-08-26 17:26 ` [PATCH v2] gpio: Add driver for Anton GPIO controllers Anton Vorontsov
2010-08-26 17:57 ` David Brownell
2010-08-26 21:20 ` Anton Vorontsov
2010-08-26 22:48 ` David Brownell
2010-08-27 15:57 ` [PATCH v3] gpio: Add driver for basic memory-mapped " Anton Vorontsov
2010-08-28 19:08 ` David Brownell
2010-08-29 21:28 ` [PATCH v4] " Anton Vorontsov
2010-08-30 20:23 ` David Brownell
2010-08-31 17:58 ` [PATCH v5] " Anton Vorontsov
2010-08-31 18:21 ` Mark Brown
2010-08-31 20:32 ` David Brownell
2010-09-01 19:52 ` [PATCH v6] " Anton Vorontsov
2010-09-07 14:01 ` [PATCH v7] " Anton Vorontsov
2010-09-21 22:23 ` Anton Vorontsov
2010-09-24 21:45 ` Andrew Morton
2010-09-28 12:40 ` [PATCH v7-fix] gpio: Add driver for basic memory-mapped GPIO controllers (fix) Anton Vorontsov
2010-08-26 18:38 ` [PATCH] gpio: Add generic driver for simple memory mapped controllers Mark Brown
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=20100826051705.GA25521@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=david-b@pacbell.net \
--cc=dbrownell@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.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