mbox series

[v2,0/2] add inversion signal presence support

Message ID 20191114125435.27756-1-i.mikhaylov@yadro.com
Headers show
Series add inversion signal presence support | expand

Message

Ivan Mikhaylov Nov. 14, 2019, 12:54 p.m. UTC
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          | 17 +++++++++++++++++
 2 files changed, 30 insertions(+)