Received: by 10.213.65.68 with SMTP id h4csp122504imn; Sat, 24 Mar 2018 15:49:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELuV1d25f+nOKnD2HyqOo7wppQg242L1doC0zIH3gN611JpzuSIQ+YM2vq49rmFrrDPKS4MW X-Received: by 10.99.167.78 with SMTP id w14mr14365976pgo.408.1521931752943; Sat, 24 Mar 2018 15:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521931752; cv=none; d=google.com; s=arc-20160816; b=k4jRFVcnxQ/2bZHSQ8kIq5Yqvi+x+qw2KUGHfabQ8kMyWBkB30pJgOP3BhgIK6xVEP 9gMagHAfyd+1enoLZVg6NZ36CkmpOuoaZx6fI+SzmAVGbWnDJeofTdpeEw2C9NT7Pe2R s+M/W6X37vpKAHQ+O1yHcjM4s7Fe0cDxNiknu6zjcY4Gd11rTVpvDeN0b1UDMRTamFPs v4N8rOJUZ7GqJKJ0BPA4O4UL9KeeORcRAP0lvhbphRx/WyO/2bh4cHrvzN8ZpS6s5igv cBX5HHG/KTVs6gjSKnmev3BfBgmumzKkzOKV3izyrzJt0LXjc8YgFjkrgDTAE4mXvq4y gbRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=QCKq+CTQDYtRIh0/pIIwpWUP0CXe5Vcd2rzoTPHFLi0=; b=YUtzanNc8UA37fkaNbNXlGY86YI3puj+aCP/2dZTleuHFUaAtzK1xuYLck5A1P1kOF zwksDN7y7NdtCA00V7FtfdHKszQX+DnXFeIWYxxor5npZwpLuGItYItEspJ+nNLkGopX vk8nGCOwNCE+SjSRLft1qW/CCLJYtGILoRrQz9spWCXxvoRnke7mOm0+cHMQJh62Q9x7 xxOoijyb082JNRYkqJO6td1NLZ9g/oEZarIL1a/rfXt21dLWv+9R1u4xYSVbb3Ab0XIy BxVGJPFHcLbpXYEO+qTsrGYISKqeN+NOLraxtcvd3D5gisdch2Wlu0IkEJ/K8orAhBeU f/Ng== 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 b8-v6si9452905ple.556.2018.03.24.15.48.58; Sat, 24 Mar 2018 15:49:12 -0700 (PDT) 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 S1752725AbeCXWsF (ORCPT + 99 others); Sat, 24 Mar 2018 18:48:05 -0400 Received: from smtp4-g21.free.fr ([212.27.42.4]:54104 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752229AbeCXWsE (ORCPT ); Sat, 24 Mar 2018 18:48:04 -0400 Received: from tock.home (unknown [IPv6:2a02:8108:4740:3978:85fa:b641:9ec1:a586]) (Authenticated sender: albeu) by smtp4-g21.free.fr (Postfix) with ESMTPA id 554E519F57C; Sat, 24 Mar 2018 23:47:29 +0100 (CET) From: Alban Bedel To: linux-usb@vger.kernel.org Cc: Alban Bedel , Ralf Baechle , James Hogan , Greg Kroah-Hartman , Alan Stern , Mathias Nyman , Benjamin Herrenschmidt , Alex Elder , Chunfeng Yun , Lu Baolu , Tony Lindgren , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: host: Remove the deprecated ATH79 USB host config options Date: Sat, 24 Mar 2018 23:47:22 +0100 Message-Id: <1521931644-31326-1-git-send-email-albeu@free.fr> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The options USB_EHCI_ATH79 and USB_OHCI_ATH79 only enable the generic EHCI and OHCI platform drivers, and have been marked as deprecated since 2012. These can be safely removed if we make sure that USB_EHCI_ROOT_HUB_TT still get enabled for the EHCI driver. This is now done be selecting this option when the EHCI platform driver is enabled on the ATH79 platform. Signed-off-by: Alban Bedel --- arch/mips/Kconfig | 1 + drivers/usb/host/Kconfig | 25 ------------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 8128c3b..61e9a24 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -200,6 +200,7 @@ config ATH79 select SYS_SUPPORTS_MIPS16 select SYS_SUPPORTS_ZBOOT_UART_PROM select USE_OF + select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM help Support for the Atheros AR71XX/AR724X/AR913X SoCs. diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 4fcfb30..55b45dc 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -293,19 +293,6 @@ config USB_CNS3XXX_EHCI It is needed for high-speed (480Mbit/sec) USB 2.0 device support. -config USB_EHCI_ATH79 - bool "EHCI support for AR7XXX/AR9XXX SoCs (DEPRECATED)" - depends on (SOC_AR71XX || SOC_AR724X || SOC_AR913X || SOC_AR933X) - select USB_EHCI_ROOT_HUB_TT - select USB_EHCI_HCD_PLATFORM - default y - ---help--- - This option is deprecated now and the driver was removed, use - USB_EHCI_HCD_PLATFORM instead. - - Enables support for the built-in EHCI controller present - on the Atheros AR7XXX/AR9XXX SoCs. - config USB_EHCI_HCD_PLATFORM tristate "Generic EHCI driver for a platform device" default n @@ -489,18 +476,6 @@ config USB_OHCI_HCD_DAVINCI controller. This driver cannot currently be a loadable module because it lacks a proper PHY abstraction. -config USB_OHCI_ATH79 - bool "USB OHCI support for the Atheros AR71XX/AR7240 SoCs (DEPRECATED)" - depends on (SOC_AR71XX || SOC_AR724X) - select USB_OHCI_HCD_PLATFORM - default y - help - This option is deprecated now and the driver was removed, use - USB_OHCI_HCD_PLATFORM instead. - - Enables support for the built-in OHCI controller present on the - Atheros AR71XX/AR7240 SoCs. - config USB_OHCI_HCD_PPC_OF_BE bool "OHCI support for OF platform bus (big endian)" depends on PPC -- 2.7.4