All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] RFC: Migration target date for DM_ETH
@ 2019-08-09  6:30 Heinrich Schuchardt
  2019-08-09 17:02 ` Simon Glass
  2020-02-26 18:58 ` Christophe Leroy
  0 siblings, 2 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2019-08-09  6:30 UTC (permalink / raw)
  To: u-boot

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.

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] RFC: Migration target date for DM_ETH
  2019-08-09  6:30 [U-Boot] RFC: Migration target date for DM_ETH Heinrich Schuchardt
@ 2019-08-09 17:02 ` Simon Glass
  2019-08-09 21:41   ` Heinrich Schuchardt
  2020-02-26 18:58 ` Christophe Leroy
  1 sibling, 1 reply; 6+ messages in thread
From: Simon Glass @ 2019-08-09 17:02 UTC (permalink / raw)
  To: u-boot

Hi Heinrich,

On Fri, 9 Aug 2019 at 00:31, Heinrich Schuchardt <xypron.glpk@gmx.de> 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 define one? 2020-07 should be realistic.

Yes, good idea.

Also we need to convert the Ethernet PHYs to DM.

Regards,
Simon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] RFC: Migration target date for DM_ETH
  2019-08-09 17:02 ` Simon Glass
@ 2019-08-09 21:41   ` Heinrich Schuchardt
  2019-08-15  2:57     ` [U-Boot] [U-Boot-Custodians] " Joe Hershberger
  0 siblings, 1 reply; 6+ messages in thread
From: Heinrich Schuchardt @ 2019-08-09 21:41 UTC (permalink / raw)
  To: u-boot

On 8/9/19 7:02 PM, Simon Glass wrote:
> Hi Heinrich,
>
> On Fri, 9 Aug 2019 at 00:31, Heinrich Schuchardt <xypron.glpk@gmx.de> 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.

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-Boot-Custodians] RFC: Migration target date for DM_ETH
  2019-08-09 21:41   ` Heinrich Schuchardt
@ 2019-08-15  2:57     ` Joe Hershberger
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Hershberger @ 2019-08-15  2:57 UTC (permalink / raw)
  To: u-boot

Hi Heinrich,

On Fri, Aug 9, 2019 at 4:41 PM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> On 8/9/19 7:02 PM, Simon Glass wrote:
> > Hi Heinrich,
> >
> > On Fri, 9 Aug 2019 at 00:31, Heinrich Schuchardt <xypron.glpk@gmx.de> 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-Custodians at lists.denx.de
> https://lists.denx.de/listinfo/u-boot-custodians

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Custodians] RFC: Migration target date for DM_ETH
  2019-08-09  6:30 [U-Boot] RFC: Migration target date for DM_ETH Heinrich Schuchardt
  2019-08-09 17:02 ` Simon Glass
@ 2020-02-26 18:58 ` Christophe Leroy
  2020-02-26 19:07   ` Heinrich Schuchardt
  1 sibling, 1 reply; 6+ messages in thread
From: Christophe Leroy @ 2020-02-26 18:58 UTC (permalink / raw)
  To: u-boot



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Custodians] RFC: Migration target date for DM_ETH
  2020-02-26 18:58 ` Christophe Leroy
@ 2020-02-26 19:07   ` Heinrich Schuchardt
  0 siblings, 0 replies; 6+ messages in thread
From: Heinrich Schuchardt @ 2020-02-26 19:07 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-26 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09  6:30 [U-Boot] RFC: Migration target date for DM_ETH Heinrich Schuchardt
2019-08-09 17:02 ` Simon Glass
2019-08-09 21:41   ` Heinrich Schuchardt
2019-08-15  2:57     ` [U-Boot] [U-Boot-Custodians] " Joe Hershberger
2020-02-26 18:58 ` Christophe Leroy
2020-02-26 19:07   ` Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.