mmc: esdhc-imx: parse max-frequency from devicetree

In order to make it possible to reduce the SD bus frequency,
parse the optional "max-frequency" attribute as documented in
devicetree/bindings/mmc/mmc.txt

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
Lucas Stach
2013-06-05 15:13:26 +02:00
committed by Chris Ball
parent 8ba9580a80
commit 0ddf03c95b
2 changed files with 18 additions and 1 deletions
@@ -40,5 +40,6 @@ struct esdhc_platform_data {
enum wp_types wp_type;
enum cd_types cd_type;
int max_bus_width;
unsigned int f_max;
};
#endif /* __ASM_ARCH_IMX_ESDHC_H */