Skip to content
Commit 8be4e61d authored by Heinrich Schuchardt's avatar Heinrich Schuchardt 💬 Committed by Jagan Teki
Browse files

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: default avatarTuomas Tynkkynen <tuomas@tuxera.com>
Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent 1bcfba53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment