Re: [PATCH V2] usb: ehci-omap: Add Support DM_USB and OF_CONTROL

2020-05-10 Thread Marek Vasut
On 5/10/20 4:33 PM, Adam Ford wrote: [...] > @@ -177,8 +180,13 @@ int omap_ehci_hcd_stop(void) > * Based on "drivers/usb/host/ehci-omap.c" from Linux 3.1 > * See there for additional Copyrights. > */ > +#if !CONFIG_IS_ENABLED(DM_USB) || !CONFIG_IS_ENABLED(OF_CONTROL) > + > int omap_ehci_hcd_

[PATCH V2] usb: ehci-omap: Add Support DM_USB and OF_CONTROL

2020-05-10 Thread Adam Ford
The omap3.dtsi file shows the usbhshost node with two sub-nodes for ohci and ehci. This patch file creates the usbhshost, and pulls the portX-mode information. It then locates the EHCI sub-node, and initializes the EHCI controller with the info pulled from the usbhshost node. There is still more