Heinrich Schuchardt 8be4e61d01 mmc: sunxi: support cd-inverted
With CONFIG_DM_MMC the BananaPi does not detect SD cards.

The sunxi device trees use the cd-inverted property to indicate that
the card detect is inverted.

This property is documented in Linux kernel devicetree/bindings/mmc/mmc.txt
The property is not marked as deprecated.

A similar patch was posted by Tuomas but is in status "Changes Requested".
https://patchwork.ozlabs.org/patch/850377/

This patch is a stripped down version of his patch.

Suggested-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-03-13 20:12:31 +05:30
..
2018-02-13 23:24:22 -05:00
2018-01-26 12:38:13 +01:00
2018-02-18 15:53:48 -07:00
2018-02-21 20:28:15 +01:00
2018-03-09 09:23:10 -05:00
2018-03-09 09:23:10 -05:00
2018-03-13 20:12:31 +05:30
2018-03-05 20:24:17 -05:00
2018-03-05 20:24:17 -05:00
2018-01-26 12:38:13 +01:00
2018-02-04 12:00:58 +01:00
2018-02-13 23:01:44 -05:00
2018-03-09 09:23:10 -05:00
2018-03-05 20:24:17 -05:00