]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-omap: Make Kconfig select PHY if USB_EHCI_OMAP
authorAdam Ford <aford173@gmail.com>
Sat, 19 Feb 2022 23:08:44 +0000 (17:08 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 23 Feb 2022 04:25:17 +0000 (05:25 +0100)
commit0c1d154276b684bb9fd6d44e986ba73c8b6ed1cb
treea69a9e288d2a7a61cab8f1f937469287a1a28c00
parent668d0273f889dd4ac75159fcc150174a2233d859
usb: ehci-omap: Make Kconfig select PHY if USB_EHCI_OMAP

The USB_EHCI_OMAP driver currently has a series of Kconfig options
which let users specify a GPIO for the reset pin.  Some devices
may have only one reset, while others might have more.

Since there is a nop phy driver, let's selct enable the PHY
system, and imply the nop phy driver.  The nop phy driver can now
toggle the reset pins when putting the phy in and out of reset.

If the gpio is listed under the phy, it will get toggled and
the hard-coded config options specifying the GPIO numbers can
eventually go away.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/usb/host/Kconfig