summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mmc-esdhc-imx.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2013-06-05 15:13:26 +0200
committerChris Ball <cjb@laptop.org>2013-06-27 11:29:41 -0400
commit0ddf03c95bbb4f4ed57281fa7b781472950df749 (patch)
treec7e231559aaace73c1ff488c50b65c8c0370565e /include/linux/platform_data/mmc-esdhc-imx.h
parent8ba9580a8045b6d5fed66e13b77599f3d8a77fed (diff)
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>
Diffstat (limited to 'include/linux/platform_data/mmc-esdhc-imx.h')
-rw-r--r--include/linux/platform_data/mmc-esdhc-imx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmc-esdhc-imx.h b/include/linux/platform_data/mmc-esdhc-imx.h
index b4a0521ce411..d44912d81578 100644
--- a/include/linux/platform_data/mmc-esdhc-imx.h
+++ b/include/linux/platform_data/mmc-esdhc-imx.h
@@ -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 */