Re: [U-Boot-Custodians] RFC: Migration target date for DM_ETH
On 2/26/20 7:58 PM, Christophe Leroy wrote: Le 09/08/2019 à 08:30, Heinrich Schuchardt a écrit : Currently dozens of boards still do not use the driver model for the network devices. This makes integration between devices in the UEFI sub-system with the U-Boot devices complicated. See: https://travis-ci.org/xypron2/u-boot/builds/569675547 In doc/driver-model/migration.rst I am missing a migration target day for DM_ETH. Shouldn't define one? 2020-07 should be realistic. Is there some guidance and/or examples on how to proceed to migrate an Ethernet driver to DM_ETH, as there is for an SPI driver (doc/driver-model/spi-howto.rst) I'm looking at converting the mpc8xx_fec driver. git grep -n UCLASS_ETH yields many examples you could use for reference. Have a look at doc/device-tree-bindings/net/ethernet.txt. Best regards Heinrich
Re: [U-Boot-Custodians] RFC: Migration target date for DM_ETH
Le 09/08/2019 à 08:30, Heinrich Schuchardt a écrit : Currently dozens of boards still do not use the driver model for the network devices. This makes integration between devices in the UEFI sub-system with the U-Boot devices complicated. See: https://travis-ci.org/xypron2/u-boot/builds/569675547 In doc/driver-model/migration.rst I am missing a migration target day for DM_ETH. Shouldn't define one? 2020-07 should be realistic. Is there some guidance and/or examples on how to proceed to migrate an Ethernet driver to DM_ETH, as there is for an SPI driver (doc/driver-model/spi-howto.rst) I'm looking at converting the mpc8xx_fec driver. Thanks, Christophe
Re: [U-Boot] [U-Boot-Custodians] RFC: Migration target date for DM_ETH
Hi Heinrich, On Fri, Aug 9, 2019 at 4:41 PM Heinrich Schuchardt wrote: > > On 8/9/19 7:02 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 9 Aug 2019 at 00:31, Heinrich Schuchardt wrote: > >> > >> Currently dozens of boards still do not use the driver model for the > >> network devices. This makes integration between devices in the UEFI > >> sub-system with the U-Boot devices complicated. > >> > >> See: https://travis-ci.org/xypron2/u-boot/builds/569675547 > >> > >> In doc/driver-model/migration.rst I am missing a migration target day > >> for DM_ETH. Shouldn't we define one? 2020-07 should be realistic. > > > > Yes, good idea. > > > > Also we need to convert the Ethernet PHYs to DM. > > In drivers/net/phy/ there isn't even a uclass. It makes sense to convert > this class of drivers too. But I guess it can be handles as a separate task. Yes, for sure. I think Simon is just sending a reminder to me. ;) > > Best regards > > Heinrich > ___ > U-Boot-Custodians mailing list > u-boot-custodi...@lists.denx.de > https://lists.denx.de/listinfo/u-boot-custodians ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot