]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: qcom-ep: Add support for firmware-managed PCIe Endpoint
authorMrinmay Sarkar <mrinmay.sarkar@oss.qualcomm.com>
Tue, 6 Jan 2026 12:34:46 +0000 (18:04 +0530)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 13 Jan 2026 15:06:37 +0000 (20:36 +0530)
commit5b026a9e714d33bb61f6041b9e1bffa2dcc66ff6
treede4f8a78d909a53bcc0bbbfdc3f82583b30ed4bc
parent20165a8ac68ff375e4955b3f9fda0404229131bd
PCI: qcom-ep: Add support for firmware-managed PCIe Endpoint

Some Qualcomm platforms use firmware to manage PCIe resources such as
clocks, resets, and PHY through the SCMI interface. In these cases,
the Linux driver should not perform resource enable or disable
operations directly.

So introduce a `firmware_managed` flag in 'struct qcom_pcie_ep_cfg', and
set it to true for SA8255p SoC. When this flag is set, the driver will skip
the resource handling and rely on runtime PM APIs to let the firmware
handle the resources with the help of power domain.

Signed-off-by: Mrinmay Sarkar <mrinmay.sarkar@oss.qualcomm.com>
[mani: reworded description and tiny code cleanup]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260106-firmware_managed_ep-v5-2-1933432127ec@oss.qualcomm.com
drivers/pci/controller/dwc/pcie-qcom-ep.c