MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL
authorAdam Ford <aford173@gmail.com>
Mon, 3 Sep 2018 08:47:52 +0000 (03:47 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:49:02 +0000 (21:49 -0400)
commit04355de71def5e91898e2dc2a36d2eda47ba12b4
tree587b7565561d3d93f5f6b6e38c61d25b0951080c
parent819ad5f625b17d189c5dcaec377c451fd3266def
MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL

When used with a device tree, this will extract the card detect
and write protect pins from the device tree and configure them
accordingly.  This assumes the GPIO_ACTIVE_LOW/HIGH is supported
by da8xx_gpio.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/mmc/davinci_mmc.c