diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-23 08:51:29 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-11-24 10:47:26 -0500 |
commit | a262e87ff354f12447bb6268bd63edf7ba1c20e0 (patch) | |
tree | fbe0729283953dcf6452243c009fd7de567c74bb | |
parent | 5883ac2010ef801cb9beb9606d3d50b3dca87113 (diff) |
ARM: tegra: select USB_ULPI from EHCI rather than platform
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 2 | ||||
-rw-r--r-- | drivers/soc/tegra/Kconfig | 4 | ||||
-rw-r--r-- | drivers/usb/host/Kconfig | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 5db40b25bdc4..6f7bec07cda6 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -12,7 +12,5 @@ config ARCH_TEGRA | |||
12 | select ARCH_HAS_RESET_CONTROLLER | 12 | select ARCH_HAS_RESET_CONTROLLER |
13 | select RESET_CONTROLLER | 13 | select RESET_CONTROLLER |
14 | select SOC_BUS | 14 | select SOC_BUS |
15 | select USB_ULPI if USB_PHY | ||
16 | select USB_ULPI_VIEWPORT if USB_PHY | ||
17 | help | 15 | help |
18 | This enables support for NVIDIA Tegra based systems. | 16 | This enables support for NVIDIA Tegra based systems. |
diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 7e35dfe52af5..d0c3c3e085e3 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc/tegra/Kconfig | |||
@@ -57,8 +57,6 @@ if ARM64 | |||
57 | config ARCH_TEGRA_132_SOC | 57 | config ARCH_TEGRA_132_SOC |
58 | bool "NVIDIA Tegra132 SoC" | 58 | bool "NVIDIA Tegra132 SoC" |
59 | select PINCTRL_TEGRA124 | 59 | select PINCTRL_TEGRA124 |
60 | select USB_ULPI if USB_PHY | ||
61 | select USB_ULPI_VIEWPORT if USB_PHY | ||
62 | help | 60 | help |
63 | Enable support for NVIDIA Tegra132 SoC, based on the Denver | 61 | Enable support for NVIDIA Tegra132 SoC, based on the Denver |
64 | ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC, | 62 | ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC, |
@@ -68,8 +66,6 @@ config ARCH_TEGRA_132_SOC | |||
68 | config ARCH_TEGRA_210_SOC | 66 | config ARCH_TEGRA_210_SOC |
69 | bool "NVIDIA Tegra210 SoC" | 67 | bool "NVIDIA Tegra210 SoC" |
70 | select PINCTRL_TEGRA210 | 68 | select PINCTRL_TEGRA210 |
71 | select USB_ULPI if USB_PHY | ||
72 | select USB_ULPI_VIEWPORT if USB_PHY | ||
73 | help | 69 | help |
74 | Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1, | 70 | Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1, |
75 | the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53 | 71 | the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53 |
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 3bb08870148f..95e72d75e0a0 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -220,6 +220,8 @@ config USB_EHCI_TEGRA | |||
220 | depends on ARCH_TEGRA | 220 | depends on ARCH_TEGRA |
221 | select USB_EHCI_ROOT_HUB_TT | 221 | select USB_EHCI_ROOT_HUB_TT |
222 | select USB_PHY | 222 | select USB_PHY |
223 | select USB_ULPI | ||
224 | select USB_ULPI_VIEWPORT | ||
223 | help | 225 | help |
224 | This driver enables support for the internal USB Host Controllers | 226 | This driver enables support for the internal USB Host Controllers |
225 | found in NVIDIA Tegra SoCs. The controllers are EHCI compliant. | 227 | found in NVIDIA Tegra SoCs. The controllers are EHCI compliant. |