[PATCH] plat-pxa: Enable ability to adjust SD/MMC clocks
Philip Rakity
prakity at marvell.com
Sun Dec 19 23:28:40 EST 2010
The PXA168, PXA910, and MMP2 SoC have the ability to adjust the SD/MMC
clock. This feature is useful and required depending on the board
design. Add infrastructure to support SD clock tuning.
Signed-off-by: Philip Rakity <prakity at marvell.com>
Signed-off-by: Mark F. Brown <markb at marvell.com>
Tested-by: Philip Rakity <prakity at marvell.com>
---
arch/arm/plat-pxa/include/plat/sdhci.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-pxa/include/plat/sdhci.h b/arch/arm/plat-pxa/inc=
lude/plat/sdhci.h
index 2762f99..3f73f1f 100644
--- a/arch/arm/plat-pxa/include/plat/sdhci.h
+++ b/arch/arm/plat-pxa/include/plat/sdhci.h
@@ -28,6 +28,9 @@
struct sdhci_pxa_platdata {
unsigned int max_speed;
unsigned int flags;
+ unsigned short adjust_clocks;
+ unsigned short clk_select;
+ unsigned short clk_delay;
};
=20
#endif /* __PLAT_PXA_SDHCI_H */
--=20
1.6.0.4
--_002_1F0BAC0EEB604E73A1C789667289DDAAmarvellcom_
Content-Type: application/octet-stream;
name="0012-plat-pxa-Enable-ability-to-adjust-SD-MMC-clocks.patch"
Content-Description: 0012-plat-pxa-Enable-ability-to-adjust-SD-MMC-clocks.patch
Content-Disposition: attachment;
filename="0012-plat-pxa-Enable-ability-to-adjust-SD-MMC-clocks.patch";
size=1115; creation-date="Tue, 21 Dec 2010 23:09:27 GMT";
modification-date="Tue, 21 Dec 2010 23:09:27 GMT"
Content-Transfer-Encoding: base64
RnJvbSA1NTc3OWI4NjEwMTkyMWNmNjRjMGNjNGEyZTk1Nzg5ZDkxYzliMTZlIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXAgUmFraXR5IDxwcmFraXR5QG1hcnZlbGwuY29tPgpE
YXRlOiBTdW4sIDE5IERlYyAyMDEwIDIwOjI4OjQwIC0wODAwClN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