Skip to content

rockchip: rk3568: Fix use of PCIe bifurcation

Jonas Karlman u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 6 patches 1 replyIn review

3 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6phy: rockchip: snps-pcie3: Refactor to use clk_bulk APIdrivers/phy/rockchip/phy-rockchip-snps-pcie3.c+9 -490 replies
3/6phy: rockchip: snps-pcie3: Refactor to use a phy_init opsdrivers/phy/rockchip/phy-rockchip-snps-pcie3.c+32 -80 replies
5/6phy: rockchip: snps-pcie3: Add support for RK3588drivers/phy/rockchip/phy-rockchip-snps-pcie3.c+85 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] rockchip: rk3568: Fix use of PCIe bifurcation

This series add support for use of PCIe bifurcation on RK3568, and as a bonus support for the RK3588 PHY is also included. With PCIe bifurcation supported it is possible to enable PCIe on more RK3568 boards, e.g. on NanoPi R5C and NanoPi R5S. This series only include fixing the mini PCIe slot on Radxa E25.

Most parts of this series was imported almost 1:1 from mainline linux.

Patch 1 fixes configuration of number of lanes in pcie_dw_rockchip. Patch 2-3 refactor the snps-pcie3 phy driver.
Patch 4 add bifurcation support for RK3568.
Patch 5 add support for RK3588.
Patch 6 enables the mini PCIe slot on Radxa E25.

The RK3588 PHY part was tested on a ROCK 5B together with device tree files picked from Sebastian Reichel's rk3588 branch at [1].

Patches in this series is also aviliable at [2].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-misc.git/tree/?h=rk3588
[2] https://github.com/Kwiboo/u-boot-rockchip/commits/rk35xx-pcie-bifurcation-v1

Jonas Karlman (6):
pci: pcie_dw_rockchip: Configure number of lanes and link width speed
phy: rockchip: snps-pcie3: Refactor to use clk_bulk API
phy: rockchip: snps-pcie3: Refactor to use a phy_init ops
phy: rockchip: snps-pcie3: Add bifurcation support for RK3568
phy: rockchip: snps-pcie3: Add support for RK3588
rockchip: rk3568-radxa-e25: Enable pcie3x1 node

 arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi     |  11 +-
 configs/radxa-e25-rk3568_defconfig            |   1 -
 drivers/pci/pcie_dw_rockchip.c                |  58 ++++-
 .../phy/rockchip/phy-rockchip-snps-pcie3.c    | 230 ++++++++++++++----
 4 files changed, 235 insertions(+), 65 deletions(-)
Signature · 1 line
2.41.0