mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Pierre Ossman <drzeus-mmc@drzeus.cx>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [MMC] Multiple cards on one host
Date: Wed, 3 Sep 2008 18:50:11 +0200	[thread overview]
Message-ID: <20080903165011.GG4941@pengutronix.de> (raw)
In-Reply-To: <20080903161102.004f6f9e@mjolnir.drzeus.cx>

On Wed, Sep 03, 2008 at 04:11:02PM +0200, Pierre Ossman wrote:
> On Wed, 3 Sep 2008 10:43:43 +0200
> Sascha Hauer <s.hauer@pengutronix.de> wrote:
> 
> > Hi,
> > 
> > I have a board (PXA based) which has two SD slots. It uses a gpio to
> > switch between the slots. In times when the MMC subsystem implemented
> > the bus topology our customer used this fact to connect the two slots on
> > a single host (although it was never intended to work with SD cards, it
> > seemed to work). Any idea how to implement this on recent kernels? I
> > thought about registering two hosts in pxamci.c, but this seems quite
> > hacky and I suppose I'll run into locking trouble.
> > 
> 
> To be honest, I don't think you can sanely support it. The OMAP guys
> have been playing with some kind of multiplexer in front of the
> controller, but it just seems like a world of hurt to me.

That's what I was afraid of. Lets see what our customer says (I hope I
won't find myself in this world of hurt)

> 
> Perhaps you can convert to using SPI for the second slot if the
> customer really needs a design with two slots?

Might be an option.

Thanks for your answer.

Sascha


-- 
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

      reply	other threads:[~2008-09-03 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03  8:43 Sascha Hauer
2008-09-03 14:11 ` Pierre Ossman
2008-09-03 16:50   ` Sascha Hauer [this message]

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=20080903165011.GG4941@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=drzeus-mmc@drzeus.cx \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®