]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: qcom-geni: Enable Serial on SA8255p Qualcomm platforms
authorPraveen Talari <quic_ptalari@quicinc.com>
Mon, 21 Jul 2025 17:45:32 +0000 (23:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2025 16:52:51 +0000 (18:52 +0200)
commit86fa39dd6fb700c97606695b6ca40ff48ee323e9
treeb60d8f2e3a0a60eb7c0cb7dfa46d64bc7b138524
parent1afa70632c390488308d8e94e037df6895a3e1ac
serial: qcom-geni: Enable Serial on SA8255p Qualcomm platforms

The Qualcomm automotive SA8255p SoC relies on firmware to configure
platform resources, including clocks, interconnects and TLMM.
The driver requests resources operations over SCMI using power
and performance protocols.

The SCMI power protocol enables or disables resources like clocks,
interconnect paths, and TLMM (GPIOs) using runtime PM framework APIs,
such as resume/suspend, to control power states(on/off).

The SCMI performance protocol manages UART baud rates, with each baud
rate represented by a performance level. The driver uses the
dev_pm_opp_set_level() API to request the desired baud rate by
specifying the performance level.

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-9-quic_ptalari@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c