aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorPraveen Talari <[email protected]>2025-07-21 17:45:31 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-22 16:52:51 +0000
commit1afa70632c390488308d8e94e037df6895a3e1ac (patch)
treea893333a2e375da97837f04dc3589a109ed12815 /rust/helpers/xarray.c
parentserial: qcom-geni: move clock-rate logic to separate function (diff)
downloadkernel-1afa70632c390488308d8e94e037df6895a3e1ac.tar.gz
kernel-1afa70632c390488308d8e94e037df6895a3e1ac.zip
serial: qcom-geni: Enable PM runtime for serial driver
The GENI serial driver currently handles power resource management through calls to the statically defined geni_serial_resources_on() and geni_serial_resources_off() functions. This approach reduces modularity and limits support for platforms with diverse power management mechanisms, including resource managed by firmware. Improve modularity and enable better integration with platform-specific power management, introduce support for runtime PM. Use pm_runtime_resume_and_get() and pm_runtime_put_sync() within the qcom_geni_serial_pm() callback to control resource power state transitions based on UART power state changes. Reviewed-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Praveen Talari <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions