development kernel tree: Changes to 'stable'

git at git.openmoko.org git at git.openmoko.org
Thu Jul 17 11:19:58 CEST 2008


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

New commits:
commit ef2376d29e996d9d21a9e5798cb88aa73f734c83
Author: Andy Green <andy at openmoko.com>
Date:   Thu Jul 17 10:02:35 2008 +0100

    add-limit-sdcard-clk-cmdline.patch
    
    This patch allows you to control the maximum clock rate that will
    be selected for SD Card access, from the kernel commandline using
    
     glamo_mci.sd_max_clk=10000000
    
    and also from
    
     echo 10000000 > /sys/module/glamo_mci/parameters/sd_max_clk
    
    although you have to suspend and resume to make the limit operational
    on the actual SD_CLK line.
    
    Clocks that are possible are divided down from ~50MHz, so 25000000,
    16666666, 12500000, 10000000, etc.  With Freerunner A5 revision that
    has 100R series resistors in SD Card signals, I didn't get reliable
    operation above 16MHz.  With A6 revision the series resistors went
    down to 75R, maybe it can work at 25MHz.
    
    Reducing the clock rate is something to try if you find that your
    SD Card is not communicating properly with the default speed.
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 5d70edcbe3ff5f6d5aef54ee9e278ad1ce431fd5
Author: Andy Green <andy at openmoko.com>
Date:   Thu Jul 17 10:02:19 2008 +0100

    fix-force-sdcard-clk-off-when-idle.patch
    
    Existing Glamo bit for stopping SD Card Clock when there is no
    transfer taking place does not work.  This patch adds stuff around
    the transfer code to force the SD clock up when something is going on
    and down when it is idle.  This'll save a little power and noise ;-)
    
    I tested it briefly and was able to SD Boot normally on Sandisk 512M.
    Wider testing is appreciated.
    
    Signed-off-by: Andy Green <andy at openmoko.com>





More information about the commitlog mailing list