diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-11-19 22:44:24 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-16 23:21:53 +0300 |
commit | de22e20589b79f35f92543119c33051f8179dba0 (patch) | |
tree | 40622c6b82d926c6d09a6e3567dbe07750145143 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 137250911f4e58e3a5ba9caa91288e0d101f70c4 (diff) | |
download | linux-de22e20589b79f35f92543119c33051f8179dba0.tar.xz |
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/20241119-pci_fixup_addr-v8-6-c4bfa5193288@nxp.com
Signed-off-by: Frank Li <Frank.Li@nxp.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions