[PATCH] pcmcia: at91_cf: switch to using gpiod API

Nicolas Ferre nicolas.ferre at microchip.com
Mon Sep 26 08:26:47 PDT 2022


On 25/09/2022 at 14:24, Linus Walleij wrote:
> On Sat, Sep 24, 2022 at 4:19 PM Dominik Brodowski
> <linux at dominikbrodowski.net> wrote:
> 
>> From: Dominik Brodowski <linux at dominikbrodowski.net>
>> Subject: [PATCH] pcmcia: remove AT91RM9200 Compact Flash driver
>>
>> As noted by Arnd Bergmann, "we used to have three drivers for the same
>> hardware (pcmcia, pata and ide), and only the pcmcia driver remained
>> in the tree after drivers/ide/ was removed and pata_at91 did not get
>> converted to DT". "There is no dts file in tree that actually declares
>> either of them, so chances are that nobody is actually using the CF
>> slot on at91 any more."[1]
>>
>> On this rationale, remove the AT91RM9200 Compact Flash driver, which
>> also assists in reaching "the goal of stopping exporting OF-specific
>> APIs of gpiolib".[2]
>>
>> [1] https://lore.kernel.org/lkml/68c63077-848b-45f5-8aca-ed995391f2b6@www.fastmail.com/
>> [2] https://lore.kernel.org/lkml/Yy6d7TjqzUwGQnQa@penguin/
>>
>> Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
> 
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> 
> If someone actually has an AT91 board with this hardware and
> want to be able to use it by converting this driver to device tree,
> this is the time to step up.

Agreed with what was said. If people want reference code to make this 
driver revive, git history is there to help.

Acked-by: Nicolas Ferre <nicolas.ferre at microchip.com>

Regards,
   Nicolas



-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list