[PATCH 0/5] pci: Use dev_read/dev_remap APIs

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue May 26 10:09:08 CEST 2026


Convert PCI drivers from legacy devfdt_* and fdtdec_* interfaces to
dev_read_* and dev_remap_* APIs, enabling support for both live device
tree and flat DT while removing dependency on global FDT access.

No functional changes.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
Peng Fan (5):
      pci: rcar: Use dev_read_addr_index()
      pci: mpc85xx: Simplfy code with dev_remap_addr()
      pci: dw_mvebu: Use dev_read_addr_x APIs
      pci: imx: Use dev_read_addr_index_ptr()
      pci: layerscape: ep: Use dev APIs

 drivers/pci/pci-rcar-gen2.c      |  7 ++++---
 drivers/pci/pci-rcar-gen3.c      |  5 +++--
 drivers/pci/pci_mpc85xx.c        | 11 ++++++-----
 drivers/pci/pcie_dw_mvebu.c      |  5 ++---
 drivers/pci/pcie_imx.c           |  4 ++--
 drivers/pci/pcie_layerscape.h    |  3 ++-
 drivers/pci/pcie_layerscape_ep.c | 24 +++++++-----------------
 7 files changed, 26 insertions(+), 33 deletions(-)
---
base-commit: bb354d04459f5425318aeb8a70bae995ee573f1d
change-id: 20260526-devfdt-pci-415dd0cf6e70

Best regards,
-- 
Peng Fan <peng.fan at nxp.com>



More information about the U-Boot mailing list