From patchwork Fri Sep 22 06:15:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13394976 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3A97E7D0CD for ; Fri, 22 Sep 2023 06:15:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbjIVGPv (ORCPT ); Fri, 22 Sep 2023 02:15:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjIVGPu (ORCPT ); Fri, 22 Sep 2023 02:15:50 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C87C4114 for ; Thu, 21 Sep 2023 23:15:42 -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=nGiTOBkXg0QBYNNKE4GjU+gPswwukGG0RFc1y0f8fGU=; b=WJj01S aViU5JPWr1bKFd1swE8SLjVGyswEKVVFC054eqFF8ijl3j34fim8fec4qrwnQ2Wx jPio/PtCpg2qbTbYlA3GXv2jOKvZ/t1rBU/p981kpUfJ3T/ZTmSrLh3xQyz6hmfk tCqcMVAwp5zX59OE0kyPtYJ2lH4de5DsTB31AttO5Ic0KuAxHlcHR51EOpAUKEpq V76M7i7cRcdPWif5aAQuttwjy+/fnMoKeo5MAbqzpDc6BrrGxpU4Z/hUaCcOxxKM y0XlUUw/1LNJfEP9uEX8R/KkAiR3x9Tfsp4esgKSG5VMBZIDn9gpigrMp65AWPy6 ivAkuJD/COMIHwDw== Received: (qmail 1269022 invoked from network); 22 Sep 2023 08:15:40 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Sep 2023 08:15:40 +0200 X-UD-Smtp-Session: l3s3148p1@2qKjiewF8JkujntX 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 v2 1/6] serial: 8250: remove AR7 support Date: Fri, 22 Sep 2023 08:15:22 +0200 Message-Id: <20230922061530.3121-2-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230922061530.3121-1-wsa+renesas@sang-engineering.com> References: <20230922061530.3121-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org 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 --- Changes since v1: * added acks * kept uapi define for for serial port type drivers/tty/serial/8250/8250_port.c | 7 ------- 1 file changed, 7 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,