Vesnin BMC uses microSD with card presence signal inversion in the schematics. Change the .get_cd callback to detect 'cd-inverted' option in dts. There is no WP switch, due to this 'disable-wp' also was added into vesnin dts for sdhci. Ivan Mikhaylov (2): aspeed: dts: add sd card for vesnin mmc: sdhci-of-aspeed: add inversion signal presence arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts | 13 ++++++++++++ drivers/mmc/host/sdhci-of-aspeed.c | 23 +++++++++++++++++++++ 2 files changed, 36 insertions(+) -- 2.20.1