diff options
| author | Frank Li <[email protected]> | 2024-11-19 19:44:24 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-01-16 20:21:53 +0000 |
| commit | de22e20589b79f35f92543119c33051f8179dba0 (patch) | |
| tree | 40622c6b82d926c6d09a6e3567dbe07750145143 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI: imx6: Add Refclk for i.MX95 PCIe (diff) | |
| download | kernel-de22e20589b79f35f92543119c33051f8179dba0.tar.gz kernel-de22e20589b79f35f92543119c33051f8179dba0.zip | |
PCI: imx6: Configure PHY based on Root Complex or Endpoint mode
Pass PHY_MODE_PCIE_EP if the PCI controller operates in Endpoint (EP) mode,
and fix the Root Complex (RC) mode being hardcoded using a drvdata mode
check.
Fixes: 8026f2d8e8a9 ("PCI: imx6: Call common PHY API to set mode, speed, and submode")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Frank Li <[email protected]>
[kwilczynski: commit log]
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Richard Zhu <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
