[RFC PATCH] net, qe: add DM support for QE UEC ethernet
Priyanka Jain
priyanka.jain at nxp.com
Tue Apr 14 12:19:40 CEST 2020
>-----Original Message-----
>From: Heiko Schocher <hs at denx.de>
>Sent: Thursday, April 9, 2020 10:49 AM
>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%2Ftrav
>> is-ci.org%2Fhsdenx%2Fu-boot-
>test%2Fbuilds%2F651400509&data=02%7C01
>>
>%7Cpriyanka.jain%40nxp.com%7C51477945d03e4b72383708d7dc458e7e%7C
>686ea1
>>
>d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637220063612750872&sdat
>a=oV%2
>> BTyCsoQF17s4aQ1OGEIcMXWjB%2BhpiPunefUNtD6Fs%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
>>
>> - seperated the PHY specific code into seperate file
>> drivers/net/qe/dm_qe_uec_phy.c
>>
>>
>> drivers/net/Kconfig | 2 +
>> drivers/net/Makefile | 1 +
>> drivers/net/qe/Kconfig | 9 +
>> drivers/net/qe/Makefile | 5 +
>> drivers/net/qe/dm_qe_uec.c | 1161
>++++++++++++++++++++++++++++++++
>> drivers/net/qe/dm_qe_uec.h | 22 +
>> drivers/net/qe/dm_qe_uec_phy.c | 161 +++++
>> drivers/net/qe/uccf.c | 388 +++++++++++
>> drivers/net/qe/uccf.h | 117 ++++
>> drivers/net/qe/uec.h | 742 ++++++++++++++++++++
>> drivers/qe/uccf.c | 2 +
>> drivers/qe/uec.c | 2 +
>> drivers/qe/uec_phy.c | 3 +
>> 13 files changed, 2615 insertions(+)
>> create mode 100644 drivers/net/qe/Kconfig
>> create mode 100644 drivers/net/qe/Makefile
>> create mode 100644 drivers/net/qe/dm_qe_uec.c
>> create mode 100644 drivers/net/qe/dm_qe_uec.h
>> create mode 100644 drivers/net/qe/dm_qe_uec_phy.c
>> create mode 100644 drivers/net/qe/uccf.c
>> create mode 100644 drivers/net/qe/uccf.h
>> create mode 100644 drivers/net/qe/uec.h
>
>Any comments?
>
>Thanks!
>
>bye,
>Heiko
Qiang Zhao is NXP Software IP expert for QE. I am taking his help in review.
Thanks
Priyanka
>--
>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
More information about the U-Boot
mailing list