From patchwork Wed Sep 20 20:10:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 142647 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4490699vqi; Wed, 20 Sep 2023 16:23:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDYUzvGSQr7Pqxl8dKEMZKbj5INIHIeYe1UIHbXqP6JzaMr2SGhw8DZrfDTD9xmnL6ZTbR X-Received: by 2002:a05:6a20:1615:b0:134:73f6:5832 with SMTP id l21-20020a056a20161500b0013473f65832mr6169217pzj.16.1695252194319; Wed, 20 Sep 2023 16:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695252194; cv=none; d=google.com; s=arc-20160816; b=Nsrv/0jdCp9eVhDgWDTxcAXFMB9VesoHK2wvg3PLQFJDLiS6lEPPQCHUCAPeDSnLYp nRJOSrB0kzaS+IGG97wullFh/nl2ezksO/8H05MK328nlP1B0VsRI2M3fzh1a+hada4m jWxICkDba/8fd8vVsujwQpkQq4VljufWQ0woTdFK+6c+H5lXDbk3hLCP3cvVuUDQ/4fI g9FtTf0l3hLSiR+q9GTKhlfmQiiZWYXtadR90d1TzmNbgryHNlKajHZs+9hDAanZf2zg TJ7aO4Za6owng/B2uarhSUBef9kEC/DkQLc5uNfCeChlW1R+uBUNrkCoRMT+iUVxZX46 3xxg== 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=ZNeKrg5sAP30QqDQrIU7hgAIKaGsVVJXPQC5z91sR2k=; fh=j9MxXrCTMgACpdaMc27ckDET3IHjrMQRkUYnsFGSjwg=; b=o2Bm5wlkQ1pl/nel9gv9vbZ3/8t/9Slk0WxdnmB46fkGtwVwaimQSmfMub5tgeghrz nw/zfAJ8rsRFFyznz9+E9e1BR0OwOEepLyfiv+lUbize7yvF9WQ34yf3K3xrRTG9dmBu 33lvu0HApoTW+mVM8CoIf6AXsMykmBLzdSsOi0RHiYk43/AIf8buQkb0FDmp6zgdTK6u jKMU9YVER1NX4Q9dvWrDKorrhAIvwvj4q/jpG1RY16RENVr2EaUT0047mzmBKIM+4Owm ljrjgDcN90wJVjQ4shfAEDeHB9z3uHH/KViLA6TtYwIjtCLG39TDssjvAnPFK/ryaa7B nNAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=erc3tIF7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id az1-20020a056a02004100b00577461b010fsi102214pgb.685.2023.09.20.16.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 16:23:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=erc3tIF7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 79AC98057E5F; Wed, 20 Sep 2023 13:11:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbjITUKy (ORCPT + 27 others); Wed, 20 Sep 2023 16:10:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbjITUKw (ORCPT ); Wed, 20 Sep 2023 16:10:52 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEB73C9 for ; Wed, 20 Sep 2023 13:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=ZNeKrg5sAP30QqDQrIU7hgAIKaGsVVJXPQC5z91sR2k=; b=erc3tI F7QNEs3H3KRFvKBZcKcsmkR/ynJaaOGiCM4v/yRCukMAo4aTctihbTYFrXERq9tl fe/H9vzD3XoQYrYWsp46CXnRurhSklfF0+55brjjxwQDb6IMT00XHCo3+I9bOPuA 7gt7yqwwjvsta4WJTxLuJecZdAGK5rPmW71gEo6FHkjJvsXYgc26oiaRnl5wkxR3 7uVtmfW49ezMuky5H9KEqD6X8+B47318Sk4TMw540AyZdZlnafPU2XHUjxp2D7Ff qY90Jum3jeoFSZI2R7KzIHOAcWG/YJM3MNbfJgOtH/y1KekCzZDujyRVRqroJrcv aL7ZFqUGUhCkYbUA== Received: (qmail 720181 invoked from network); 20 Sep 2023 22:10:41 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:41 +0200 X-UD-Smtp-Session: l3s3148p1@dPg7+M8FztgujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 1/6] serial: 8250: remove AR7 support Date: Wed, 20 Sep 2023 22:10:27 +0200 Message-Id: <20230920201035.3445-2-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:11:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777600764504652348 X-GMAIL-MSGID: 1777600764504652348 AR7 is going to be removed from the Kernel, so remove its type definition from 8250 code. As with previous removals, I checked with Debian Code Search that 'PORT_AR7' is not used in userspace. Signed-off-by: Wolfram Sang Acked-by: Florian Fainelli Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_port.c | 7 ------- include/uapi/linux/serial_core.h | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c index fb891b67968f..a4f5d792679a 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c @@ -170,13 +170,6 @@ static const struct serial8250_config uart_config[] = { .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, .flags = UART_CAP_FIFO, }, - [PORT_AR7] = { - .name = "AR7", - .fifo_size = 16, - .tx_loadsz = 16, - .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00, - .flags = UART_CAP_FIFO /* | UART_CAP_AFE */, - }, [PORT_U6_16550A] = { .name = "U6_16550A", .fifo_size = 64, diff --git a/include/uapi/linux/serial_core.h b/include/uapi/linux/serial_core.h index add349889d0a..3b51901926f9 100644 --- a/include/uapi/linux/serial_core.h +++ b/include/uapi/linux/serial_core.h @@ -32,7 +32,6 @@ #define PORT_XSCALE 15 #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */ #define PORT_OCTEON 17 /* Cavium OCTEON internal UART */ -#define PORT_AR7 18 /* Texas Instruments AR7 internal UART */ #define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */ #define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */ #define PORT_XR17D15X 21 /* Exar XR17D15x UART */ From patchwork Wed Sep 20 20:10:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 142718 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4594519vqi; Wed, 20 Sep 2023 21:06:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+XPlI9eTtzWIJjbwH9SnliftZRugt9q8G4d0074mTFmB745BGL5Ug6E+6d92fx1PZYHgE X-Received: by 2002:a17:90a:c245:b0:268:3f6d:9751 with SMTP id d5-20020a17090ac24500b002683f6d9751mr4743367pjx.23.1695269188614; Wed, 20 Sep 2023 21:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695269188; cv=none; d=google.com; s=arc-20160816; b=zZZt8cdLGEReZb00k1XD8Ad6Dww2II3kVjZMpExw12kQamkSaBxuVwCpp+q8b5Pku1 GEdXIzcVa+tbpxWy2zcewvxvH8CDHp6Jnz1Pw6PLMadV4UuWV8gXCcYkpblcDDBY9Z42 hZRplrKOGM3xNOOfg3GmZwI+PltODWEjcfSeSd0vE+J0vmHypUcuqbegg5hMp3wnuSJ5 bv84quigQeV0zBlCwwTStY7nKhZb8tipUtp3Q7wWGhVOwcQb4T7Zl7VOj/jvrdUNuwPV W1/k+AhiEImyXlviUBlgCeMabxbnOj0M4miWIXLNdcqyeAcOlzqpQ1kNv/FlmuDkdyNb MKrA== 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=Ke7MWwiVf9//t6v+IkBiNGOrHjI51uuQ1nwsG7+ZaAw=; fh=EuIitoUKuiM0LqfGNhHl1okkw7U+P9hd5DOKJnFBUU4=; b=lvQ+ZL/IB0dHl5Fn3JHi+WHGvavkXhIoQv2j1nruA//6H6tE9Pgid5U1RMVnAkvnSx tFZpUvlj2SGBrhM7sW/tNKL7JAfymvijY1K0ZmU5CRUQ2HHz8KLnVWVSyWGErvj8dG62 Kk9Xeqt8jpdEC+eMmZnEWdopH/DTy4/J0vxXduEjCNPSyCm2dHV+99VSaAeCDuylAT9/ CU/BKfZqhKXGk29sRTTUy5xqeGODxeOAX1K0mkTIw9RKdH0r4CN96KzgwkQSfL0/Lo/Z IIy9SaXTCe5l/r7Fuw6fkfWE1qTv3PRO3L4w7xTtUmiE7jiItYowAkBSnTHBLxgerRmZ aNhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b="MbI/kYeM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id lg6-20020a170902fb8600b001c2109a8576si472467plb.652.2023.09.20.21.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 21:06:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b="MbI/kYeM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5ADAA8021DAD; Wed, 20 Sep 2023 13:11:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbjITUKw (ORCPT + 27 others); Wed, 20 Sep 2023 16:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjITUKv (ORCPT ); Wed, 20 Sep 2023 16:10:51 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC734AB for ; Wed, 20 Sep 2023 13:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=Ke7MWwiVf9//t6v+IkBiNGOrHjI51uuQ1nwsG7+ZaAw=; b=MbI/kY eMqf2sCwUzAQGytVQlTayFe513+vdJqK7SFCvO0s/Vs8PrHbshTWMfVBhnwG203W UGosj85tfVxMPJ4ukwIKy5M5kYppSlHEcj94A0A5kyjpUzGyyAuwhQGeHbPwkjoO WXh4Cre5Q3n5dPKW6UCdQ+RenaBu/3ysAMfuw+UgzXNcJtyvWNZ2ceag7keFklmR F8zr/2fAq4EoJjaSYaPkxIKWa/JUf/h/PVWKWx9mUrWctL+pchu1QnIAu09rkjcL 4A+yhtMnkHIOzljaNQNt0ASvKyg9+IgBblvIJUjAsUsGvJHDIoGYZKpdUC/6Zhng ViyDRwkp3rlObqTw== Received: (qmail 720226 invoked from network); 20 Sep 2023 22:10:42 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:42 +0200 X-UD-Smtp-Session: l3s3148p1@x31J+M8F3tgujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , Russell King , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: [PATCH 2/6] mtd: parsers: ar7: remove support Date: Wed, 20 Sep 2023 22:10:28 +0200 Message-Id: <20230920201035.3445-3-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:11:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777618584637709089 X-GMAIL-MSGID: 1777618584637709089 AR7 is going to be removed from the Kernel, so remove its support for MTD. Signed-off-by: Wolfram Sang Acked-by: Florian Fainelli --- arch/arm/configs/pxa_defconfig | 1 - drivers/mtd/parsers/Kconfig | 5 -- drivers/mtd/parsers/Makefile | 1 - drivers/mtd/parsers/ar7part.c | 129 --------------------------------- 4 files changed, 136 deletions(-) delete mode 100644 drivers/mtd/parsers/ar7part.c diff --git a/arch/arm/configs/pxa_defconfig b/arch/arm/configs/pxa_defconfig index 23c131b0854b..9e81b1849e4c 100644 --- a/arch/arm/configs/pxa_defconfig +++ b/arch/arm/configs/pxa_defconfig @@ -100,7 +100,6 @@ CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_CONNECTOR=y CONFIG_MTD=y -CONFIG_MTD_AR7_PARTS=m CONFIG_MTD_CMDLINE_PARTS=m CONFIG_MTD_OF_PARTS=m CONFIG_MTD_AFS_PARTS=m diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig index 60738edcd5d5..da03ab6efe04 100644 --- a/drivers/mtd/parsers/Kconfig +++ b/drivers/mtd/parsers/Kconfig @@ -1,9 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -config MTD_AR7_PARTS - tristate "TI AR7 partitioning parser" - help - TI AR7 partitioning parser support - config MTD_BCM47XX_PARTS tristate "BCM47XX partitioning parser" depends on BCM47XX || ARCH_BCM_5301X diff --git a/drivers/mtd/parsers/Makefile b/drivers/mtd/parsers/Makefile index 0e70b621a1d8..9b00c62b837a 100644 --- a/drivers/mtd/parsers/Makefile +++ b/drivers/mtd/parsers/Makefile @@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o obj-$(CONFIG_MTD_BRCM_U_BOOT) += brcm_u-boot.o diff --git a/drivers/mtd/parsers/ar7part.c b/drivers/mtd/parsers/ar7part.c deleted file mode 100644 index 8cd683711ac6..000000000000 From patchwork Wed Sep 20 20:10:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 142586 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4401917vqi; Wed, 20 Sep 2023 13:19:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6stX+ExpNAU1BpgiGAsHju8sGD2VzQbGLEDFri2xpX3U1zqL1VTgouOp9Wn77PpE2p/Xg X-Received: by 2002:a17:90b:4acc:b0:274:751a:3f3 with SMTP id mh12-20020a17090b4acc00b00274751a03f3mr9123705pjb.7.1695241191266; Wed, 20 Sep 2023 13:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695241191; cv=none; d=google.com; s=arc-20160816; b=GmvWXISqvogHM7X6gmkceSFKc7TYk9OuT4nVFEzShkp9uxh61ymZPn7PG13TxtddvS /hHyhBnD4GMI9P8bbaG5TmCy84c+QpX7HFfnoDiurUGaqII49+qAdIJQmxVFCkBbmhF8 sGy+eVUZhdwangcdN3d6naRX3NpwZN6kOydXy1bGikCAPo3UZI9hD5roDsLCbvB7R+jx 6Y55SI5h25rcmL8fxl8Itb5UxahcHydcvYWYY+KiClGm2Fbuj5D3kP006Cb0daTxUD/A KlfoihlVwg5DjrGTgts9P8QQx2xIKF1WyX7ENLNEQ+TPjdDchVVEbWOmg8hyFUuox8rT Ajww== 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=VQKOrsOQY3kT1v4EL/KY2u2jCcRiHXjGrkrknpskVE8=; fh=VXbS+Qr2G6Lsklv/Pq9f8DFz16yV+fdcZOtW998DP8o=; b=eYfWX8gf7USkolTA1ew4qJFIGM+QsC9PVNNhuO+fja8K8MgtBk590vLpfYKTM9PFx+ B0Dz5pThiSfYe2xzsUCtax14b8S1ghE+hc5Na6JOZJLmU4NCFtIIFJNKID2kJQX9t8rA uhMqNXE/ssKAr6EPpqwia/Bm4vwxJ2twKUyDwWJdyNAePMSTwjvz4iCjPVoX23rILIHv /wMRTNTnFqinni3l4Trxv2lyIFyAmV90iSXi9pALCmso4xGWM2gVEgvDGn63Bud61KiS KFI/HSzg9V4pBGXphJ2voDaOz5MygUP4zhcQ3LbUDzRpMLCNM4BxhvAjcwmkRSfbNZCr f9qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=FG4r4uDM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id f26-20020a65629a000000b00563d791d978si11846128pgv.750.2023.09.20.13.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 13:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=FG4r4uDM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C304180560D3; Wed, 20 Sep 2023 13:11:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbjITULA (ORCPT + 27 others); Wed, 20 Sep 2023 16:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbjITUKx (ORCPT ); Wed, 20 Sep 2023 16:10:53 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0295CAB for ; Wed, 20 Sep 2023 13:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=VQKOrsOQY3kT1v4EL/KY2u2jCcRiHXjGrkrknpskVE8=; b=FG4r4u DMIOJcUbq+oESypBrD/jP7jbitOHGTGgHMi8WLJERH/AdkavuLjbLAo8Fw7uZCOg QBvX/uP/ypBFSGI6M+7/8ObaDyKrpDuUo8mWx1Ie8MHqQnt5EoMXDBqXlPQ17OUQ lXmkvr4Go0ZnEGwiCPEf7h0Dp6RJa5YbKYqTao3nkUtQwYPTmlvLfqjb7unwniVx Y0MEmUx3C5JZG7JLQIHJw1cN2eTO2nKmeUgnsYlzdW5r2Zgch9a5R0e3NJXG+v3e OLbWXX6KKhGhLGsOjO2+5coC1F5PywD/8j7rjJK2wU2TFS2YWWqY4yl4ic0dQFfS hNhGxR+PHZSwsKrw== Received: (qmail 720278 invoked from network); 20 Sep 2023 22:10:43 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:43 +0200 X-UD-Smtp-Session: l3s3148p1@cA5a+M8F7tgujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH 3/6] vlynq: remove bus driver Date: Wed, 20 Sep 2023 22:10:29 +0200 Message-Id: <20230920201035.3445-4-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:11:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777589227410769244 X-GMAIL-MSGID: 1777589227410769244 There are no users with a vlynq_driver in the Kernel tree. Also, only the AR7 platform ever initialized a VLYNQ bus, but AR7 is going to be removed from the Kernel. OpenWRT had some out-of-tree drivers which they probably intended to upport, but AR7 devices are even there not supported anymore because they are "stuck with Kernel 3.18" [1]. This code can go. [1] https://openwrt.org/docs/techref/targets/ar7 Signed-off-by: Wolfram Sang Acked-by: Greg Kroah-Hartman Acked-by: Florian Fainelli --- MAINTAINERS | 7 - drivers/Kconfig | 2 - drivers/Makefile | 1 - drivers/vlynq/Kconfig | 21 -- drivers/vlynq/Makefile | 6 - drivers/vlynq/vlynq.c | 799 ----------------------------------------- include/linux/vlynq.h | 149 -------- 7 files changed, 985 deletions(-) delete mode 100644 drivers/vlynq/Kconfig delete mode 100644 drivers/vlynq/Makefile delete mode 100644 drivers/vlynq/vlynq.c delete mode 100644 include/linux/vlynq.h diff --git a/MAINTAINERS b/MAINTAINERS index bf0f54c24f81..bdd6e7ce962d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22961,13 +22961,6 @@ W: https://linuxtv.org T: git git://linuxtv.org/media_tree.git F: drivers/media/test-drivers/vivid/* -VLYNQ BUS -M: Florian Fainelli -L: openwrt-devel@lists.openwrt.org (subscribers-only) -S: Maintained -F: drivers/vlynq/vlynq.c -F: include/linux/vlynq.h - VM SOCKETS (AF_VSOCK) M: Stefano Garzarella L: virtualization@lists.linux-foundation.org diff --git a/drivers/Kconfig b/drivers/Kconfig index efb66e25fa2d..9c8b82ddebfe 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -135,8 +135,6 @@ source "drivers/uio/Kconfig" source "drivers/vfio/Kconfig" -source "drivers/vlynq/Kconfig" - source "drivers/virt/Kconfig" source "drivers/virtio/Kconfig" diff --git a/drivers/Makefile b/drivers/Makefile index 1bec7819a837..f7eeec79ef66 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -151,7 +151,6 @@ obj-$(CONFIG_BCMA) += bcma/ obj-$(CONFIG_VHOST_RING) += vhost/ obj-$(CONFIG_VHOST_IOTLB) += vhost/ obj-$(CONFIG_VHOST) += vhost/ -obj-$(CONFIG_VLYNQ) += vlynq/ obj-$(CONFIG_GREYBUS) += greybus/ obj-$(CONFIG_COMEDI) += comedi/ obj-$(CONFIG_STAGING) += staging/ diff --git a/drivers/vlynq/Kconfig b/drivers/vlynq/Kconfig deleted file mode 100644 index e7f9492a0b04..000000000000 diff --git a/drivers/vlynq/Makefile b/drivers/vlynq/Makefile deleted file mode 100644 index d9ce5b2b5ce0..000000000000 diff --git a/drivers/vlynq/vlynq.c b/drivers/vlynq/vlynq.c deleted file mode 100644 index 4af6615808cc..000000000000 diff --git a/include/linux/vlynq.h b/include/linux/vlynq.h deleted file mode 100644 index e9c0cd36c48a..000000000000 From patchwork Wed Sep 20 20:10:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 142710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4580137vqi; Wed, 20 Sep 2023 20:21:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzRVY52c3PImHaEiibmGCd/nxLflraxBT42fx69jGHonAurApIGnfDV/zAopOLRE8BqsdE X-Received: by 2002:a05:6808:bcc:b0:3a3:f92c:3f38 with SMTP id o12-20020a0568080bcc00b003a3f92c3f38mr5486799oik.6.1695266494743; Wed, 20 Sep 2023 20:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695266494; cv=none; d=google.com; s=arc-20160816; b=KRUnyG0mUvgc/c9UtOuHqpOj22/HNlpObp1tjmbt/iN0G7XO1buhEzBM7/OPcwb3Kp mMECSMcE2GJWnOuI32P0skVZclBctgz75jw+rePcl/4r2x4Gjzmg4tmeusB8svvlzTG2 +9/x/V8ok+H81MKyS8Fq0b0h+PMnxWvwZ5aTBTwC5uyWBzu2WTLi2GiVNsA+gEHCY1Gs Iyh6z+CjynEQsA1KkdoFpUsiaF9wZEdDaeDZM8PFjFsFbTMsp9Qm8zar08G7o+HLURtV g2IvqIQHTYcRPhx70xf4eDH+7O5ilQzpG9cGcsdbN6B0Q8FIwvRPTl+avpfZQz4yBCjT t0lw== 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=t1CeJIW6bR5SEY8SZTsSWNrRz+EyxymHp/0GFeRxitQ=; fh=FBJWXBK7Z2r0Ap0RiNgTHWXtx1fXdWqEn6Bsp9TnEtY=; b=DKp2Daq868N/F72kFVMwUfAozInd/bNECmEJ/wDpam6DzJjzvdmu4C/wococruX3xW yqCT/MQQQasIvzpSLpLtcBoGZNIWtYiTSEqBQESeSLVHbr7o/90kWS53CRnT86NyI6cL jHgWKtaRH7uFIFbgfyGc2xJ6yQK4ODyDlUJxqut83DSC3Zx418y0kCDmHtHa+eayuUZJ N0mUnm7mzhOR4mp+l9nq3QK2QHv1ejZdR89vwMVtij9vSIFUXRd8hEZlpqbzLEUbuLnl TIvZO9FBiC4ho+5Ug3oeccGb6bi0rL/XAtRYh1UMewzzh9NqdSEaV7e+DduDe6wef0ca QcyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Esqx4sGi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id y5-20020a63ce05000000b00578e6358053si500380pgf.269.2023.09.20.20.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Esqx4sGi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3648080560E0; Wed, 20 Sep 2023 13:11:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbjITULG (ORCPT + 27 others); Wed, 20 Sep 2023 16:11:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjITULA (ORCPT ); Wed, 20 Sep 2023 16:11:00 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66361CA for ; Wed, 20 Sep 2023 13:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=t1CeJIW6bR5SEY8SZTsSWNrRz+EyxymHp/0GFeRxitQ=; b=Esqx4s GinE5bEEgtGeNpdPwVenMk9YJsuxpliViXTmbMH35YLXLY9BLX5I+TAiikRkxdxw K0mCkkiGebBYKSia59Zq1sUEjwGat7fn5RPfVKwOwHNmvZfe4bidV5tUukSu4ZLd B3s1LS7sg6dtwZoj5cJP5LSeJ654MAOsEXtFck7w2gxcesKlrDIZdAhfl9tqHw64 c6p/lgrGLQTmPHi+74Lyf4SyIfS7H2v7100s7Ln5Sdcr638zS7vDoJmvjbGStPds tMLT6tOvmlogUsJ7xu/AtopTAr2VY+X4HxRLcQE2bCYPEC6qVXLJtoHp56X38/Rh Fba0p73FgAxZTxZg== Received: (qmail 720306 invoked from network); 20 Sep 2023 22:10:44 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:44 +0200 X-UD-Smtp-Session: l3s3148p1@Jgxq+M8FqskujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] watchdog: ar7_wdt: remove driver to prepare for platform removal Date: Wed, 20 Sep 2023 22:10:30 +0200 Message-Id: <20230920201035.3445-5-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:11:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777604741204797316 X-GMAIL-MSGID: 1777615759820562423 AR7 is going to be removed from the Kernel, so remove its watchdog support. This allows us to remove the platform because this driver includes a platform specific header. Signed-off-by: Wolfram Sang Acked-by: Florian Fainelli --- drivers/watchdog/Kconfig | 6 - drivers/watchdog/Makefile | 1 - drivers/watchdog/ar7_wdt.c | 315 ------------------------------------- 3 files changed, 322 deletions(-) delete mode 100644 drivers/watchdog/ar7_wdt.c diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 751458959411..b9f715d73fe8 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -1768,12 +1768,6 @@ config SIBYTE_WDOG To compile this driver as a loadable module, choose M here. The module will be called sb_wdog. -config AR7_WDT - tristate "TI AR7 Watchdog Timer" - depends on AR7 || (MIPS && 32BIT && COMPILE_TEST) - help - Hardware driver for the TI AR7 Watchdog Timer. - config TXX9_WDT tristate "Toshiba TXx9 Watchdog Timer" depends on CPU_TX49XX || (MIPS && COMPILE_TEST) diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile index 7eab9de311cb..7cbc34514ec1 100644 --- a/drivers/watchdog/Makefile +++ b/drivers/watchdog/Makefile @@ -168,7 +168,6 @@ obj-$(CONFIG_INDYDOG) += indydog.o obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o -obj-$(CONFIG_AR7_WDT) += ar7_wdt.o obj-$(CONFIG_TXX9_WDT) += txx9wdt.o obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c deleted file mode 100644 index cdcaeb0961ac..000000000000 From patchwork Wed Sep 20 20:10:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 142717 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4591465vqi; Wed, 20 Sep 2023 20:58:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7Xoqj8tKryxCPXz2derixW6eXX/DvmJYfIS3AfE1WzCbjk4cu9qZhBh6q/feDGCbpCa3f X-Received: by 2002:a05:6a20:5530:b0:159:c24f:5fa4 with SMTP id ko48-20020a056a20553000b00159c24f5fa4mr3780390pzb.1.1695268737355; Wed, 20 Sep 2023 20:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695268737; cv=none; d=google.com; s=arc-20160816; b=j6tnO0tHicyP33VwR81ScNHUKTFar6SwGE6w9PH8A994eRJjsG6gGiMYFeQwjxj1/Y 6AjtmyKU6MmTu/r7MnbVdLgURJapSThg6SFxIeelkRIoT5xs+vBvrU6GEmNcPa9+d9vc mFBYy2EFrqvuDrGWfzANB7PQigU25ZebSgY0vQoEO4WD6y0dXASOv2e49AteYmGcP254 YTdPMnT4kUr9ifkc7NIBvME0SEDGSqut2BjsvfXudvhrPCMpAvYxnZ+576YhboNd+eBi wA8qD6acqVIC7Jz/bwMgDI5r6dx6ywJLSPsZCF3uXVUAFa6R6UPvWMEXpROajg4vl+Fu CQEA== 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=8RIrRGujsnsww+/iQckIBpKPuIOG6p9i3F7bdsk5O7I=; fh=jcmzHWOrgnGhKTI4MyJeCU2QwhfmvHKsZofE/kwOPo4=; b=ecDSp+fN6wZHHxMuZdeJ98btlY3eHLRl+jsV2RcZZyFylP4ZVaYFY7QEHEkxem6fcZ bwoK1+1Qz21RPMhGsL5fNYs0SAlbzW+ItHqF+ZkDgnw7YZmbOlgA7qXWni4jM05sCupu cxt+TLy3NMKgqk9JxhtBfDMy00wbmUjFCeLXQS0hSJUm+QvYKAGVVg0UTojoOvCGRjaD 2oNvWSu0afgMnZvnEa2tnhUaVlKN2kBUXdJdKVNbE40yOKbMDkYYMOP96Vhfr8xC9+KU Zo3X/OPd4fcsHCxXeBLXz0PgDvxp5QZH48CA8MaHPJGJEt3kS/xsbU/WbCOHfKmnt+nm UDgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=agMesX03; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id v10-20020a17090a898a00b0026813cd5719si682439pjn.128.2023.09.20.20.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:58:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=agMesX03; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E9BF58023754; Wed, 20 Sep 2023 13:11:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbjITULI (ORCPT + 27 others); Wed, 20 Sep 2023 16:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbjITULB (ORCPT ); Wed, 20 Sep 2023 16:11:01 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC2B0CF for ; Wed, 20 Sep 2023 13:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=k1; bh=8RIrRGujsnsww+/iQckIBpKPuIO G6p9i3F7bdsk5O7I=; b=agMesX032pc0Xecq+VevRAaSSZSHAncbr2wQcQ8M5ug F+6BUb8ZiOh74GhH3tErKanKqBLQv3lo+rhF8jzHZSC0hONS8mFcokVv5DF/2dCA Gs8xnW7r6hs/kf1IrA+xRcbpW3mM4+kX/t4UoJg5H2LANfNjmsBwWZ3YBw9fbuvP YHdCIxkFs3cu5fMep0PftdyW0g+dzWdGdlRLLDm6WgsW6FzkdSms36hRQ8D6ueX2 LPIxZ43ORqcCEnj/+xjUiad/2xpW5wO1/rsDA8A8MWBuwShMwDlUbXBhG96wkjYQ 2acsRI/3txO3RQ/HVz0NQDtd9tEX7NNErVoIqIgtn2w== Received: (qmail 720323 invoked from network); 20 Sep 2023 22:10:45 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:45 +0200 X-UD-Smtp-Session: l3s3148p1@EHd5+M8FtskujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 5/6] net: cpmac: remove driver to prepare for platform removal Date: Wed, 20 Sep 2023 22:10:31 +0200 Message-Id: <20230920201035.3445-6-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:11:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777616718063545923 X-GMAIL-MSGID: 1777618111534262966 AR7 is going to be removed from the Kernel, so remove its networking support in form of the cpmac driver. This allows us to remove the platform because this driver includes a platform specific header. Signed-off-by: Wolfram Sang --- MAINTAINERS | 6 - drivers/net/ethernet/ti/Kconfig | 9 +- drivers/net/ethernet/ti/Makefile | 1 - drivers/net/ethernet/ti/cpmac.c | 1251 ------------------------------ 4 files changed, 1 insertion(+), 1266 deletions(-) delete mode 100644 drivers/net/ethernet/ti/cpmac.c diff --git a/MAINTAINERS b/MAINTAINERS index bdd6e7ce962d..00063d14c70b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5309,12 +5309,6 @@ M: Bence Csókás S: Maintained F: drivers/i2c/busses/i2c-cp2615.c -CPMAC ETHERNET DRIVER -M: Florian Fainelli -L: netdev@vger.kernel.org -S: Maintained -F: drivers/net/ethernet/ti/cpmac.c - CPU FREQUENCY DRIVERS - VEXPRESS SPC ARM BIG LITTLE M: Viresh Kumar M: Sudeep Holla diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index 88b5b1b47779..7a99a86888e9 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -6,7 +6,7 @@ config NET_VENDOR_TI bool "Texas Instruments (TI) devices" default y - depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 + depends on PCI || EISA || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 help If you have a network (Ethernet) card belonging to this class, say Y. @@ -176,13 +176,6 @@ config TLAN Please email feedback to . -config CPMAC - tristate "TI AR7 CPMAC Ethernet support" - depends on AR7 - select PHYLIB - help - TI AR7 CPMAC Ethernet support - config TI_ICSSG_PRUETH tristate "TI Gigabit PRU Ethernet driver" select PHYLIB diff --git a/drivers/net/ethernet/ti/Makefile b/drivers/net/ethernet/ti/Makefile index 34fd7a716ba6..e38ec9d6c99b 100644 --- a/drivers/net/ethernet/ti/Makefile +++ b/drivers/net/ethernet/ti/Makefile @@ -8,7 +8,6 @@ obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o obj-$(CONFIG_TLAN) += tlan.o -obj-$(CONFIG_CPMAC) += cpmac.o obj-$(CONFIG_TI_DAVINCI_EMAC) += ti_davinci_emac.o ti_davinci_emac-y := davinci_emac.o davinci_cpdma.o obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c deleted file mode 100644 index 80eeeb463c4f..000000000000 From patchwork Wed Sep 20 20:10:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 142648 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4492145vqi; Wed, 20 Sep 2023 16:26:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEz7lQ83QP60Dr8Iw5zcKXD4AxAH+vla8PacVQ7D/dfM/ZMzcBy2m60b2WtzF3w/i4qsPsI X-Received: by 2002:a17:90b:8c1:b0:26d:d81:82fb with SMTP id ds1-20020a17090b08c100b0026d0d8182fbmr3789966pjb.29.1695252417915; Wed, 20 Sep 2023 16:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695252417; cv=none; d=google.com; s=arc-20160816; b=xbI/RNm1FY0d6IlpZAizNtmz8A//xJplWl4ZR3g8geaTkT/srORgJqQksDbiUThKO5 1YnfW2UcYXzSqN4C4RPpDhqIuJlEbprXy7+vFqqdXQsGYqvBgyy+tDvkdR5XWi+JNBLy SQ8WNf1UOTtwzn+JvVqS0DeyrgUV71tE8GBvL7SdGsQ3UPbnR188Kc1kOtGIuhcHNPN3 r5DUXWhoefsaqm3IpFt9OkQ68MMebX33NL4qEZukmbLZ1qEHtgXzPBks75x3071+lHzK gi9kgsQAW3P5MbyMMHB5zFIgtafu7IHqMaZqWwP+eyI62Ra5jUA23IPmAMJfhT3SqI7t NC9w== 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=3RWsqka5y+n3z712y56vrNdxFO4GCgD+sceIXglmDks=; fh=7xVGmcIgNDVpMZYb3ylvRS4C1p8MdQowy49CqYW43Kg=; b=Ce0vPXu7QO5XjFBnHqQ+ob+CxqCpJ6jKHTNV7+RzZP4RVceLE9wlo1RT+y6MObnG7o uSfhhbkbR+3j3QiNPXEEXv6LrP+j9mm0JsUEQQ9XkinidV2JgaGBst2jWUXW4sFJLil6 RYp7qip6XW6n/plgRcmgLOt9qAXotJMJ7cFfRnRfRi1Qg1zxOHnOLZPquvsJN9yWA8ru M9NsSJTMuexLbJW3FP5NSZLxxgqH5tlZhCHyepn9it+cig+/OJq6oGS1kUAs06Kfb88S CgOZjVOb00eSmGWVZcUeu2AOdUJZGS2U84o4vAi7A7pcqmBeUIMBWmSVwGjdYchfQKl8 2YdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b="L1M3tOO/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b12-20020a17090ae38c00b00263a923c189si268943pjz.100.2023.09.20.16.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 16:26:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b="L1M3tOO/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0E00B81DD7C3; Wed, 20 Sep 2023 13:11:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230208AbjITULL (ORCPT + 27 others); Wed, 20 Sep 2023 16:11:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230217AbjITULB (ORCPT ); Wed, 20 Sep 2023 16:11:01 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B35D9 for ; Wed, 20 Sep 2023 13:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=3RWsqka5y+n3z712y56vrNdxFO4GCgD+sceIXglmDks=; b=L1M3tO O/jXi1Bgmm9KQxTN/qtvjmI4ZHHHhBtUjI/U6Ku7VWu+zwfxs2JkOWCLznys+tn9 YWhiczea2nXTR+8xPhHSGjdNhvY/IE3clUHMxw2iSEsIyNlrlkFeyeasoFb9Cy/q RStJuKfZo9iwKM462tMTfwh9fGid5l7HzyxvX9L2pogCO0rwmple9s2Bexvyg1x+ Xix1iqCpkhlDsxFoNjDWdARy1Av0hpKwxbAWGlkKv9ezuyl47y/0VwzjalSI+oWU rcMys7cOLsD9gxC1gsMXogtKY5HmEoawEQ4lh4aOgkAPQ57OsfRtNBo2ApAq8188 xPYj96q7Y5sMmp2A== Received: (qmail 720355 invoked from network); 20 Sep 2023 22:10:47 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Sep 2023 22:10:47 +0200 X-UD-Smtp-Session: l3s3148p1@jCWV+M8FuMkujntX From: Wolfram Sang To: linux-mips@vger.kernel.org Cc: Jonas Gorski , Florian Fainelli , Wolfram Sang , Thomas Bogendoerfer , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] MIPS: AR7: remove platform Date: Wed, 20 Sep 2023 22:10:32 +0200 Message-Id: <20230920201035.3445-7-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> References: <20230920201035.3445-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 20 Sep 2023 13:11:16 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777600999258823479 X-GMAIL-MSGID: 1777600999258823479 After a discussion about removing VLYNQ support from the Kernel, it was concluded that its only user, the AR7 platform can go [1]. Even OpenWRT has removed support because these devices are "stuck with 3.18" [2]. [1] https://lore.kernel.org/r/3395161f-2543-46f0-83d9-b918800305e1@gmail.com [2] https://openwrt.org/docs/techref/targets/ar7 Suggested-by: Jonas Gorski Signed-off-by: Wolfram Sang Acked-by: Florian Fainelli --- arch/mips/Kbuild.platforms | 1 - arch/mips/Kconfig | 22 - arch/mips/ar7/Makefile | 11 - arch/mips/ar7/Platform | 5 - arch/mips/ar7/clock.c | 439 -------------- arch/mips/ar7/gpio.c | 332 ----------- arch/mips/ar7/irq.c | 165 ------ arch/mips/ar7/memory.c | 51 -- arch/mips/ar7/platform.c | 722 ------------------------ arch/mips/ar7/prom.c | 256 --------- arch/mips/ar7/setup.c | 93 --- arch/mips/ar7/time.c | 31 - arch/mips/boot/compressed/uart-16550.c | 5 - arch/mips/configs/ar7_defconfig | 119 ---- arch/mips/include/asm/mach-ar7/ar7.h | 191 ------- arch/mips/include/asm/mach-ar7/irq.h | 16 - arch/mips/include/asm/mach-ar7/prom.h | 12 - arch/mips/include/asm/mach-ar7/spaces.h | 22 - 18 files changed, 2493 deletions(-) delete mode 100644 arch/mips/ar7/Makefile delete mode 100644 arch/mips/ar7/Platform delete mode 100644 arch/mips/ar7/clock.c delete mode 100644 arch/mips/ar7/gpio.c delete mode 100644 arch/mips/ar7/irq.c delete mode 100644 arch/mips/ar7/memory.c delete mode 100644 arch/mips/ar7/platform.c delete mode 100644 arch/mips/ar7/prom.c delete mode 100644 arch/mips/ar7/setup.c delete mode 100644 arch/mips/ar7/time.c delete mode 100644 arch/mips/configs/ar7_defconfig delete mode 100644 arch/mips/include/asm/mach-ar7/ar7.h delete mode 100644 arch/mips/include/asm/mach-ar7/irq.h delete mode 100644 arch/mips/include/asm/mach-ar7/prom.h delete mode 100644 arch/mips/include/asm/mach-ar7/spaces.h diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index caad195ba5c1..a2311c4bce6a 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms @@ -2,7 +2,6 @@ # All platforms listed in alphabetic order platform-$(CONFIG_MIPS_ALCHEMY) += alchemy/ -platform-$(CONFIG_AR7) += ar7/ platform-$(CONFIG_ATH25) += ath25/ platform-$(CONFIG_ATH79) += ath79/ platform-$(CONFIG_BCM47XX) += bcm47xx/ diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index bc8421859006..76db82542519 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -202,28 +202,6 @@ config MIPS_ALCHEMY select SYS_SUPPORTS_ZBOOT select COMMON_CLK -config AR7 - bool "Texas Instruments AR7" - select BOOT_ELF32 - select COMMON_CLK - select DMA_NONCOHERENT - select CEVT_R4K - select CSRC_R4K - select IRQ_MIPS_CPU - select NO_EXCEPT_FILL - select SWAP_IO_SPACE - select SYS_HAS_CPU_MIPS32_R1 - select SYS_HAS_EARLY_PRINTK - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_SUPPORTS_MIPS16 - select SYS_SUPPORTS_ZBOOT_UART16550 - select GPIOLIB - select VLYNQ - help - Support for the Texas Instruments AR7 System-on-a-Chip - family: TNETD7100, 7200 and 7300. - config ATH25 bool "Atheros AR231x/AR531x SoC support" select CEVT_R4K diff --git a/arch/mips/ar7/Makefile b/arch/mips/ar7/Makefile deleted file mode 100644 index cd51c6c6e686..000000000000 diff --git a/arch/mips/ar7/Platform b/arch/mips/ar7/Platform deleted file mode 100644 index a9257cc01c3c..000000000000 diff --git a/arch/mips/ar7/clock.c b/arch/mips/ar7/clock.c deleted file mode 100644 index c717acbc5506..000000000000 diff --git a/arch/mips/ar7/gpio.c b/arch/mips/ar7/gpio.c deleted file mode 100644 index 4ed833b9cc2f..000000000000 diff --git a/arch/mips/ar7/irq.c b/arch/mips/ar7/irq.c deleted file mode 100644 index f0a7942d393e..000000000000 diff --git a/arch/mips/ar7/memory.c b/arch/mips/ar7/memory.c deleted file mode 100644 index ce8024c1a54e..000000000000 diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c deleted file mode 100644 index 215149a85d83..000000000000 diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c deleted file mode 100644 index 5810d3993fc6..000000000000 diff --git a/arch/mips/ar7/setup.c b/arch/mips/ar7/setup.c deleted file mode 100644 index 352d5dbc777c..000000000000 diff --git a/arch/mips/ar7/time.c b/arch/mips/ar7/time.c deleted file mode 100644 index 72aa77d7087b..000000000000 diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c index 96d28f211121..09dcd2c561d9 100644 --- a/arch/mips/boot/compressed/uart-16550.c +++ b/arch/mips/boot/compressed/uart-16550.c @@ -13,11 +13,6 @@ #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) #endif -#ifdef CONFIG_AR7 -#include -#define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) -#endif - #ifdef CONFIG_MACH_INGENIC #define INGENIC_UART_BASE_ADDR (0x10030000 + 0x1000 * CONFIG_ZBOOT_INGENIC_UART) #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) diff --git a/arch/mips/configs/ar7_defconfig b/arch/mips/configs/ar7_defconfig deleted file mode 100644 index 329c60aa570a..000000000000 diff --git a/arch/mips/include/asm/mach-ar7/ar7.h b/arch/mips/include/asm/mach-ar7/ar7.h deleted file mode 100644 index 1e8621a6afa3..000000000000 diff --git a/arch/mips/include/asm/mach-ar7/irq.h b/arch/mips/include/asm/mach-ar7/irq.h deleted file mode 100644 index 46bb730ea970..000000000000 diff --git a/arch/mips/include/asm/mach-ar7/prom.h b/arch/mips/include/asm/mach-ar7/prom.h deleted file mode 100644 index 9e1d20b06f57..000000000000 diff --git a/arch/mips/include/asm/mach-ar7/spaces.h b/arch/mips/include/asm/mach-ar7/spaces.h deleted file mode 100644 index a004d94dfbdd..000000000000