[U-Boot] [PATCH] dm: at91: Add driver model support for the spi driver

Heiko Schocher hs at denx.de
Tue May 3 07:39:45 CEST 2016


Hello Simon, Wenyou,

Am 03.05.2016 um 02:47 schrieb Yang, Wenyou:
> Hi Simon,
>
> Thank you for your support.
>
>> -----Original Message-----
>> From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
>> Sent: 2016年5月2日 2:56
>> To: Yang, Wenyou <Wenyou.Yang at atmel.com>
>> Cc: U-Boot Mailing List <u-boot at lists.denx.de>
>> Subject: Re: [U-Boot] [PATCH] dm: at91: Add driver model support for the spi
>> driver
>>
>> Hi Wenyou,
>>
>> On 24 April 2016 at 21:48, Wenyou Yang <wenyou.yang at atmel.com> wrote:
>>> Add driver model support while retaining the existing legacy code.
>>> This allows the driver to support boards that have converted to driver
>>> model as well as those that have not.
>>>
>>> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>>
>> It is possible to combine this into the existing driver and reuse much of the code?
>
> Yes, it is.
>
> As you know, it will take a long time to complete the DT & DM conversion. There is a question,
> I don't know how to make all the boards works, inclusive ones which doesn't convert to DT.
>
>>
>> BTW I have WIP patches to convert macb Ethernet and video. See u-boot-
>> dm/gurnard-working. I plan to post these next week.
>
> Thank you for your information. It is very important for me.

I just used the patches from Simon from the "dm/gurnard-working" branch
to convert the mainlined AT91 based boards from siemens (smartweb, corvus,
taurus and axm) to DM / DTS support. Ethernet uart, gpio works fine with
them.

Thanks Simon!

bye,
Heiko
>
>>
>> Regards,
>> Simon
>
>
> Best Regards,
> Wenyou Yang
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list