]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-omap: Add Support for DM_USB and OF_CONTROL
authorAdam Ford <aford173@gmail.com>
Sat, 16 May 2020 06:19:53 +0000 (01:19 -0500)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 22 May 2020 13:22:35 +0000 (15:22 +0200)
commit101699a9b7d688f6d2174a1763355af091de39f7
tree8a0d6927cb19d726be55cd397c8303062b6ff224
parent8d9ddeedef4e05d9d7039bf7fcf1374de6c24460
usb: ehci-omap: Add Support for DM_USB and OF_CONTROL

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 to do since there isn't an actual link
between the 'phys' reference and the corresponding phy driver,
and there is no nop-xceiv driver yet.

In the meantime, the older style reference to
CONFIG_OMAP_EHCI_PHYx_RESET_GPIO is still needed to pull
the phy out of reset until the phy driver is completed and the
phandle reference is made.

Signed-off-by: Adam Ford <aford173@gmail.com>
arch/arm/include/asm/ehci-omap.h
drivers/usb/host/ehci-omap.c