From: Adam Ford Date: Sat, 19 Feb 2022 23:08:44 +0000 (-0600) Subject: usb: ehci-omap: Make Kconfig select PHY if USB_EHCI_OMAP X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d11f995cb909695f310f23b3513fb8c7a59457ab;p=u-boot.git 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 --- diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 7743c962cf..f0fb66abad 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -191,6 +191,8 @@ config USB_EHCI_MXS config USB_EHCI_OMAP bool "Support for OMAP3+ on-chip EHCI USB controller" depends on ARCH_OMAP2PLUS + select PHY + imply NOP_PHY default y ---help--- Enables support for the on-chip EHCI controller on OMAP3 and later