> > > Yes. But this driver may be used in the future for other RCs that > > > include more than one Root Port, and it would be good if that didn't > > > require structural changes to the DT. Also, there are RCs from > > > other vendors that include more than one Root Port, and I'd like all > > > the DTs and drivers to have similar structure. > > > > Thanks. > > Is the "pciec" node in arch/arm/boot/dts/marvell/armada-385.dtsi > > what you said? Or could you provide some examples for us to modify > > our pcie rc node? > > Here are some examples of DT bindings and corresponding driver code: > > * drivers/pci/controller/dwc/pcie-kirin.c > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docume > ntation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml?id=v6.16-rc1#n108 > > kirin_pcie_parse_port(): > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ > pci/controller/dwc/pcie-kirin.c?id=v6.16-rc1#n399 > > * drivers/pci/controller/pci-mvebu.c > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docume > ntation/devicetree/bindings/pci/marvell,kirkwood-pcie.yaml?id=v6.16-rc1#n12 > 5 > > mvebu_pcie_parse_port(): > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ > pci/controller/pci-mvebu.c?id=v6.16-rc1#n1252 > > * drivers/pci/controller/pcie-mt7621.c > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docume > ntation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml?id=v6.16-rc1#n11 > 1 > > mt7621_pcie_parse_port(): > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ > pci/controller/pcie-mt7621.c.c?id=v6.16-rc1#n198 > > * drivers/pci/controller/pcie-mediatek.c > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docume > ntation/devicetree/bindings/pci/mediatek-pcie.txt?id=v6.16-rc1#n85 > > mtk_pcie_parse_port(): > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ > pci/controller/pcie-mediatek.c.c?id=v6.16-rc1#n909 Thank you for your information. I will try to refactor our driver in next version. Thanks, Jacky