Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1522894

[PATCH 0/2] MMC: davinci: fix card detect and write protect

From Axel Haslam <ahaslam@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] MMC: davinci: fix card detect and write protect
Date 2016-11-15 17:30 +0100
Message-ID <sDOMq-7jG-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] MMC: davinci: fix card detect and write protect Axel Haslam <ahaslam@baylibre.com> - 2016-11-15 17:30 +0100
  [PATCH 2/2] MMC: davinci: request gpios using gpio descriptors Axel Haslam <ahaslam@baylibre.com> - 2016-11-15 17:30 +0100
    Re: [PATCH 2/2] MMC: davinci: request gpios using gpio descriptors David Lechner <david@lechnology.com> - 2016-11-18 23:50 +0100
  Re: [PATCH 0/2] MMC: davinci: fix card detect and write protect Ulf Hansson <ulf.hansson@linaro.org> - 2016-11-18 15:40 +0100

csiph-web