Re: [U-Boot] [PATCH] MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL

2018-08-24 Thread Adam Ford
On Thu, Aug 23, 2018 at 7:19 AM Peter Howard wrote: > > On Thu, 2018-08-16 at 23:26 -0500, Adam Ford wrote: > > 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

Re: [U-Boot] [PATCH] MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL

2018-08-22 Thread Peter Howard
On Thu, 2018-08-16 at 23:26 -0500, Adam Ford wrote: > 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 > byt da8xx_gpio. > > Signed-off-by: Adam Ford

[U-Boot] [PATCH] MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL

2018-08-16 Thread Adam Ford
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 byt da8xx_gpio. Signed-off-by: Adam Ford diff --git a/drivers/mmc/davinci_mmc.c b/drivers/mmc/davinci_mm