linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] MMC: davinci: fix card detect and write protect
@ 2016-11-15 16:28 Axel Haslam
  2016-11-15 16:28 ` [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc configuration Axel Haslam
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Axel Haslam @ 2016-11-15 16:28 UTC (permalink / raw)
  To: ulf.hansson, nsekhar, khilman, david; +Cc: linux-mmc, linux-kernel, Axel Haslam

This series fixes the card detect and write protect parsing for
the davinci_mmc driver, and takes care of a technical debt to 
remove card polling when a card detect gpio is available.

In the case of a platform based boot we register the gpios
using the APIs provided by slot-gpio.

In the case of a DT based boot we use the mmc_of_parse API to parse
all DT properties and register the gpios.

If this series is accepted, the next series will convert all users
to use gpio descriptors and we could then remove the platform
callbacks.

This was tested on the omap138-lcdk, and the da850-evm, with 
additional patches to platform data and dts files.

Axel Haslam (2):
  MMC: davinci: use mmc_of_parse to parse common mmc configuration
  MMC: davinci: request gpios using gpio descriptors

 drivers/mmc/host/davinci_mmc.c | 130 +++++++++++++++++++++--------------------
 1 file changed, 66 insertions(+), 64 deletions(-)

-- 
2.10.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-18 22:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-15 16:28 [PATCH 0/2] MMC: davinci: fix card detect and write protect Axel Haslam
2016-11-15 16:28 ` [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc configuration Axel Haslam
2016-11-18 22:45   ` David Lechner
2016-11-15 16:28 ` [PATCH 2/2] MMC: davinci: request gpios using gpio descriptors Axel Haslam
2016-11-18 22:45   ` David Lechner
2016-11-18 14:29 ` [PATCH 0/2] MMC: davinci: fix card detect and write protect Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).