public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@nokia.com>
To: twebb <taliaferro62@gmail.com>
Cc: "linux-omap@vger.kernel.org Mailing List" <linux-omap@vger.kernel.org>
Subject: Re: MMC2 support in linux-omap-2.6.27 (omap1)
Date: Thu, 26 Mar 2009 10:46:52 +0200	[thread overview]
Message-ID: <49CB40FC.5070907@nokia.com> (raw)
In-Reply-To: <dbdb2ea60903251449u5d8e3edfvd58291923ecf6693@mail.gmail.com>

twebb wrote:
> On Wed, Mar 25, 2009 at 10:13 AM, twebb <taliaferro62@gmail.com> wrote:
>> I'm currently using linux-omap-2.6.27 (tag=omap1) and trying to add
>> MMC2 support.  I've back ported what I think I need from various files
>> inn l-o-2.6.28-omap1.  I will eventually move to 2.6.28-omap1 but for
>> now am trying to get it working on 2.6.27.
>>
>> Traces show that all looks good up until first command is issued, then
>> nothing seems to happen.  STAT reg shows 0, don't see clock or cmd
>> activity.  MMC1 is working fine with an SD card; MMC2 is connected to
>> eMMC flash.  Seems like I'm missing something basic like a clock or
>> enable, though I've confirmed ICLK and FCLK are enabled.  Any ideas?
>>
>> Thanks,
>> twebb
>>
> 
> I found at least part of my problem.  SDVS field of HCTL was being set
> to 0x7 (3.3V) instead of 0x5 (1.8V), and apparently MMC2 must be set
> for 0x5.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

The most up to date omap_hsmmc.c is here:

http://git.kernel.org/?p=linux/kernel/git/drzeus/mmc.git;a=blob;f=drivers/mmc/host/omap_hsmmc.c;h=488f222054f8a1493142d02da526c951def5ddfe;hb=next

That includes the 10 patches on LKML except number 8


  reply	other threads:[~2009-03-26  8:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 14:13 MMC2 support in linux-omap-2.6.27 (omap1) twebb
2009-03-25 21:49 ` twebb
2009-03-26  8:46   ` Adrian Hunter [this message]
     [not found]     ` <e1a3109c0903260313k54fb0a85kad478258c22958e6@mail.gmail.com>
2009-03-27 14:09       ` twebb

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=49CB40FC.5070907@nokia.com \
    --to=adrian.hunter@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=taliaferro62@gmail.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