[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250812054819.3748649-1-quic_zongjian@quicinc.com>
Date: Tue, 12 Aug 2025 13:48:17 +0800
From: Zong Jiang <quic_zongjian@...cinc.com>
To: <gregkh@...uxfoundation.org>, <linux-serial@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <quic_ztu@...cinc.com>, <quic_anupkulk@...cinc.com>,
<quic_msavaliy@...cinc.com>, <quic_vdadhani@...cinc.com>,
Zong Jiang
<quic_zongjian@...cinc.com>
Subject: [PATCH v2 0/2] serial: qcom-geni: Add support to increase UART ports efficiently
This patch series improves the flexibility and scalability of the
Qualcomm GENI serial driver by refactoring UART port allocation and
introducing a Kconfig option to configure the number of supported
UART ports.
Changes since v1:
- Based on Greg KH's comments, the following changes have been made in v2:
- Split the original patch into two separate patches.
- Replaced static UART port allocation with dynamic allocation.
- Added a Kconfig option to configure UART port count.
- Improved commit messages and changelog to better justify the changes.
Patch 1 replaces the hardcoded static array of UART ports with dynamic
allocation, reducing memory usage and improving maintainability.
Patch 2 introduces a new Kconfig option,
SERIAL_QCOM_GENI_UART_PORTS, allowing platforms to configure the
maximum number of UART ports at build time.
These changes are useful for platforms that require more than the
previously hardcoded number of UART ports, and help avoid unnecessary
allocation for unused ports.
Patch summary:
[PATCH v2 1/2] serial: qcom-geni: Dynamically allocate UART ports
[PATCH v2 2/2] serial: qcom-geni: Make UART port count configurable via Kconfig
Signed-off-by: Zong Jiang <quic_zongjian@...cinc.com>
Powered by blists - more mailing lists