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

From: ALOK TIWARI

Date: Mon Dec 15 2025 - 06:00:00 EST




On 12/15/2025 3:32 PM, zhangsenchuan@xxxxxxxxxxxxxxxxxx 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