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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user