summaryrefslogtreecommitdiff
path: root/Documentation/PCI/controller/pci-controller-drivers.rst
AgeCommit message (Collapse)Author
2026-08-12Documentation: PCI: Document how to write PCI Host Controller driversManivannan Sadhasivam
Writing a PCI Host Controller driver requires bringing up the Root Complex hardware and registering it with the PCI core in a specific sequence. Add a guide describing these steps to help developers write new drivers. It covers the Root Complex topology and enumeration, and walks through the driver flow, including resource setup, Configuration Space accessors, address translation, interrupt handling, Link training, power management, shutdown and removal, using standard guidelines/best practices. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260803-pci-doc-v1-1-2814f8672cad@oss.qualcomm.com