>From 26996d00d6a3c96765816297ec3f15768a8977d9 Mon Sep 17 00:00:00 2001 From: Philip Rakity <prakity@xxxxxxxxxxx> Date: Mon, 20 Dec 2010 14:42:22 -0800 Subject: [PATCH] mach-mmp: Enable multiple platform support for SD/MMC clock adjustment Set timing for brownstone for SD/MMC cards to enable detection Signed-off-by: Philip Rakity <prakity@xxxxxxxxxxx> --- arch/arm/mach-mmp/brownstone.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mmp/brownstone.c b/arch/arm/mach-mmp/brownstone.c index 1f11744..e4e458c 100644 --- a/arch/arm/mach-mmp/brownstone.c +++ b/arch/arm/mach-mmp/brownstone.c @@ -142,14 +142,22 @@ static struct i2c_board_info brownstone_twsi1_info[] = { }; static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc0 = { - .max_speed = 25000000, + .adjust_clocks = 1, + .clk_select = 1, + .clk_delay = 31, }; static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc1 = { + .adjust_clocks = 1, + .clk_select = 1, + .clk_delay = 15, .flags = PXA_FLAG_CARD_PERMANENT, }; static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc2 = { + .adjust_clocks = 1, + .clk_select = 1, + .clk_delay = 15, .flags = PXA_FLAG_CARD_PERMANENT | PXA_FLAG_SD_8_BIT_CAPABLE_SLOT, }; -- 1.6.0.4
Attachment:
0013-mach-mmp-Enable-multiple-platform-support-for-SD-MM.patch
Description: 0013-mach-mmp-Enable-multiple-platform-support-for-SD-MM.patch