Skip to contentSkip to conversation

Migrating drivers/usb/host/ohci-at91.c in U-Boot to DM?

DISCUSSION Tom Rini 2 participants 2 messages Jun 21, 2022 – Jun 22, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey,

As part of migrating more CONFIG symbols to Kconfig, I ran in to drivers/usb/host/ohci-at91.c not being migrated to DM yet. As the symbols weren't migrated yet, that the deadline for this driver migration was v2019.07 and otherwise enforced in v2021.07 is probably a bit of a surprise here.

The good news is that I believe drivers/usb/host/ohci-da8xx.c is a reasonable template for how the DM conversion should look and it's just needing the probe written and the data structures added. Can someone please look in to doing this conversion? Thanks!

Signature · 1 line
Tom
#1 lore raw
Quoted 8 lines · Tom Rini

Hey,

As part of migrating more CONFIG symbols to Kconfig, I ran in to drivers/usb/host/ohci-at91.c not being migrated to DM yet. As the symbols weren't migrated yet, that the deadline for this driver migration was v2019.07 and otherwise enforced in v2021.07 is probably a bit of a surprise here.

Quoted 5 lines

The good news is that I believe drivers/usb/host/ohci-da8xx.c is a reasonable template for how the DM conversion should look and it's just needing the probe written and the data structures added. Can someone please look in to doing this conversion? Thanks!

Hi Tom,

Sergiu (in CC) is working on this as we speak. Expect a series of patches coming in soon that address this migration together with some enhancements on the driver coming in from Linux.

He has been asking around the Uboot ML about this, but no answers as of this moment.

Eugen