summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-stm32.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2025-12-03 14:18:45 -0600
committerBjorn Helgaas <bhelgaas@google.com>2025-12-03 14:18:45 -0600
commit7a13e837d20f7b02304df596fdcf63dc7ef05d59 (patch)
tree958ecd66ae5956b963876f648c5c0018595e1293 /drivers/pci/controller/dwc/pcie-stm32.c
parent388f9a600f10000b15fbfa2ee748530b4876db78 (diff)
parentcfa3c76e059a2ed134f8da4ab8d2f46e3582b94e (diff)
Merge branch 'pci/controller/stm32'
- Fix a race between link training and endpoint register initialization (Christian Bruel) - Align endpoint allocations to match the ATU requirements (Christian Bruel) - Add #includes to avoid depending on 'proxy' headers (Andy Shevchenko) * pci/controller/stm32: PCI: stm32: Don't use 'proxy' headers PCI: stm32: Fix EP page_size alignment PCI: stm32: Fix LTSSM EP race with start link
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-stm32.c')
-rw-r--r--drivers/pci/controller/dwc/pcie-stm32.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-stm32.c b/drivers/pci/controller/dwc/pcie-stm32.c
index 96a5fb893af4..a9e77478443b 100644
--- a/drivers/pci/controller/dwc/pcie-stm32.c
+++ b/drivers/pci/controller/dwc/pcie-stm32.c
@@ -7,18 +7,30 @@
*/
#include <linux/clk.h>
+#include <linux/delay.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/gpio/consumer.h>
+#include <linux/irq.h>
#include <linux/mfd/syscon.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/phy/phy.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_device.h>
+#include <linux/pm.h>
#include <linux/pm_runtime.h>
#include <linux/pm_wakeirq.h>
#include <linux/regmap.h>
#include <linux/reset.h>
+#include <linux/stddef.h>
+
+#include "../../pci.h"
+
#include "pcie-designware.h"
#include "pcie-stm32.h"
-#include "../../pci.h"
struct stm32_pcie {
struct dw_pcie pci;