summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPraveen Talari <quic_ptalari@quicinc.com>2025-07-21 23:15:31 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-22 18:52:51 +0200
commit1afa70632c390488308d8e94e037df6895a3e1ac (patch)
treea893333a2e375da97837f04dc3589a109ed12815 /tools/perf/scripts/python/export-to-sqlite.py
parent5893e62d46bce4ff2e0bc422c0957539d36e0f06 (diff)
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 <bryan.odonoghue@linaro.org> Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com> Link: https://lore.kernel.org/r/20250721174532.14022-8-quic_ptalari@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions