[PATCH] mach-mmp: Enable multiple platform support for SD/MMC cloc=
Philip Rakity
prakity at marvell.com
Mon Dec 20 17:42:22 EST 2010
k adjustment
Set timing for brownstone for SD/MMC cards to enable detection
Signed-off-by: Philip Rakity <prakity at marvell.com>
---
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[] =
=3D {
};
=20
static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc0 =3D {
- .max_speed =3D 25000000,
+ .adjust_clocks =3D 1,
+ .clk_select =3D 1,
+ .clk_delay =3D 31,
};
=20
static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc1 =3D {
+ .adjust_clocks =3D 1,
+ .clk_select =3D 1,
+ .clk_delay =3D 15,
.flags =3D PXA_FLAG_CARD_PERMANENT,
};
=20
static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc2 =3D {
+ .adjust_clocks =3D 1,
+ .clk_select =3D 1,
+ .clk_delay =3D 15,
.flags =3D PXA_FLAG_CARD_PERMANENT |
PXA_FLAG_SD_8_BIT_CAPABLE_SLOT,
};
--=20
1.6.0.4
--_002_A649508723A4480FB6B820D8B3FC3750marvellcom_
Content-Type: application/octet-stream;
name="0013-mach-mmp-Enable-multiple-platform-support-for-SD-MM.patch"
Content-Description: 0013-mach-mmp-Enable-multiple-platform-support-for-SD-MM.patch
Content-Disposition: attachment;
filename="0013-mach-mmp-Enable-multiple-platform-support-for-SD-MM.patch";
size=1255; creation-date="Tue, 21 Dec 2010 23:09:37 GMT";
modification-date="Tue, 21 Dec 2010 23:09:37 GMT"
Content-Transfer-Encoding: base64
RnJvbSAyNjk5NmQwMGQ2YTNjOTY3NjU4MTYyOTd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