Skip to content
Snippets Groups Projects
Unverified Commit 130e9cb3 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno
Browse files

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).

Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent 65529156
No related tags found
No related merge requests found
Pipeline #104362 passed