[PATCH 0/9] PCI: imx6: Clean up and add imx95 pci support

From: Frank Li
Date: Wed Dec 06 2023 - 10:59:32 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.

@richard and #shenwei

This just precode, please review it as draft ideas.

Frank Li (8):
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

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

.../bindings/pci/fsl,imx6q-pcie.yaml | 1 +
drivers/pci/controller/dwc/pci-imx6.c | 513 ++++++++++--------
2 files changed, 302 insertions(+), 212 deletions(-)

--
2.34.1