svn commit: r328402 - head/sys/dev/usb/controller

Ruslan Bukin ruslan.bukin at cl.cam.ac.uk
Thu Jan 25 17:23:02 UTC 2018


On Thu, Jan 25, 2018 at 06:12:04PM +0100, Emmanuel Vadot wrote:
> > Log:
> >   Add basic driver for Qualcomm USB 2.0 EHCI controller.
> >   This driver relies on system initialization in u-boot.
> >   
> >   Tested on DragonBoard 410c.
> >   
> >   Sponsored by:	DARPA, AFRL
> > 
> > Added:
> >   head/sys/dev/usb/controller/ehci_msm.c   (contents, props changed)
> > 
> 
>  The code looks like the generic-ehci, would it be better to subclass
> generic-ehci to fdt and add qualcomm quirks if necessary ?
> 

Hi Emmanuel

This driver is incomplete currently and requires initialization in u-boot.

Both system clocks and EHCI subsystem, also Qualcomm power management device requires full initialization.
My goal will be to extend this driver and proceed full initialization required for Qualcomm EHCI.

The u-boot option CONFIG_DM_DEVICE_REMOVE=n must be added in order to keep devices initialized before jumping to FreeBSD. We will need to get rid of these by adding some code to this driver I guess.

Thanks.

Ruslan


More information about the svn-src-all mailing list