Commit 7c3bf691 authored by Matt Ranostay's avatar Matt Ranostay Committed by Greg Kroah-Hartman
Browse files

PCI: j721e: Add per platform maximum lane settings

[ Upstream commit 3ac7f140 ]

Various platforms have different maximum amount of lanes that can be
selected. Add max_lanes to struct j721e_pcie to allow for detection of this
which is needed to calculate the needed bitmask size for the possible lane
count.

Link: https://lore.kernel.org/linux-pci/20231128054402.2155183-4-s-vadapalli@ti.com


Signed-off-by: default avatarMatt Ranostay <mranostay@ti.com>
Signed-off-by: default avatarAchal Verma <a-verma1@ti.com>
Signed-off-by: default avatarSiddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: default avatarRavi Gunasekaran <r-gunasekaran@ti.com>
Stable-dep-of: 22a91204 ("PCI: j721e: Deassert PERST# after a delay of PCIE_T_PVPERL_MS milliseconds")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 47203d68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment