[PATCH v2 0/3] serial: qcom-geni: Reuse common GENI framework helpers
Praveen Talari <[email protected]> Sat, 01 Aug 2026 11:18:14 +0530
| Newsgroups | gmane.linux.serial,gmane.linux.ports.arm.msm,gmane.linux.kernel |
|---|---|
| Message-ID | <20260801-reuse_common_geni_framework_helpers-v2-0-13753256ef71@oss.qualcomm.com> |
The Serial driver currently maintains several helpers that duplicate functionality already available in the GENI core, including resource initialisation, power-domain attachment, runtime PM resource management, and perf-level selection. Replace these with common GENI helper APIs for resource initialization, runtime PM resource management, and performance-level configuration. This reduces code duplication and centralizes GENI resource handling. Signed-off-by: Praveen Talari <[email protected]> --- Changes in v2: - Rebased on tty-next tree. - Link to v1: https://patch.msgid.link/20260720-reuse_common_geni_framework_helpers-v1-0-c3330ab9b982@oss.qualcomm.com --- Praveen Talari (3): serial: qcom-geni: Use common GENI resource initialisation helpers serial: qcom-geni: Use resources helper APIs in runtime PM functions serial: qcom-geni: Use geni_se_set_perf_level() for baud rate perf level drivers/tty/serial/qcom_geni_serial.c | 204 ++++++---------------------------- 1 file changed, 34 insertions(+), 170 deletions(-) --- base-commit: 8200871327d1bd4c08daf248a8693a3093982fa4 change-id: 20260720-reuse_common_geni_framework_helpers-787081bd61a7 Best regards, -- Praveen Talari <[email protected]>