[RFC PATCH] net, qe: add DM support for QE UEC ethernet

Qiang Zhao qiang.zhao at nxp.com
Wed Apr 15 10:32:02 CEST 2020


Am 15.04.2020 um 06:57 schrieb Heiko Schocher:

> -----Original Message-----
> From: Heiko Schocher <hs at denx.de>
> Sent: 2020年4月15日 14:25
> To: Qiang Zhao <qiang.zhao at nxp.com>
> Cc: Priyanka Jain <priyanka.jain at nxp.com>; U-Boot Mailing List
> <u-boot at lists.denx.de>; Holger Brunck <holger.brunck at ch.abb.com>; Joe
> Hershberger <joe.hershberger at ni.com>; Mario Six <mario.six at gdsys.cc>
> Subject: Re: [RFC PATCH] net, qe: add DM support for QE UEC ethernet
> 
> Hello Qiang Zhao,
> 
> Am 15.04.2020 um 06:57 schrieb Heiko Schocher:
> > Hello Qiang Zhao,
> >
> > Am 09.04.2020 um 10:00 schrieb Qiang Zhao:
> >> On 2020/4/9 13:20, Heiko Schocher <hs at denx.de> wrote:
> >>
> >>
> >>> -----Original Message-----
> >>> From: Heiko Schocher <hs at denx.de>
> >>> Sent: 2020年4月9日 13:19
> >>> To: Priyanka Jain <priyanka.jain at nxp.com>
> >>> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Holger Brunck
> >>> <holger.brunck at ch.abb.com>; Joe Hershberger
> >>> <joe.hershberger at ni.com>; Mario Six <mario.six at gdsys.cc>; Qiang Zhao
> >>> <qiang.zhao at nxp.com>
> >>> Subject: Re: [RFC PATCH] net, qe: add DM support for QE UEC ethernet
> >>>
> >>> Hello Priyanka,
> >>>
> >>> Am 18.02.2020 um 10:05 schrieb Heiko Schocher:
> >>>> add DM/DTS suppor for the UEC ethernet on QUICC Engine Block.
> >>>>
> >>>> Signed-off-by: Heiko Schocher <hs at denx.de>
> >>>> ---
> >>>> Travis build:
> >>>>
> >>>> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ft
> >>>> rav
> >>>>
> >>>
> is-ci.org%2Fhsdenx%2Fu-boot-test%2Fbuilds%2F651400509&data=02%7C
> >>> 01
> >>>> %7Cqiang.zhao%40nxp.com%7C51477945d03e4b72383708d7dc458e7e
> %7C
> >>> 686ea1d3b
> >>>>
> >>>
> c2b4c6fa92cd99c5c301635%7C0%7C0%7C637220063612830833&sdata
> >>> =MALxWjN
> >>>> kO0lgq1b0gmk646eEI8HWZUXRqTHt6zaOQPk%3D&reserved=0
> >>>>
> >>>> - I let the old none DM based implementation in code
> >>>>     so boards should work with old implementation.
> >>>>     This Code should be removed if all boards are converted
> >>>>     to DM/DTS.
> >>>>
> >>>> - add the DM based qe uec driver under drivers/net/qe
> >>>>
> >>>> - Therefore copied the files uccf.c uccf.h uec.h from
> >>>>     drivers/qe. So there are a lot of Codingstyle problems
> >>>>     currently. I fix them in next version if this RFC
> >>>>     patch is OK or it needs some changes.
> >>>>
> >>>> - The dm based driver code is now under drivers/net/qe/dm_qe_uec.c
> >>>>     Used a lot of functions from drivers/qe/uec.c
 
We need to make sure the old qe uec driver and new dm driver could not be enabled at the same time.

> >>>>
> >>>> - seperated the PHY specific code into seperate file
> >>>>     drivers/net/qe/dm_qe_uec_phy.c
> >>
> 
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

Best Regards
Qiang Zhao


More information about the U-Boot mailing list