>From 55779b86101921cf64c0cc4a2e95789d91c9b16e Mon Sep 17 00:00:00 2001
From: Philip Rakity <prak...@marvell.com>
Date: Sun, 19 Dec 2010 20:28:40 -0800
Subject: [PATCH] plat-pxa: Enable ability to adjust SD/MMC clocks

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 <prak...@marvell.com>
Signed-off-by: Mark F. Brown <ma...@marvell.com>
Tested-by: Philip Rakity <prak...@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/include/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;
 };
 
 #endif /* __PLAT_PXA_SDHCI_H */
-- 
1.6.0.4

Attachment: 0012-plat-pxa-Enable-ability-to-adjust-SD-MMC-clocks.patch
Description: 0012-plat-pxa-Enable-ability-to-adjust-SD-MMC-clocks.patch

Reply via email to