mmc: esdhc-imx: parse max-frequency from devicetree
authorLucas Stach <l.stach@pengutronix.de>
Wed, 5 Jun 2013 13:13:26 +0000 (15:13 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 15:29:41 +0000 (11:29 -0400)
commit0ddf03c95bbb4f4ed57281fa7b781472950df749
treec7e231559aaace73c1ff488c50b65c8c0370565e
parent8ba9580a8045b6d5fed66e13b77599f3d8a77fed
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>
drivers/mmc/host/sdhci-esdhc-imx.c
include/linux/platform_data/mmc-esdhc-imx.h