pci_endpoint: pci_cdns_ti_ep: Add delay after power domain reset

Add a 1ms delay after powering on the PCIe power domain to ensure
the controller stabilizes before subsequent operations. This prevents
potential timing issues during PCIe endpoint initialization.

The delay allows sufficient time for the power domain to fully come
up and the hardware to be in a stable state before configuration
begins.

Signed-off-by: Hrushikesh Salunke <h-salunke@ti.com>
This commit is contained in:
Hrushikesh Salunke
2025-10-23 17:16:01 +05:30
committed by Tom Rini
parent b10c055d4e
commit 352214e8b2

View File

@@ -20,6 +20,7 @@
#include <regmap.h>
#include <syscon.h>
#include <pci_ep.h>
#include <linux/delay.h>
#include "pcie-cadence.h"
@@ -90,7 +91,7 @@ static int pcie_cdns_reset(struct udevice *dev, struct power_domain *pci_pwrdmn)
dev_err(dev, "failed to power on: %d\n", ret);
return ret;
}
mdelay(1);
return 0;
}