diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2026-06-29 23:09:32 +0100 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-06-30 16:25:32 +0200 |
| commit | 007c7304d80f1462b98a36284f45adcc1eb8adec (patch) | |
| tree | f245c0a15f222a80b5133ebe784fe61b1123127f /scripts/patch-kernel | |
| parent | 9f2ed7c3de5dc4ccd223784d8ad80909a7bae884 (diff) | |
| download | linux-007c7304d80f1462b98a36284f45adcc1eb8adec.tar.gz linux-007c7304d80f1462b98a36284f45adcc1eb8adec.zip | |
PCI: rzg3s-host: Add support for RZ/V2H(P) SoC
Add support for the RZ/V2H(P) SoC PCIe controllers to the rzg3s-host
driver.
The RZ/V2H(P) SoC features two independent PCIe controllers that share
four physical lanes. The hardware supports two configuration modes:
single x4 mode where the first controller uses all four lanes, or dual
x2 mode where both controllers use two lanes each.
Introduce a setup_lanes() function pointer to configure the PCIe lanes
based on the hardware instance. Implement rzv2h_pcie_setup_lanes() to
detect the configuration at boot time and program the lane mode via the
system controller.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260629220932.861445-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
