[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65281563-66af-9990-c3c5-a7740b697756@lechnology.com>
Date: Fri, 18 Nov 2016 16:45:06 -0600
From: David Lechner <david@...hnology.com>
To: Axel Haslam <ahaslam@...libre.com>, ulf.hansson@...aro.org,
nsekhar@...com, khilman@...libre.com
Cc: linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] MMC: davinci: use mmc_of_parse to parse common mmc
configuration
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@...libre.com>
> ---
Tested-by: David Lechner <david@...hnology.com>
Working for me on LEGO MINDSTORMS EV3.
Powered by blists - more mailing lists