From: Michael Buesch <mb@bu3sch.de>
To: David Brownell <david-b@pacbell.net>
Cc: Randy Dunlap <randy.dunlap@oracle.com>, gregkh <greg@kroah.com>,
Andrew Morton <akpm@linux-foundation.org>,
Stephen Rothwell <sfr@canb.auug.org.au>,
"linux-kernel" <linux-kernel@vger.kernel.org>,
Piot Skamruk <piotr.skamruk@gmail.com>,
Pierre Ossman <drzeus-mmc@drzeus.cx>,
openwrt-devel@lists.openwrt.org
Subject: Re: [PATCH v2] Add GPIO-based MMC/SD driver
Date: Mon, 28 Jul 2008 15:11:53 +0200 [thread overview]
Message-ID: <200807281511.54299.mb@bu3sch.de> (raw)
In-Reply-To: <200807271630.07939.david-b@pacbell.net>
On Monday 28 July 2008 01:30:07 David Brownell wrote:
> > How to?
>
> Simplest to just rip out the support for using one! And in any case:
> as a rule, any delay should be a function of the target bus speed.
Well, that wasn't exactly an answer to my question. ;)
So setting boardinfo->max_speed_hz to zero will do?
> > Where's that documented?
>
> UTSL ... mmc_spi_probe(), first thing. :)
Well, the code of a function isn't really a documentation for its API. ;)
But well, thanks for the hint.
> Don't export that. It's a (less expressive) subset of the standard
> way to do that.
Well, if we have that code in one place, why would we want to reinvent the
wheel over and over again? We can just export this API and let users use
it instead of requireing them to reinvent it.
I'm really really not too sure where your problem is with exporting
that API. If you don't want to use it, simply don't do so and reinvent
the wheel in your code. I'm prefectly fine with that. But IMO that's not
a good reason to hide the code from everybody else who wants to use it.
> > >
> > > There is no "platform GPIO bus" ...
> >
> > hm??
>
> If you look in /sys/bus you won't see GPIO. It's not a bus.
Oh well... This is getting boring...
Then call it "platform GPIO pins" or "platform GPIO controller" or whatever.
That's really just splitting the hair into 16 parts.
> > People asked me to expose it. It was hidden in the first patch that
> > I submitted. I'm not going to change this just to see the next one
> > yelling "I want to see this interface in public" again.
>
> Could you send me some URLs for that feedback?
It was private. One of the OpenWRT guys requested that to have a
convenient way to define a hardwired MMC card in the platform code
by just defining a simple data structure.
--
Greetings Michael.
next prev parent reply other threads:[~2008-07-28 13:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-18 20:01 [PATCH v2] Add GPIO-based MMC/SD driver Michael Buesch
2008-07-18 22:10 ` Randy Dunlap
2008-07-18 22:38 ` Michael Buesch
2008-07-18 22:59 ` Greg KH
2008-07-18 23:19 ` Michael Buesch
2008-07-21 20:41 ` David Brownell
2008-07-21 20:53 ` Randy Dunlap
2008-07-27 23:30 ` David Brownell
2008-07-27 23:34 ` David Brownell
2008-07-28 13:11 ` Michael Buesch [this message]
2008-07-28 20:03 ` Piotr Skamruk
2008-07-21 21:21 ` 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=200807281511.54299.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=akpm@linux-foundation.org \
--cc=david-b@pacbell.net \
--cc=drzeus-mmc@drzeus.cx \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=openwrt-devel@lists.openwrt.org \
--cc=piotr.skamruk@gmail.com \
--cc=randy.dunlap@oracle.com \
--cc=sfr@canb.auug.org.au \
/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