[PATCH] MMC: use mmc_of_parse in sdhci-esdhc-imx

Sascha Hauer s.hauer at pengutronix.de
Fri May 23 05:32:59 PDT 2014


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(-)



More information about the linux-arm-kernel mailing list