diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2024-11-04 11:49:35 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-11-06 19:57:26 +0000 |
| commit | b609a15e7969d6a50d65067ee783b5d9365b04dd (patch) | |
| tree | 6df49c9216e2d00f192315d69761faa3a876a59e /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | PCI: mediatek-gen3: Add support for setting max-link-speed limit (diff) | |
| download | kernel-b609a15e7969d6a50d65067ee783b5d9365b04dd.tar.gz kernel-b609a15e7969d6a50d65067ee783b5d9365b04dd.zip | |
PCI: mediatek-gen3: Add support for restricting link width
Add support for restricting the port's link width by specifying
the num-lanes devicetree property in the PCIe node.
The setting is done in the GEN_SETTINGS register (in the driver
named as PCIE_SETTING_REG), where each set bit in [11:8] activates
a set of lanes (from bits 11 to 8 respectively, x16/x8/x4/x2).
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Fei Shao <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
