public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] serial: qcom-geni: Add support to increase UART ports efficiently
@ 2025-08-12  5:48 Zong Jiang
  2025-08-12  5:48 ` [PATCH 1/2] serial: qcom-geni: Dynamically allocate UART ports Zong Jiang
  2025-08-12  5:48 ` [PATCH 2/2] serial: qcom-geni: Make UART port count configurable via Kconfig Zong Jiang
  0 siblings, 2 replies; 5+ messages in thread
From: Zong Jiang @ 2025-08-12  5:48 UTC (permalink / raw)
  To: gregkh, linux-serial, linux-kernel
  Cc: quic_ztu, quic_anupkulk, quic_msavaliy, quic_vdadhani, Zong Jiang

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@quicinc.com> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-13  6:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12  5:48 [PATCH v2 0/2] serial: qcom-geni: Add support to increase UART ports efficiently Zong Jiang
2025-08-12  5:48 ` [PATCH 1/2] serial: qcom-geni: Dynamically allocate UART ports Zong Jiang
2025-08-12  5:48 ` [PATCH 2/2] serial: qcom-geni: Make UART port count configurable via Kconfig Zong Jiang
2025-08-12  6:29   ` Greg KH
2025-08-13  6:51     ` Zong Jiang (QUIC)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox