Re: mmc: mxs: Use mmc_of_parse

2013-12-11 Thread Chris Ball
Hi Sascha, On Thu, Dec 05 2013, Sascha Hauer wrote: > We have a generic mmc_of_parse function. Use it in the mxs-mmc driver > to make the code simpler and to parse some new devicetree propeties. Great, thanks for doing this; all six patches pushed to mmc-next for 3.14. - Chris. -- Chris Ball

[PATCH 6/6] mmc: mxs: use mmc_of_parse to parse devicetree properties

2013-12-05 Thread Sascha Hauer
Use generic helper function. This also adds support for the cd-gpios and max-frequency devicetree properties. Signed-off-by: Sascha Hauer --- drivers/mmc/host/mxs-mmc.c | 37 +++-- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/drivers/mmc/host/mx

mmc: mxs: Use mmc_of_parse

2013-12-05 Thread Sascha Hauer
: mxs: use standard flag for non-removable status mmc: mxs: use standard flag for broken card detection mmc: mxs: use standard flag for cd inverted mmc: mxs: use mmc_gpio_get_ro for detecting read-only status mmc: mxs: use mmc_of_parse to parse devicetree properties drivers/mmc