Received: by 10.223.185.116 with SMTP id b49csp1118506wrg; Fri, 23 Feb 2018 12:14:41 -0800 (PST) X-Google-Smtp-Source: AH8x226zTTB2OMjwI5aB9RnZ28AjajVEhkVMESViV5ZD54CpQGCpTQVCD8x0hqpbWvklE33O4Gwz X-Received: by 10.98.62.14 with SMTP id l14mr1407187pfa.206.1519416881770; Fri, 23 Feb 2018 12:14:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519416881; cv=none; d=google.com; s=arc-20160816; b=ZzH9/bnu/LgtovVWhdZ4z06PQZoyS6P14SA0Kwh6+3Y1jl+v1EtiG5Ibq4lWrP3RIG eqRNsBX72FwcAvNCKV9V5yxT2WZi5nvzpmfe7pMW9vhlGITNEGJ/0uBihswuMRvKPh6j 77ECXQeMui2TRLmo+p+kD0J4XSE0KP63BIQHTyUH5yeCRqZeevWrLOOBWdg5DTenInL4 TFyc8B8gAAjHy94n/zmx2pVqcxqtrE/Ip9eYwlv70fnNPWnuZvE5nuONkOIQI83HBvuG nWvVUNTXxQOcJ6F37YQ9N0ywEKKBi/qhDLsnkfN2HKBt9hJjDjxANGeV/daxiGBVuEE1 xyGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ue+G4iWfBDMFPltDeXyDWiHMMzonP85mEMtcNyZckAA=; b=mU5UseC7LlrEEyorUdfnq5kXm7izAJIfQ1FjOZwEmuUy3bdQfLLLZXGuLEK6OKK1Jm 45gNh1IcekzBHprDRlnlXkmPLGfIrdyYMnQy9+iOX96JycnAhIdZCe71jYukIvbn1g0u +0mkzx5QJQ/dNFEhTo/0MEZlMCKPE/opoxPZsPj6j8Mk3amq6m2DbSu9CCtH8Rr8O1q/ wHE5Vazr7wC5FfiL4f559MpAL8Ye2CMPrbahh4yZy83I2rgHKsPRjDi6g1n+PVR9rPuf k58fLTpfFxpiPUtutCcyl5Ps9YBJ9ilAE15XXfgrBdNIi4NaJLV4J849c57eH9/glYZe aJMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si1309184plo.608.2018.02.23.12.14.27; Fri, 23 Feb 2018 12:14:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932850AbeBWSl1 (ORCPT + 99 others); Fri, 23 Feb 2018 13:41:27 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:40556 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932819AbeBWSlX (ORCPT ); Fri, 23 Feb 2018 13:41:23 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 66C6A12C8; Fri, 23 Feb 2018 18:41:22 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , Arnd Bergmann , Thierry Reding Subject: [PATCH 4.4 156/193] ARM: tegra: select USB_ULPI from EHCI rather than platform Date: Fri, 23 Feb 2018 19:26:29 +0100 Message-Id: <20180223170350.375917652@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit a262e87ff354f12447bb6268bd63edf7ba1c20e0 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: Arnd Bergmann Signed-off-by: Thierry Reding [arnd: rebased to 4.4-stable] Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-tegra/Kconfig | 2 -- arch/arm64/Kconfig.platforms | 2 -- drivers/usb/host/Kconfig | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -12,8 +12,6 @@ menuconfig 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. --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -90,8 +90,6 @@ config ARCH_TEGRA_132_SOC bool "NVIDIA Tegra132 SoC" depends on ARCH_TEGRA 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, --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -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.