Commit 0522f5e8 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

ARM: tegra: select USB_ULPI from EHCI rather than platform

commit a262e87f upstream.

For historic reasons, the tegra platform selects USB_ULPI from architecture
code, but that hasn't really made sense for a long time, as the only
user of that code is the Tegra EHCI driver that has its own Kconfig
symbol.

This removes the 'select' statements from mach-tegra and drivers/soc/tegra
and adds them with the device driver that actually needs them.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
[arnd: rebased to 4.4-stable]
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d48916f
...@@ -12,8 +12,6 @@ menuconfig ARCH_TEGRA ...@@ -12,8 +12,6 @@ menuconfig ARCH_TEGRA
select ARCH_HAS_RESET_CONTROLLER select ARCH_HAS_RESET_CONTROLLER
select RESET_CONTROLLER select RESET_CONTROLLER
select SOC_BUS select SOC_BUS
select USB_ULPI if USB_PHY
select USB_ULPI_VIEWPORT if USB_PHY
help help
This enables support for NVIDIA Tegra based systems. This enables support for NVIDIA Tegra based systems.
......
...@@ -90,8 +90,6 @@ config ARCH_TEGRA_132_SOC ...@@ -90,8 +90,6 @@ config ARCH_TEGRA_132_SOC
bool "NVIDIA Tegra132 SoC" bool "NVIDIA Tegra132 SoC"
depends on ARCH_TEGRA depends on ARCH_TEGRA
select PINCTRL_TEGRA124 select PINCTRL_TEGRA124
select USB_ULPI if USB_PHY
select USB_ULPI_VIEWPORT if USB_PHY
help help
Enable support for NVIDIA Tegra132 SoC, based on the Denver Enable support for NVIDIA Tegra132 SoC, based on the Denver
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC, ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC,
......
...@@ -220,6 +220,8 @@ config USB_EHCI_TEGRA ...@@ -220,6 +220,8 @@ config USB_EHCI_TEGRA
depends on ARCH_TEGRA depends on ARCH_TEGRA
select USB_EHCI_ROOT_HUB_TT select USB_EHCI_ROOT_HUB_TT
select USB_PHY select USB_PHY
select USB_ULPI
select USB_ULPI_VIEWPORT
help help
This driver enables support for the internal USB Host Controllers This driver enables support for the internal USB Host Controllers
found in NVIDIA Tegra SoCs. The controllers are EHCI compliant. found in NVIDIA Tegra SoCs. The controllers are EHCI compliant.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment