mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Lechner <david@lechnology.com>
To: Axel Haslam <ahaslam@baylibre.com>,
	ulf.hansson@linaro.org, nsekhar@ti.com, khilman@baylibre.com
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc configuration
Date: Fri, 18 Nov 2016 16:45:06 -0600	[thread overview]
Message-ID: <65281563-66af-9990-c3c5-a7740b697756@lechnology.com> (raw)
In-Reply-To: <20161115162822.25791-2-ahaslam@baylibre.com>

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.

  reply	other threads:[~2016-11-18 22:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65281563-66af-9990-c3c5-a7740b697756@lechnology.com \
    --to=david@lechnology.com \
    --cc=ahaslam@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®