public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* OHCI: What is the current status with Driver Model
@ 2022-06-07 15:27 Sergiu.Moga
  2022-06-14 15:01 ` Sergiu.Moga
  0 siblings, 1 reply; 4+ messages in thread
From: Sergiu.Moga @ 2022-06-07 15:27 UTC (permalink / raw)
  To: u-boot

Hello,

I want to convert our AT91 OHCI driver to Driver Model, but I am not 
sure whether OHCI is fully supported or not in Driver Model. From what I 
can see in `drivers/usb/host/` there are some OHCI drivers registered 
into Driver Model, but the documentation[1] (perhaps outdated) seems to 
specify that OHCI is not supported.

Could you please tell me what is the current status of OHCI with Driver 
Model?


[1] 
https://u-boot.readthedocs.io/en/latest/develop/driver-model/usb-info.html


Regards,

     Sergiu


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

* Re: OHCI: What is the current status with Driver Model
  2022-06-07 15:27 OHCI: What is the current status with Driver Model Sergiu.Moga
@ 2022-06-14 15:01 ` Sergiu.Moga
  2022-06-22  6:34   ` Eugen.Hristev
  0 siblings, 1 reply; 4+ messages in thread
From: Sergiu.Moga @ 2022-06-14 15:01 UTC (permalink / raw)
  To: u-boot, sjg

On 07.06.2022 18:27, Sergiu Moga wrote:
> Hello,
>
> I want to convert our AT91 OHCI driver to Driver Model, but I am not 
> sure whether OHCI is fully supported or not in Driver Model. From what 
> I can see in `drivers/usb/host/` there are some OHCI drivers 
> registered into Driver Model, but the documentation[1] (perhaps 
> outdated) seems to specify that OHCI is not supported.
>
> Could you please tell me what is the current status of OHCI with 
> Driver Model?
>
>
> [1] 
> https://u-boot.readthedocs.io/en/latest/develop/driver-model/usb-info.html
>
>
> Regards,
>
>     Sergiu
>
Hello,

My apologies, Simon, I forgot to add you to cc. Do you happen to know 
the answer to my question?

Regards,

     Sergiu


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

* Re: OHCI: What is the current status with Driver Model
  2022-06-14 15:01 ` Sergiu.Moga
@ 2022-06-22  6:34   ` Eugen.Hristev
  2022-06-22 12:28     ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Eugen.Hristev @ 2022-06-22  6:34 UTC (permalink / raw)
  To: Sergiu.Moga, u-boot, trini

On 6/14/22 6:01 PM, Sergiu.Moga@microchip.com wrote:
> On 07.06.2022 18:27, Sergiu Moga wrote:
>> Hello,
>>
>> I want to convert our AT91 OHCI driver to Driver Model, but I am not
>> sure whether OHCI is fully supported or not in Driver Model. From what
>> I can see in `drivers/usb/host/` there are some OHCI drivers
>> registered into Driver Model, but the documentation[1] (perhaps
>> outdated) seems to specify that OHCI is not supported.
>>
>> Could you please tell me what is the current status of OHCI with
>> Driver Model?
>>
>>
>> [1]
>> https://u-boot.readthedocs.io/en/latest/develop/driver-model/usb-info.html
>>
>>
>> Regards,
>>
>>      Sergiu
>>
> Hello,
> 
> My apologies, Simon, I forgot to add you to cc. Do you happen to know
> the answer to my question?
> 
> Regards,
> 
>       Sergiu
> 

+ Tom

Hi Tom,

You have been asking about this

Eugen

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

* Re: OHCI: What is the current status with Driver Model
  2022-06-22  6:34   ` Eugen.Hristev
@ 2022-06-22 12:28     ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2022-06-22 12:28 UTC (permalink / raw)
  To: Eugen.Hristev; +Cc: Sergiu.Moga, u-boot

[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]

On Wed, Jun 22, 2022 at 06:34:58AM +0000, Eugen.Hristev@microchip.com wrote:
> On 6/14/22 6:01 PM, Sergiu.Moga@microchip.com wrote:
> > On 07.06.2022 18:27, Sergiu Moga wrote:
> >> Hello,
> >>
> >> I want to convert our AT91 OHCI driver to Driver Model, but I am not
> >> sure whether OHCI is fully supported or not in Driver Model. From what
> >> I can see in `drivers/usb/host/` there are some OHCI drivers
> >> registered into Driver Model, but the documentation[1] (perhaps
> >> outdated) seems to specify that OHCI is not supported.
> >>
> >> Could you please tell me what is the current status of OHCI with
> >> Driver Model?
> >>
> >>
> >> [1]
> >> https://u-boot.readthedocs.io/en/latest/develop/driver-model/usb-info.html
> >>
> >>
> >> Regards,
> >>
> >>      Sergiu
> >>
> > Hello,
> > 
> > My apologies, Simon, I forgot to add you to cc. Do you happen to know
> > the answer to my question?
> > 
> > Regards,
> > 
> >       Sergiu
> > 
> 
> + Tom
> 
> Hi Tom,
> 
> You have been asking about this

Yes, I guess the documentation is out of date.  With the exception of
ohci-at91 and ohci-lpc32xx all of the other drivers support DM.  The
ohci-da8xx implementation is likely the easiest one to follow as it
didn't do any rewriting but rather added a probe function and data
structures to otherwise make use of the existing callers.

It would be better to do a bigger re-org of the code as at this point
DM_USB migration deadline has passed so all boards should be fixed up
when updating the ohci-at91 driver.  Thanks.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2022-06-22 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-07 15:27 OHCI: What is the current status with Driver Model Sergiu.Moga
2022-06-14 15:01 ` Sergiu.Moga
2022-06-22  6:34   ` Eugen.Hristev
2022-06-22 12:28     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox