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


Groups > linux.kernel > #1525735

Re: [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc configuration

From David Lechner <david@lechnology.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc configuration
Date 2016-11-18 23:50 +0100
Message-ID <sF08N-4RY-3@gated-at.bofh.it> (permalink)
References <sDOMq-7jG-5@gated-at.bofh.it> <sDOMp-7jG-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/15/2016 10:28 AM, Axel Haslam wrote:
> Card detect and write protect are currently not working on a DT
> boot, and the driver relies on polling to get the state
> of the card. The current code depends on platform data callbacks
> to register and get the state of the gpios.
>
> mmc core provides a generic way to parse device tree configuration,
> which will take care of registering the gpios for us, lets use it
> so that we don't need to poll, and parse the same properties.
>
> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
> ---

Tested-by: David Lechner <david@lechnology.com>

Working for me on LEGO MINDSTORMS EV3.

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


Thread

[PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc configuration Axel Haslam <ahaslam@baylibre.com> - 2016-11-15 17:30 +0100
  Re: [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc  configuration David Lechner <david@lechnology.com> - 2016-11-18 23:50 +0100

csiph-web