Re: [PATCH 5/6] Unified AVR32/AT91 MCI Driver Support for a VCC Pin

From: Rob Emanuele
Date: Mon Jun 15 2009 - 14:25:52 EST


Nicolas,

On Mon, Jun 15, 2009 at 9:20 AM, Nicolas Ferre<nicolas.ferre@xxxxxxxxx> wrote:
> Rob Emanuele :
>> Add support to the atmel-mci driver for a VCC pin in order to conserve
>> power if the MMC interface is powered down.
>
> Can you elaborate a bit more. In particular, I do not understand the
> concept of "vcc_pin_act_low".
>

Like the original at91_mci driver, this patch adds the ability to use
a pin to toggle 3.3V power going to the SD Card. In my case the pin
is tied to a International Rectifier 6420 P-type MOSFET since a port
pin alone cannot drive the SD Card. When I pull the vcc_pin low, 3.3V
can reach the SD Card to power it. The "vcc_pin_act_low" (pin active
low) determines which way the pin should be pulled to enable power to
the SD Card. If vcc_pin_act_low is true, when the card needs to get
powered up, it sets the vcc_pin low. Other board designs may need a
pin driven high to power the SD Card.

Thanks,

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/