Shawn Guo 913413c307 mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5
The patch extends card_detect and write_protect support to get mx5
family and more scenarios supported.  The changes include:

 * Turn platform_data from optional to mandatory
 * Add cd_types and wp_types into platform_data to cover more use
   cases
 * Remove the use of flag ESDHC_FLAG_GPIO_FOR_CD
 * Adjust some machine codes to adopt the platform_data changes
 * Work around the issue that software reset will get card detection
   circuit stop working

With this patch, card_detect and write_protect gets supported on
mx5 based platforms.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Chris Ball <cjb@laptop.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Chris Ball <cjb@laptop.org>
2011-07-27 09:31:14 +08:00
..
2010-11-01 15:38:34 -04:00
2011-03-31 11:26:23 -03:00
2011-07-07 09:55:50 +02:00
2011-07-21 10:35:08 -04:00
2011-03-31 11:26:23 -03:00
2009-10-01 16:11:15 -07:00
2011-05-25 16:51:40 -04:00
2011-07-20 17:20:57 -04:00
2011-07-21 10:35:07 -04:00
2011-03-25 10:30:49 -04:00
2011-07-11 14:15:55 +02:00
2011-03-31 11:26:23 -03:00