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)
commitd11f995cb909695f310f23b3513fb8c7a59457ab
treea69a9e288d2a7a61cab8f1f937469287a1a28c00
parentf9852acdce029edb8e1a06d1d5336b6d0a12471e
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