]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc8b6c90493ce2163db0486bffd703966747a0d26
tree587b7565561d3d93f5f6b6e38c61d25b0951080c
parent4600f93b8f66218fe5b7b945190dcb4216354cac
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