LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Cc: David Brownell <dbrownell@users.sourceforge.net>,
Pierre Ossman <drzeus-mmc@drzeus.cx>,
Grant Likely <grant.likely@secretlab.ca>
Subject: [PATCH 0/3 RFC] MMC SPI support for OpenFirmware platforms
Date: Thu, 30 Oct 2008 22:55:46 +0300 [thread overview]
Message-ID: <20081030195546.GA30645@oksana.dev.rtsoft.ru> (raw)
Hi all,
Here are the bindings, again. Still RFC.
This patch series depends on:
http://lkml.org/lkml/2008/10/16/250
http://lkml.org/lkml/2008/10/24/416
+ of_gpio_flags enum (Trent Piepho will post an updated patch soon,
I believe).
Pierre, the approach is somewhat similar to this one:
http://lkml.org/lkml/2008/5/26/135
Posted few months ago.
I know you don't like it, but I ask you to reconsider it. The
I2C and SPI cases are similar, and recently we tried to write
bindings for some I2C GPIO controllers.
There we've learned that we:
1. Don't like the bus notifiers approach b/c we can't place the OF
code into the module.
http://lkml.org/lkml/2008/10/21/425
Hacks are possible, but they're are ugly.
2. Don't want to write new drivers to solely handle the platform
data:
http://lkml.org/lkml/2008/10/28/257
http://lkml.org/lkml/2008/10/28/268
And personally I don't want to do refactoring for every driver that
we'd want to use with the OpenFirmware...
If I understood correctly, for GPIO controllers David agreed that
we can live with the platform data accessors, at least for now:
http://lkml.org/lkml/2008/10/23/24
And when/if we'll find something better I'll be the first who
will offer help to convert the bindings code to this "something
better".
Thanks,
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
next reply other threads:[~2008-10-30 19:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 19:55 Anton Vorontsov [this message]
2008-10-30 19:56 ` [PATCH 1/3] powerpc: Add mmc-spi-slot bindings Anton Vorontsov
2008-10-30 20:37 ` Grant Likely
2008-10-30 23:02 ` Anton Vorontsov
2008-10-30 23:24 ` David Gibson
2008-10-30 23:28 ` Anton Vorontsov
2008-10-30 19:56 ` [PATCH 2/3] mmc: Add mmc_vddrange_to_ocrmask() helper function Anton Vorontsov
2008-11-08 20:55 ` Pierre Ossman
2008-11-26 19:54 ` [PATCH v2] " Anton Vorontsov
2008-11-30 20:06 ` Pierre Ossman
2008-12-01 11:53 ` Anton Vorontsov
2008-12-14 17:28 ` Pierre Ossman
2008-10-30 19:56 ` [PATCH 3/3] mmc_spi: Add support for OpenFirmware bindings Anton Vorontsov
2008-11-08 20:50 ` [PATCH 0/3 RFC] MMC SPI support for OpenFirmware platforms Pierre Ossman
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=20081030195546.GA30645@oksana.dev.rtsoft.ru \
--to=avorontsov@ru.mvista.com \
--cc=dbrownell@users.sourceforge.net \
--cc=drzeus-mmc@drzeus.cx \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--subject='Re: [PATCH 0/3 RFC] MMC SPI support for OpenFirmware platforms' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).