Message ID | 20230105134622.254560-22-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp323282wrt; Thu, 5 Jan 2023 06:20:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXuLHfooSycSmfy/vNs7u+LAVU9Thjegvgn3Bp8QYBBBCorFTFAAGkjH8gszkdL3ubT0RcZK X-Received: by 2002:a17:907:d306:b0:84c:95c7:3036 with SMTP id vg6-20020a170907d30600b0084c95c73036mr20994649ejc.5.1672928414406; Thu, 05 Jan 2023 06:20:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672928414; cv=none; d=google.com; s=arc-20160816; b=D+wFn5iNjmIezJhRmY0zbupfLoXBRgMmwZyJzAOfyLc+vcW3FCDmPNtrmiEXYiu09s siJuRp8RZh5zrzM65Zc7pnJaoBE1H0toQyXR/fVjBvA0UAczp0URZpUTtowOjoHrhZYr mwL+cu0TyaK92bwZL4spJwdXujzsXIXeJr45511ELh+6uV3wCaqEcKBRyhhkEdFCeDLn HKRhEqM+p1zY1ZiC5mIYimgKDtthMD3/qAcqLfs5XttupuBO/jO/372++1+1S3px8ZPn 3/cQvp22grqLEVJ4OZj1hXGz1zMrJ3waI08sPXo4e7BbLD/8BMeahGVBLLE/RXT+DYpJ KkLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MTrCUT+nzDA1MQ3UVfC4rDeL0MW+ObJ0cHFx3+YD5Cs=; b=mCQZqWw2Kuh+ptAYqasdt43Loape4+3zyXl2/rSOAwi98zKCAt3C9X+i005GRFjXLj 4NdPDxarHnyEK8IDEcXSRLq4+VYZC4zHEtmJNRSVfWZnthQsRxfzwG/P1MPPimfWn/oa YSVzDaCJChcKcuo88onSVNLnc0XnXwt6ep+jh3UrdWutJgtXlLwcW+U3KpdXtiLVK4zr hoS2bA+q3CVBQGBqutiZBzu9KCk7uN14REX+3qUiHdD1a+R5JvsTUXa73ylzUiFJOWvZ Ja8G3v8r1HDK1Qj9g6U0eDrr+mqukIu2RsVM55CSW/GFvnN0fD6IzR8TGcCZfwrKUO75 rMBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TCVjnh5N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd9-20020a170907628900b0084c8ac6e0b2si19602095ejc.109.2023.01.05.06.19.50; Thu, 05 Jan 2023 06:20:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TCVjnh5N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233732AbjAEOKh (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Thu, 5 Jan 2023 09:10:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234092AbjAENt2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Jan 2023 08:49:28 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9356B4EC8A; Thu, 5 Jan 2023 05:47:42 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BB9A0B81AE4; Thu, 5 Jan 2023 13:47:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B6BBC433D2; Thu, 5 Jan 2023 13:47:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672926459; bh=0C2s8Htv8j/a9ZgxMURdUzKBZYXWV4XjhbJ2Xum7PQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TCVjnh5Np8xRhW7xrU3mVDHXFFRFK058PFVL+U8xsvba7kysjoSsO3PUkwWSRNSn+ opIXXvDuuvK5nCAKRfjJrKhzmp0yHDxRZIkspXbwxrfnC64lfDD+iDMG+ZImTv/Kcl HGvtsbJKaUGYSoY06qI02gaptaI+iP3wYqvocYBkq1puT+uYaQ+v+YUcYlOveQ5Xzi g+/H+iiLJIXDhk+3yPPfXBAQfPAq2iOLK2SQBEGJhYxz0GNDl6rAZlJoMwHMtZ++4q gxOShUc2KeTcOh8FvoEJdmlFaoTfn0PvMrGgz+g39JZEqOn7iYLiMqc9DUd2p7Au64 QuptAdBYvDekg== From: Arnd Bergmann <arnd@kernel.org> To: Robert Jarzmik <robert.jarzmik@free.fr> Cc: Daniel Mack <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Ian Molton <spyro@f2s.com>, Ulf Hansson <ulf.hansson@linaro.org>, Wolfram Sang <wsa+renesas@sang-engineering.com>, linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH 21/27] mmc: remove tmio_mmc driver Date: Thu, 5 Jan 2023 14:46:16 +0100 Message-Id: <20230105134622.254560-22-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105134622.254560-1-arnd@kernel.org> References: <20230105134622.254560-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754192585036423047?= X-GMAIL-MSGID: =?utf-8?q?1754192585036423047?= |
Series |
ARM: pxa: remove all unused boards&drivers
|
|
Commit Message
Arnd Bergmann
Jan. 5, 2023, 1:46 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> With the TMIO MFD support gone, the corresponding MMC host driver can be removed as well. The remaining tmio_mmc_core module however is still used by both the Renesas and Socionext host drivers. Cc: Ian Molton <spyro@f2s.com> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> Cc: linux-mmc@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/mmc/host/Kconfig | 8 -- drivers/mmc/host/Makefile | 1 - drivers/mmc/host/tmio_mmc.c | 227 ------------------------------------ 3 files changed, 236 deletions(-) delete mode 100644 drivers/mmc/host/tmio_mmc.c
Comments
On Thu, 5 Jan 2023 at 14:47, Arnd Bergmann <arnd@kernel.org> wrote: > > From: Arnd Bergmann <arnd@arndb.de> > > With the TMIO MFD support gone, the corresponding MMC host driver can > be removed as well. The remaining tmio_mmc_core module however is still > used by both the Renesas and Socionext host drivers. > > Cc: Ian Molton <spyro@f2s.com> > Cc: Ulf Hansson <ulf.hansson@linaro.org> > Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> > Cc: linux-mmc@vger.kernel.org > Cc: linux-renesas-soc@vger.kernel.org > Signed-off-by: Arnd Bergmann <arnd@arndb.de> I intend to pick this up via my mmc tree, just awaiting an ack from Wolfram. Kind regards Uffe > --- > drivers/mmc/host/Kconfig | 8 -- > drivers/mmc/host/Makefile | 1 - > drivers/mmc/host/tmio_mmc.c | 227 ------------------------------------ > 3 files changed, 236 deletions(-) > delete mode 100644 drivers/mmc/host/tmio_mmc.c > > diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig > index f0456ad4b597..e1b88b51cc80 100644 > --- a/drivers/mmc/host/Kconfig > +++ b/drivers/mmc/host/Kconfig > @@ -655,14 +655,6 @@ config MMC_SDHCI_SPRD > config MMC_TMIO_CORE > tristate > > -config MMC_TMIO > - tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" > - depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST > - select MMC_TMIO_CORE > - help > - This provides support for the SD/MMC cell found in TC6393XB, > - T7L66XB and also HTC ASIC3 > - > config MMC_SDHI > tristate "Renesas SDHI SD/SDIO controller support" > depends on SUPERH || ARCH_RENESAS || COMPILE_TEST > diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile > index 063d87764966..b498c17cd124 100644 > --- a/drivers/mmc/host/Makefile > +++ b/drivers/mmc/host/Makefile > @@ -35,7 +35,6 @@ obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o > obj-$(CONFIG_MMC_SPI) += mmc_spi.o > obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o > obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o > -obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o > obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o > obj-$(CONFIG_MMC_SDHI) += renesas_sdhi_core.o > obj-$(CONFIG_MMC_SDHI_SYS_DMAC) += renesas_sdhi_sys_dmac.o > diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c > deleted file mode 100644 > index 53a2ad9a24b8..000000000000 > -- > 2.39.0 >
On Thu, Jan 05, 2023 at 02:46:16PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > With the TMIO MFD support gone, the corresponding MMC host driver can > be removed as well. The remaining tmio_mmc_core module however is still > used by both the Renesas and Socionext host drivers. > > Cc: Ian Molton <spyro@f2s.com> > Cc: Ulf Hansson <ulf.hansson@linaro.org> > Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> > Cc: linux-mmc@vger.kernel.org > Cc: linux-renesas-soc@vger.kernel.org > Signed-off-by: Arnd Bergmann <arnd@arndb.de> I trust Arnd's research that the driver becomes unused after the PXA removal. I can add to it that the plain TMIO driver hasn't seen any functional update in 10 years maybe. Most modifications were tree-wide cleanups or adjustments because the TMIO core changed. It will be interesting to see what cleanups can be done once this driver is gone. Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
On Thu, Jan 5, 2023, at 16:01, Ulf Hansson wrote: > On Thu, 5 Jan 2023 at 14:47, Arnd Bergmann <arnd@kernel.org> wrote: >> >> From: Arnd Bergmann <arnd@arndb.de> >> >> With the TMIO MFD support gone, the corresponding MMC host driver can >> be removed as well. The remaining tmio_mmc_core module however is still >> used by both the Renesas and Socionext host drivers. >> >> Cc: Ian Molton <spyro@f2s.com> >> Cc: Ulf Hansson <ulf.hansson@linaro.org> >> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> >> Cc: linux-mmc@vger.kernel.org >> Cc: linux-renesas-soc@vger.kernel.org >> Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > I intend to pick this up via my mmc tree, just awaiting an ack from Wolfram. Actually I think it would be easier to just take this through my tree along with the rest of the series, unless you expect conflicts with other patches. Arnd
On Thu, 5 Jan 2023 at 16:44, Arnd Bergmann <arnd@arndb.de> wrote: > > On Thu, Jan 5, 2023, at 16:01, Ulf Hansson wrote: > > On Thu, 5 Jan 2023 at 14:47, Arnd Bergmann <arnd@kernel.org> wrote: > >> > >> From: Arnd Bergmann <arnd@arndb.de> > >> > >> With the TMIO MFD support gone, the corresponding MMC host driver can > >> be removed as well. The remaining tmio_mmc_core module however is still > >> used by both the Renesas and Socionext host drivers. > >> > >> Cc: Ian Molton <spyro@f2s.com> > >> Cc: Ulf Hansson <ulf.hansson@linaro.org> > >> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> > >> Cc: linux-mmc@vger.kernel.org > >> Cc: linux-renesas-soc@vger.kernel.org > >> Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > > > I intend to pick this up via my mmc tree, just awaiting an ack from Wolfram. > > Actually I think it would be easier to just take this through > my tree along with the rest of the series, unless you expect > conflicts with other patches. If conflicts, those should probably be easy to resolve, so please go ahead and take your own route. Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Kind regards Uffe
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index f0456ad4b597..e1b88b51cc80 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -655,14 +655,6 @@ config MMC_SDHCI_SPRD config MMC_TMIO_CORE tristate -config MMC_TMIO - tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" - depends on MFD_TMIO || MFD_ASIC3 || COMPILE_TEST - select MMC_TMIO_CORE - help - This provides support for the SD/MMC cell found in TC6393XB, - T7L66XB and also HTC ASIC3 - config MMC_SDHI tristate "Renesas SDHI SD/SDIO controller support" depends on SUPERH || ARCH_RENESAS || COMPILE_TEST diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile index 063d87764966..b498c17cd124 100644 --- a/drivers/mmc/host/Makefile +++ b/drivers/mmc/host/Makefile @@ -35,7 +35,6 @@ obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o obj-$(CONFIG_MMC_SPI) += mmc_spi.o obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o -obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o obj-$(CONFIG_MMC_SDHI) += renesas_sdhi_core.o obj-$(CONFIG_MMC_SDHI_SYS_DMAC) += renesas_sdhi_sys_dmac.o diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c deleted file mode 100644 index 53a2ad9a24b8..000000000000