summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTakuma Fujiwara <t-fujiwara1@ti.com>2026-07-21 10:57:43 -0500
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2026-07-22 09:26:23 +0200
commit7147a7bfce47acd48c3738130bf0bd692bfd80de (patch)
treefdfd65f1b11b2551bf01749d31ad8e97ab9bb965 /drivers
parentd70e964dc099821f6c159d8f40aa7be2c62ecfd2 (diff)
downloadlinux-next-7147a7bfce47acd48c3738130bf0bd692bfd80de.tar.gz
linux-next-7147a7bfce47acd48c3738130bf0bd692bfd80de.zip
PCI: j721e: Fix incorrect max_lanes for J7200
The PCIe Controller in the J7200 SoC supports a 4-lane configuration. However, j7200_pcie_rc_data and j7200_pcie_ep_data incorrectly set .max_lanes = 2, limiting operation to fewer lanes than the hardware supports. Set .max_lanes = 4 for both j7200_pcie_rc_data and j7200_pcie_ep_data to match the hardware capability. See J7200 Technical Reference Manual (SPRUIU1D), section 12.2.3.1.1 for further details: https://www.ti.com/lit/pdf/spruiu1d Fixes: 3ac7f14084f5 ("PCI: j721e: Add per platform maximum lane settings") Signed-off-by: Takuma Fujiwara <t-fujiwara1@ti.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com> Link: https://patch.msgid.link/20260721155743.3347659-1-t-fujiwara1@ti.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/controller/cadence/pci-j721e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/controller/cadence/pci-j721e.c
index ae916e7b1927..822602836b12 100644
--- a/drivers/pci/controller/cadence/pci-j721e.c
+++ b/drivers/pci/controller/cadence/pci-j721e.c
@@ -383,7 +383,7 @@ static const struct j721e_pcie_data j7200_pcie_rc_data = {
.quirk_detect_quiet_flag = true,
.linkdown_irq_regfield = J7200_LINK_DOWN,
.byte_access_allowed = true,
- .max_lanes = 2,
+ .max_lanes = 4,
};
static const struct j721e_pcie_data j7200_pcie_ep_data = {
@@ -391,7 +391,7 @@ static const struct j721e_pcie_data j7200_pcie_ep_data = {
.quirk_detect_quiet_flag = true,
.linkdown_irq_regfield = J7200_LINK_DOWN,
.quirk_disable_flr = true,
- .max_lanes = 2,
+ .max_lanes = 4,
};
static const struct j721e_pcie_data am64_pcie_rc_data = {