Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1721934rdd; Thu, 11 Jan 2024 07:28:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFH9KuxVK5nt/6JbiHiEb4j0p6XQekx/tdjE8tNiI5EMrCT1HuHb1qYrb4mYuGfZGzLkion X-Received: by 2002:a05:6a00:1884:b0:6d9:9003:e2cd with SMTP id x4-20020a056a00188400b006d99003e2cdmr1739427pfh.41.1704986881775; Thu, 11 Jan 2024 07:28:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704986881; cv=none; d=google.com; s=arc-20160816; b=u3ydtH4WgXjTYLi4AOCnJizXf+1nPFehC8ec1q8149fZ0sHpVf7FIuz0dgJ3mvO8MV UYAWfkGkbQlC6MUGaAw/LxcgCD5b7r9am7KoSBiYJEffaMxUPDHV7jrPP8nUAVOmD3n7 zTOaHf73gok7u2VkXIaoRS8Tvu1gED9ebMsjqbCD/oJ0BOvAWHyKyYf3Q/ZYIay5RYt+ 1Z8XQNXSefezs+TUCTmWJFiYBoQ2+zI7zN/YKTeivUtn8FGKPHsYYEoUmKAOn+8EbCgh ILZaSw6jhDzPZX3tzVwJIbKynM0IL3F8X93Sysp+rAWcfvh8AnI+M/xW99vGnk4kiEkY 7DXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=1deQdmTqX7yvTY+HLhspiIy5iCUdj8XB/YeKjSPXot8=; fh=bEiFvm1oFETnhthfmRO1fO/Guwyf6Wl65aY9TwW5Pe0=; b=cZvExIccrjKvc4mkADbe2TgrVizw7N8wF0pqeJs+NOrlkMr12kNAYRcgU4Zm9RmGlq MTrFGXGbB+uzmLyB4UNs4bgasbCKgzo/3DTO2XB91AN/eoqFBCg+oZ0brfhaHvgTFMdw keIb7cbe6ZGqKKVTH25OqaP+goV9+h6JP3OxZUHI7i6MvhbC/ql+XdfoYtUBbtebGnId 3WkfEZvbaWSAkWXf0ybOIVdwUW/GXyIzHbVK2ljeMVJ59cfzjhuGJtBwJMeU0lJ36TVB By9UPcOcB9AK3U6l/H0cSpttqke8BEaDL1Kduy9yR+MWGTEkv0rJmRVgIgHg9vXlsnFM D2DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=30FRbasu; spf=pass (google.com: domain of linux-kernel+bounces-23788-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bw2-20020a056a02048200b005cd881447basi1451512pgb.652.2024.01.11.07.28.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 07:28:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23788-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=30FRbasu; spf=pass (google.com: domain of linux-kernel+bounces-23788-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1C0E8B21AD3 for ; Thu, 11 Jan 2024 15:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 925814CB44; Thu, 11 Jan 2024 15:27:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="30FRbasu" Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 313EC4F1E1; Thu, 11 Jan 2024 15:27:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40B9nMTw003690; Thu, 11 Jan 2024 16:27:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=1deQdmT qX7yvTY+HLhspiIy5iCUdj8XB/YeKjSPXot8=; b=30FRbasu7DkFXJnSlhhw/Rr HGATZR/Zg2fPCI4knS8oJzvZYod6BUQfgSbMj8U0qM5EllsAr1VndHTR6X0O/GZM 8ZnnlSAw/7qaat92mKGAjoqyxnsq/+oqbzfEM1QazRy/vl/2CDz+gGNNOrZqSRhL 9bdK03aG4VGMfI6GSsHKKqXwvUwXECDsKUZVwQR1YH/DytWqhZ1nByxjnBWoYy1u hd9uUgZP9GaZjqgtBpB3Z/9mIFK0kYaY/CMUbL7EWLatmIaR/VWj854O+bhIoHqI cVcByap0yrScDsQFbBeY2PyDEyxw4slz3/bjE+CJbJTcSESjhUV2Nex00xKZHsg= = Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3vfjpp3fer-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jan 2024 16:27:35 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8336B10004D; Thu, 11 Jan 2024 16:27:34 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 79AB9290CC6; Thu, 11 Jan 2024 16:27:34 +0100 (CET) Received: from localhost (10.201.21.102) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 11 Jan 2024 16:27:34 +0100 From: Valentin Caron To: Greg Kroah-Hartman , Jiri Slaby CC: Alexandre Torgue , , , , , Valentin Caron Subject: [PATCH 0/4] serial: stm32: improve driver for stm32mp25 Date: Thu, 11 Jan 2024 16:27:08 +0100 Message-ID: <20240111152712.1842790-1-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-05_08,2024-01-05_01,2023-05-22_02 STM32MP25 got the same serial hardware block as STM32MP1x but with two improvements: - TX and RX FIFO have been extended to 64 bytes. - one instance more than in STM32MP1x series. Valentin Caron (4): serial: stm32: implement prescaler tuning to compute low baudrate serial: stm32: extend max number of U(S)ART to 9 serial: stm32: change register's offset type from u8 to u16 serial: stm32: get FIFO size from hwcfg register drivers/tty/serial/stm32-usart.c | 222 +++++++++++++++++++------------ drivers/tty/serial/stm32-usart.h | 38 ++++-- 2 files changed, 159 insertions(+), 101 deletions(-) -- 2.25.1