diff options
author | Richard Zhu <hongxing.zhu@nxp.com> | 2024-07-29 16:18:18 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-09-11 09:04:18 -0500 |
commit | c2699778e6be4757ee0b16449ab8777c6b46e6d0 (patch) | |
tree | 5c204357a07ba5b0dfa109dd01d9c4286c085980 /drivers/pci/controller/dwc/pcie-rcar-gen4.c | |
parent | 8026f2d8e8a95a638a6cb83858bc2bdeed60a865 (diff) |
PCI: imx6: Add i.MX8Q PCIe Root Complex (RC) support
Implement i.MX8Q (i.MX8QM, i.MX8QXP, and i.MX8DXL) PCIe Root Complex
(RC) support. While the controller resembles that of i.MX8MP, the PHY
differs significantly. Also, there's a distinction between PCI bus
addresses and CPU addresses.
Introduce IMX_PCIE_FLAG_CPU_ADDR_FIXUP in drvdata::flags to indicate driver
need the cpu_addr_fixup() callback to facilitate CPU address to PCI bus
address conversion according to "ranges" property.
Link: https://lore.kernel.org/linux-pci/20240729-pci2_upstream-v8-11-b68ee5ef2b4d@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
[bhelgaas: check resource_list_first_type() for NULL]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-rcar-gen4.c')
0 files changed, 0 insertions, 0 deletions