[PATCH 0/2] Glamo SD Card improvements

Andy Green andy at openmoko.com
Wed Jul 16 09:35:25 CEST 2008

These two patches improve Glamo SD Card access a bit.

First until now we ran SD clock all the time, there's a
bit in the Glamo register set that sounded like it should
shut down the clock when no transfer is happening, but
in fact it seems only to gate internal Glamo logic clock
and the SD_CLK blasts out all the time.  So we now
explicitly mess with the Glamo SD Card Clock generation
enabling it only when we're doing something with the card.

That can do with a bit of testing in the wild vs different
SD cards.

Second, we used to have fixed 16MHz SD Clock, but there
is outstanding sensitivity to card type that sometimes
responded to reducing clock rate Sean McNeil reported.
Now we can set max Glamo SD Card clock rate from kernel
commandline and even from /sys, although you will need
to suspend - resume to get it to take.

Signed-off-by: Andy Green <andy at openmoko.com>


Andy Green (2):

 drivers/mfd/glamo/glamo-mci.c |  162 ++++++++++++++++++++++++++++++-----------
 1 files changed, 117 insertions(+), 45 deletions(-)


More information about the openmoko-kernel mailing list