aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/hsmmc.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-02-19 13:20:33 +0100
committerChris Ball <cjb@laptop.org>2012-03-27 12:19:56 -0400
commitd418ed87c4e3ecf45d42718c4ead91180997681f (patch)
tree8da29767609df1b6eced0f1121a0f1e8325e3327 /arch/arm/mach-omap2/hsmmc.h
parentb81cfc413047181a8f2599cacf927dc09a81a123 (diff)
ARM: OMAP: hsmmc: add max_freq field
External circuitry like level shifters may limit the maximum operation speed of the hsmmc controller. Add a field to struct omap2_hsmmc_info so boards can adjust the setting on demand. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.h')
-rw-r--r--arch/arm/mach-omap2/hsmmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.h b/arch/arm/mach-omap2/hsmmc.h
index c4409730c4b..0017ae24995 100644
--- a/arch/arm/mach-omap2/hsmmc.h
+++ b/arch/arm/mach-omap2/hsmmc.h
@@ -26,6 +26,8 @@ struct omap2_hsmmc_info {
char *name; /* or NULL for default */
struct device *dev; /* returned: pointer to mmc adapter */
int ocr_mask; /* temporary HACK */
+ int max_freq; /* maximum clock, if constrained by external
+ * circuitry, or 0 for default */
/* Remux (pad configuration) when powering on/off */
void (*remux)(struct device *dev, int slot, int power_on);
/* init some special card */