]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: tegra: select USB_ULPI from EHCI rather than platform
authorArnd Bergmann <arnd@arndb.de>
Mon, 23 Nov 2015 13:51:29 +0000 (14:51 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 24 Nov 2015 15:47:26 +0000 (16:47 +0100)
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>
arch/arm/mach-tegra/Kconfig
drivers/soc/tegra/Kconfig
drivers/usb/host/Kconfig

index 5db40b25bdc40b6174842610d134005a2cacc94c..6f7bec07cda6429f39f656dad82edcac5f7e03a1 100644 (file)
@@ -12,7 +12,5 @@ config ARCH_TEGRA
        select ARCH_HAS_RESET_CONTROLLER
        select RESET_CONTROLLER
        select SOC_BUS
-       select USB_ULPI if USB_PHY
-       select USB_ULPI_VIEWPORT if USB_PHY
        help
          This enables support for NVIDIA Tegra based systems.
index 7e35dfe52af5c9937a7bfbe1b09c49503acec2fe..d0c3c3e085e33fcba1fa994b722d226f96d1fbeb 100644 (file)
@@ -57,8 +57,6 @@ if ARM64
 config ARCH_TEGRA_132_SOC
        bool "NVIDIA Tegra132 SoC"
        select PINCTRL_TEGRA124
-       select USB_ULPI if USB_PHY
-       select USB_ULPI_VIEWPORT if USB_PHY
        help
          Enable support for NVIDIA Tegra132 SoC, based on the Denver
          ARMv8 CPU.  The Tegra132 SoC is similar to the Tegra124 SoC,
@@ -68,8 +66,6 @@ config ARCH_TEGRA_132_SOC
 config ARCH_TEGRA_210_SOC
        bool "NVIDIA Tegra210 SoC"
        select PINCTRL_TEGRA210
-       select USB_ULPI if USB_PHY
-       select USB_ULPI_VIEWPORT if USB_PHY
        help
          Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1,
          the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53
index 3bb08870148f467de4869c133fa6adfef4602116..95e72d75e0a0aa0c8d9ad997f6876d0fc6af8174 100644 (file)
@@ -220,6 +220,8 @@ config USB_EHCI_TEGRA
        depends on ARCH_TEGRA
        select USB_EHCI_ROOT_HUB_TT
        select USB_PHY
+       select USB_ULPI
+       select USB_ULPI_VIEWPORT
        help
          This driver enables support for the internal USB Host Controllers
          found in NVIDIA Tegra SoCs. The controllers are EHCI compliant.