[PATCH] mmc: mmci: switch the driver to using gpio descriptors

Linus Walleij linus.walleij at linaro.org
Tue Apr 22 23:59:30 PDT 2014


On Wed, Apr 16, 2014 at 9:31 AM, Ulf Hansson <ulf.hansson at linaro.org> wrote:
> On 15 April 2014 10:33, Linus Walleij <linus.walleij at linaro.org> wrote:
>> The next step in modernization of GPIO is to let drivers handle
>> descriptors rather than integer numbers representing GPIO pins,
>> akin to how clocks or regulators are already handled today.
>>
>> This patch makes the MMCI driver use GPIO descriptos in the
>> core code with fallback code using the platform data if that
>> is not possible. After all platforms with MMCI have been
>> migrated to use descriptors, the platform data entries for
>> GPIO pins can be removed.
>>
>> Cc: Alexandre Courbot <gnurou at gmail.com>
>> Cc: Ulf Hansson <ulf.hansson at linaro.org>
>> Cc: Russell King <linux at arm.linux.org.uk>
>> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
>> ---
>> Hi Russell,Ulf: there is no hurry to do these changes (only used
>> for my very corner-case MMCI PL181 experiments) but it's the
>> desired direction to use descriptors for GPIOs going forward.
>> I can rebase this on top of Ulf's patch stack any time, no
>> problem.
>
> If you rebase it on top of my patch stack - I can resend the pull
> request I sent a few days ago and include this one!?

There is no hurry. I'd let Russell think about your recent patches
first and I will keep this patch on my watchlist until things
settle down.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list