Migrating drivers/usb/host/ohci-at91.c in U-Boot to DM?
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
Quoted 8 lines · Tom Rini
Hey,
As part of migrating more CONFIG symbols to
Kconfig, I ran in todrivers/usb/host/ohci-at91.cnot 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.cis 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