From nobody Mon Dec 1 22:38:17 2025 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97A9D310650 for ; Sat, 29 Nov 2025 16:43:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764434622; cv=none; b=VcyCKCfEvQ0w07l5gv0T5vFzT+BgEDxaEh2UJ4lr6GkLkTTV2hHzhGVqn5XUdNp2qTlhkzCZohEplG/uZYc6GYi4oiaogHGcx4ZJ/u1Gk+aBlRuakOsib0dHJFpViQFGeWMgRh6rrURJfh0KG9cChHmiK0sSqe0s1tNAILIebsg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764434622; c=relaxed/simple; bh=XBCrxsQYf937Ejr2N6MWvDWdvNJ4u/5LwtUrX9xN2ns=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tppye27qc8X5txCzUNj8FfgZr5bb0uqiHz0+xatgUd1YQAMoJoXCUG7aAMCqDwzpW3pKD5jtL8d+mHzxdbFhfXFwlVuKMHwGIhIV2bGJbvZV9wa8+zmEQSTG0HBZV+IwGE09JkOovLSt7D3KkOjYFdhShQI63j/IbFGbU94IZdM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dYI4GNMr; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dYI4GNMr" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42b3c965df5so1596386f8f.1 for ; Sat, 29 Nov 2025 08:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764434616; x=1765039416; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wDyWAV+ePALrOqExfIXtV1JBjB1ek/toSMQSyUnW1y4=; b=dYI4GNMr3A76XDJhbPAt4GOBUnB1ia9zWpmdfMt2kkwn2IeBi1r/nFKCw5pCq1ULTp I4DBVYj3zhrn1BfjDyFUahB7qGhKo1mkbsh33CGwLJH3T8Wlg1N8PDg2EOb6P+LeBT/r IfkcwU4Pj2NoqtMEjuh3UWr+UU8OkUMYKCSoLdFmInfKiRVxnuDIkcwK4eK+le3He6gh Io+4Ck0zSeE3x4e7T456FZUkKHpkdFxDcIXsy5pwrWkr268WZmOFU4jxiLP9YcaXGdnd 2HvF2o+z3TFITrRBDU9nX7PJeBzwA5QdPWZ3nlFjZbTRvxwsbzxb7/EKfUn3/hCt8PPS weEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764434616; x=1765039416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wDyWAV+ePALrOqExfIXtV1JBjB1ek/toSMQSyUnW1y4=; b=hRfhjMttkcx4ycKYzEirqZfurrgVoIjdfsovVnuFTRnAqY5Fnlrlxy+BuKqmJHZREZ UOMEklt0MaDVL8pyGBnnzv7EbL91eCZR3BT56Lirbxukav5AGorSPxViHOrJC+cn0bYL /yu15kv6nm3ME+1HlwhHkLy1L3tVA64dAxjnGW5n7rFXMHbYEJZ4OUe8VY5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 with SMTP id ffacd0b85a97d-42e0f1e3610mr20339350f8f.3.1764434616034; Sat, 29 Nov 2025 08:43:36 -0800 (PST) Received: from localhost.localdomain (host86-162-200-138.range86-162.btcentralplus.com. [86.162.200.138]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42e1ca4078csm15970060f8f.29.2025.11.29.08.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Nov 2025 08:43:35 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: Biju Das , Wolfram Sang , Lad Prabhakar , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das Subject: [PATCH v5 11/17] serial: sh-sci: Rename port SCI_PORT_RSCI->RSCI_PORT_SCIF16 Date: Sat, 29 Nov 2025 16:43:07 +0000 Message-ID: <20251129164325.209213-12-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251129164325.209213-1-biju.das.jz@bp.renesas.com> References: <20251129164325.209213-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Biju Das Rename port SCI_PORT_RSCI->RSCI_PORT_SCIF16 to differentiate it from RZ/G3E port that has 32-stage FIFO. Signed-off-by: Biju Das --- v4->v5: * No change. v4: * New patch. --- drivers/tty/serial/rsci.c | 2 +- drivers/tty/serial/sh-sci-common.h | 2 +- drivers/tty/serial/sh-sci.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/rsci.c b/drivers/tty/serial/rsci.c index 5a58c783fe8c..7f4cb04daeeb 100644 --- a/drivers/tty/serial/rsci.c +++ b/drivers/tty/serial/rsci.c @@ -462,7 +462,7 @@ static const struct sci_port_ops rsci_port_ops =3D { }; =20 struct sci_of_data of_sci_rsci_data =3D { - .type =3D SCI_PORT_RSCI, + .type =3D RSCI_PORT_SCIF16, .ops =3D &rsci_port_ops, .uart_ops =3D &rsci_uart_ops, .params =3D &rsci_port_params, diff --git a/drivers/tty/serial/sh-sci-common.h b/drivers/tty/serial/sh-sci= -common.h index e3c028df14f1..1b9480c7f4cb 100644 --- a/drivers/tty/serial/sh-sci-common.h +++ b/drivers/tty/serial/sh-sci-common.h @@ -7,7 +7,7 @@ =20 /* Private port IDs */ enum SCI_PORT_TYPE { - SCI_PORT_RSCI =3D BIT(7) | 0, + RSCI_PORT_SCIF16 =3D BIT(7) | 0, }; =20 enum SCI_CLKS { diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index b7fef518a2b8..624ef41701f2 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -1184,7 +1184,7 @@ static int sci_handle_errors(struct uart_port *port) =20 static bool sci_is_rsci_type(u8 type) { - return (type =3D=3D SCI_PORT_RSCI); + return (type =3D=3D RSCI_PORT_SCIF16); } =20 static int sci_handle_fifo_overrun(struct uart_port *port) @@ -3178,7 +3178,7 @@ static int sci_init_clocks(struct sci_port *sci_port,= struct device *dev) =20 if (sci_port->type =3D=3D PORT_HSCIF) { clk_names[SCI_SCK] =3D "hsck"; - } else if (sci_port->type =3D=3D SCI_PORT_RSCI) { + } else if (sci_port->type =3D=3D RSCI_PORT_SCIF16) { clk_names[SCI_FCK] =3D "operation"; clk_names[SCI_BRG_INT] =3D "bus"; } @@ -3190,7 +3190,7 @@ static int sci_init_clocks(struct sci_port *sci_port,= struct device *dev) if (IS_ERR(clk)) return PTR_ERR(clk); =20 - if (!clk && sci_port->type =3D=3D SCI_PORT_RSCI && + if (!clk && sci_port->type =3D=3D RSCI_PORT_SCIF16 && (i =3D=3D SCI_FCK || i =3D=3D SCI_BRG_INT)) return dev_err_probe(dev, -ENODEV, "failed to get %s\n", name); =20 @@ -3328,7 +3328,7 @@ static int sci_init_single(struct platform_device *de= v, else sci_port->rx_trigger =3D 8; break; - case SCI_PORT_RSCI: + case RSCI_PORT_SCIF16: sci_port->rx_trigger =3D 16; break; default: --=20 2.43.0