[PATCH v3 00/13] PCI: imx6: Clean up and add imx95 pci support

From: Frank Li
Date: Mon Dec 11 2023 - 16:59:30 EST


first 6 patches use drvdata: flags to simplify some switch-case code.
Improve maintaince and easy to read code.

Then add imx95 basic pci host function.

follow two patch do endpoint code clean up.
Then add imx95 basic endpont function.

Compared with v2, added EP function support and some fixes, please change
notes at each patches.

Frank Li (12):
PCI: imx6: Simplify clock handling by using HAS_CLK_* bitmask
PCI: imx6: Simplify phy handling by using by using
IMX6_PCIE_FLAG_HAS_PHY
PCI: imx6: Simplify reset handling by using by using
*_FLAG_HAS_*_RESET
PCI: imx6: Using "linux,pci-domain" as slot ID
PCI: imx6: Simplify ltssm_enable() by using ltssm_off and ltssm_mask
PCI: imx6: Simplify configure_type() by using mode_off and mode_mask
PCI: imx6: Simplify switch-case logic by involve init_phy callback
PCI: imx6: Add iMX95 PCIe support
PCI: imx6: Clean up get addr_space code
PCI: imx6: Add epc_features in imx6_pcie_drvdata
dt-bindings: imx6q-pcie: Add iMX95 pcie endpoint compatible string
PCI: imx6: Add iMX95 Endpoint (EP) function support

Richard Zhu (1):
dt-bindings: imx6q-pcie: Add imx95 pcie compatible string

.../bindings/pci/fsl,imx6q-pcie-ep.yaml | 20 +
.../bindings/pci/fsl,imx6q-pcie.yaml | 18 +
drivers/pci/controller/dwc/pci-imx6.c | 578 +++++++++++-------
3 files changed, 393 insertions(+), 223 deletions(-)

--
2.34.1