Thread (5 messages) 5 messages, 2 authors, 2025-12-22

Re: [External] : [PATCH v8 2/2] PCI: eic7700: Add Eswin PCIe host controller driver

From: ALOK TIWARI <hidden>
Date: 2025-12-15 11:00:00
Also in: linux-pci, lkml


On 12/15/2025 3:32 PM, zhangsenchuan@eswincomputing.com wrote:
+	/*
+	 * TODO: Since the Root Port node is separated out by pcie devicetree,
+	 * the DWC core initialization code can't parse the num-lanes attribute
+	 * in the Root Port. Before entering the DWC core initialization code,
+	 * the platform driver code parses the Root Port node. The EIC7700 only
+	 * supports one Root Port node, and the num-lanes attribute is suitable
+	 * for the case of one Root Rort.
Rort -> Port
+	 */
+	if (!of_property_read_u32(node, "num-lanes", &port->num_lanes))
+		pcie->pci.num_lanes = port->num_lanes;
+

Thanks,
Alok
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help