All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frédéric BEGOU" <fbegou@sios.fr>
To: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/2 (for-next)] ARM: OMAP3: Add support for the IGEP v2 board (rev B)
Date: Mon, 16 Nov 2009 15:31:14 +0100	[thread overview]
Message-ID: <4B016232.60607@sios.fr> (raw)
In-Reply-To: <4B015F12.7080709@sios.fr>

Frédéric BEGOU wrote :
> Frédéric BEGOU wrote:
>
>    Hello,
>
>     
>    For what I've seen on the Internet concerning your card, there is
>    only one MMC card reader.
>
>    Besides, there is the following piece of code :
>
>     
>        +static struct twl4030_hsmmc_info mmc[] = {
>        +       {
>        +               .mmc            = 1,
>        +               .wires          = 4,
>        +               .gpio_cd        = -EINVAL,
>        +               .gpio_wp        = -EINVAL,
>        +       },
>        +       {
>        +               .mmc            = 2,
>        +               .wires          = 4,
>        +               .gpio_cd        = -EINVAL,
>        +               .gpio_wp        = -EINVAL,
>        +       },
>        +       {}      /* Terminator */
>        +};
>           
>    Maybe I am mistaken, but doesn't that mean there are two MMC cards ?
>
>     
>    I am interested in the subject, as I am trying to write my own board
>    file for our custom, beagleboard-based card, with no success so far
>    concerning the second MMC reader...
>
> Well, it seems that the board is question has a WIFI module connected 
> to the second mmc. What is your problem right now ? Remember that all 
> three MMC slots are different in what kind of voltage they can drive.
>
Hello,

OK I understand for your board.

I have my second MMC slot wired just like MMC1 : they are micro-SD slots 
wired with
- MMC2_CLK
- MMC2_CMD
- MMC2_DATA0
- MMC2_DATA1
- MMC2_DATA2
- MMC2_DATA3 , all 6 wired with a 4.7Kohm resistor to VMMC2 ;

VDD wired to VMMC2 and VSS to ground.
Add a capacitor between VMMC2 and the ground for the taste !

VMMC2 is 3.3V.

I've tested with a different combination of parameters in the 
twl4030_hsmmc_info structure in my board file, and now I'm stuck with 
the following :

static struct twl4030_hsmmc_info mmc[] = {
        {
                .mmc            = 1,
                .wires          = 4,
                .gpio_wp        = -EINVAL,
        },
        {
                .mmc            = 2,
                .wires          = 4,
                .transceiver    = 0,
                .ext_clock      = 0,
                .cover_only     = 0,
                .gpio_wp        = -EINVAL,
                .gpio_cd        = -EINVAL,
        },
        {}      /* Terminator */
};

MMC1 works well, but no success for MMC2.

Does someone please have pointers to documentation, apart from the 
twl4030_hsmmc_info structure header file ?

Thanks in advance.


--
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

       reply	other threads:[~2009-11-16 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4B015F12.7080709@sios.fr>
2009-11-16 14:31 ` Frédéric BEGOU [this message]
2009-11-13 16:47 [PATCH 1/2 (for-next)] ARM: OMAP3: Add support for the IGEP v2 board (rev B) Frédéric BEGOU
2009-11-14 17:13 ` Daniel Toussaint
  -- strict thread matches above, loose matches on Subject: below --
2009-11-13 12:29 Enric Balletbo i Serra

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=4B016232.60607@sios.fr \
    --to=fbegou@sios.fr \
    --cc=linux-omap@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.