summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSai Krishna Musham <sai.krishna.musham@amd.com>2026-08-18 21:07:55 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2026-08-31 15:41:17 +0200
commitb428bc9a1532e6f2616242ce8425fa271331726b (patch)
treed42a33089771e677e80827b0b32f6e79bd3ebbc4 /tools/lib/python
parent23a2ecf60eb60d3b110957ea1d50ab590b4fdf77 (diff)
downloadlinux-next-b428bc9a1532e6f2616242ce8425fa271331726b.tar.gz
linux-next-b428bc9a1532e6f2616242ce8425fa271331726b.zip
PCI: xilinx-cpm: Add support for PCIe RP PERST# signal
Add support for the PCIe Root Port PERST# signal using the GPIO framework, along with the PCIe IP reset. This reset is managed by the driver and occurs after the Initial Power Up sequence (PCIe CEM r6.0, 2.2.1) is handled in hardware before the driver's probe function is called. This is useful in warm reset scenarios where the power rails stay stable and only PERST# is toggled. Applying both the IP reset and PERST# resets the Root Port controller and Endpoint synchronously, improving reliability and avoiding lane errors. Both the reset GPIO and the reset controller are optional to keep backward compatibility with existing DTBs. Also add a PCIE_T_PERST_US (100 us) macro in pci.h for the PERST# active time (PCIe CEM r6.0, sec 2.11.2, "T_PERST"). As part of this, update the interrupt controller node parsing to use of_get_child_by_name() instead of of_get_next_child(), since the PCIe host bridge node now has multiple children. This ensures the correct node is selected during initialization. Signed-off-by: Sai Krishna Musham <sai.krishna.musham@amd.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Link: https://patch.msgid.link/20260818153755.3801111-3-sai.krishna.musham@amd.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions