mmc: split fsl_esdhc driver for i.MX
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 21 Jun 2019 03:42:27 +0000 (11:42 +0800)
committerPeng Fan <peng.fan@nxp.com>
Sun, 23 Jun 2019 06:15:31 +0000 (14:15 +0800)
commitfa33d207494cd20bc8039460b16cef1179cd6f6a
tree6c562c415e0dc494ec3fcecda380053026ffa029
parent60742bfb53178ae1b80242a8028d3d91479d092d
mmc: split fsl_esdhc driver for i.MX

The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX
initially. The later QoriQ series PowerPC processors (which were
evolutions of MPC83XX/MPC85XX), QorIQ series ARM processors, and
i.MX series processors were using this driver for their eSDHCs too.

For the two series processors, the eSDHCs are becoming more and
more different. We should have split it into two drivers, like them
(sdhci-of-esdhc.c/sdhci-esdhc-imx.c) in linux kernel.

This patch is just to create a fsl_esdhc_imx driver which is a copy
of fsl_esdhc driver for i.MX processors. We will convert i.MX processors
to use fsl_esdhc_imx, and clean up the two drivers separately in the
future patches.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Tested-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Martyn Welch <martyn.welch@collabora.com>
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/fsl_esdhc_imx.c [new file with mode: 0644]
include/fsl_esdhc_imx.h [new file with mode: 0644]