Re: [PATCH v2 4/4] usb: host: ehci-tegra: Remove USB_PHY dependencies from Kconfig
From: Alan Stern
Date: Tue Dec 19 2017 - 12:52:23 EST
On Sun, 17 Dec 2017, Dmitry Osipenko wrote:
> Previously tegra-phy driver was built only when ehci-tegra was, now
> tegra-phy has its own Kconfig entry. Remove the USB_PHY dependencies
> from ehci-tegra's Kconfig since they aren't useful anymore.
Are you sure they aren't useful? Does this mean it is now
possible/useful to configure a kernel with USB_EHCI_TEGRA enabled and
USB_PHY disabled?
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> drivers/usb/host/Kconfig | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 6150bed7cfa8..5042e72c1b76 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -234,9 +234,6 @@ config USB_EHCI_TEGRA
> tristate "NVIDIA Tegra HCD support"
> depends on ARCH_TEGRA
> select USB_EHCI_ROOT_HUB_TT
> - select USB_PHY
> - select USB_ULPI
> - select USB_ULPI_VIEWPORT
Maybe you should add
select USB_TEGRA_PHY
here. Also, what happened to USB_ULPI_VIEWPORT? Is it still
important? If not, then what changed?
Alan Stern
> help
> This driver enables support for the internal USB Host Controllers
> found in NVIDIA Tegra SoCs. The controllers are EHCI compliant.
>