From mboxrd@z Thu Jan 1 00:00:00 1970 From: s.hauer@pengutronix.de (Sascha Hauer) Date: Fri, 23 May 2014 14:32:59 +0200 Subject: [PATCH] MMC: use mmc_of_parse in sdhci-esdhc-imx Message-ID: <1400848384-3226-1-git-send-email-s.hauer@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The following series changes the sdhci-esdhc-imx to use mmc_of_parse to profit from the generic devicetree parser. Unfortunately this is not straight forward because the driver parses all devicetree data into platform_data instead of directly into the mmc host, so we have to refactor the parsing and move platform_data parsing out of the way for the devicetree path first. The last patch fixes the card/write protection for the babbage board and can be taken independently of the rest by Shawn. Sascha ---------------------------------------------------------------- Sascha Hauer (5): mmc: sdhci-esdhc-imx: add f_max field to private data mmc: sdhci-esdhc-imx: introduce function for parsing platform_data mmc: sdhci-esdhc-imx: straighten SDHCI_QUIRK_BROKEN_CARD_DETECTION flag mmc: sdhci-esdhc-imx: use mmc_of_parse ARM: dts: imx51-babbage: Fix esdhc setup arch/arm/boot/dts/imx51-babbage.dts | 14 +-- drivers/mmc/host/sdhci-esdhc-imx.c | 205 +++++++++++++++++++----------------- 2 files changed, 118 insertions(+), 101 deletions(-)