[arm] Lost support for Taskit Stamp9g20 AT91-based board

Nicolas Ferre
2017-03-09T15:22:47Z

Le 09/03/2017 ? 09:20, Alexander Dahl a ?crit :
> Hei hei,
>
> Am Dienstag, 7. M?rz 2017, 20:35:43 schrieb Enrico Mioso:
>> I would like to add back the board .c file if possible: or try to
>> convert them to DT with some help.
>
> I just had a quick view over the c file you attached. This looks like it
> would be sufficient to create a proper dts file and activate the
> necessary drivers in your kernel config.
>
>> What's the best thing I can do to move on?
>
> Have a look at the other dts files in arch/arm/boot/dts named at91-* ? I
> could assemble a running dts file from that for a at91sam9g20 based
> board few weeks ago.

Yes, DT is the only way forward.

>> Finds here the content of the .c file in question, that was part of
>> upstream at the time of 3.15. Don't know exactly when it got removed,
>> but it should be around that time frame.
>
> AFAIK devicetree for at91 became mandatory with 3.19. Those board files
> were still in kernel with 3.18 IIRC. Maybe ? 1 version.

Absolutely, here is the announcement sent back then:
"[ANNOUNCE] ARM: at91: removal of board files"
https://lkml.org/lkml/2014/9/10/293

And the actual pull-request that finished the work for 3.19:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/309707.html

Best regards,
--
Nicolas Ferre