devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] RK3588 PCIe3 support
@ 2023-07-17 17:35 Sebastian Reichel
  2023-07-17 17:35 ` [PATCH v2 1/2] dt-bindings: phy: rockchip: add RK3588 PCIe v3 phy Sebastian Reichel
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Sebastian Reichel @ 2023-07-17 17:35 UTC (permalink / raw)
  To: linux-phy, linux-rockchip
  Cc: Jingoo Han, Gustavo Pimentel, Bjorn Helgaas, Lorenzo Pieralisi,
	Vinod Koul, Kishon Vijay Abraham I, Krzysztof Wilczyński,
	Rob Herring, Serge Semin, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Shawn Lin, Simon Xue, John Clark, Qu Wenruo,
	devicetree, linux-pci, linux-kernel, linux-arm-kernel,
	Sebastian Reichel, kernel

Hi,

This adds PCIe v3 support for RK3588. The series depends on the PCIe
v2 series [0], since the the same binding is used. It has been tested
on Rockchip EVB1 and Radxa Rock 5B.

Note, that the PCIe3 PHY driver is currently missing bifurcation
support for RK3588. Thus after this series only PCIe3x4 is usable
(in aggregated x4 mode) without adding support for the PHY's
"rockchip,pcie30-phymode" DT property, which allows configuring
how the lanes are distributed. Aggregated 3x4 mode seems to be the
most common configuration. Both EVB1 and Rock 5B use it, so I
cannot test anything else anyways.

[0] https://lore.kernel.org/all/20230717172651.64324-1-sebastian.reichel@collabora.com/

Changes since v1:
 * https://lore.kernel.org/all/20230714175331.112923-1-sebastian.reichel@collabora.com/
 * Collected Acked-by from Conor Dooley
 * Dropped deprecated and useless num-ib-windows/num-ob-windows/num-viewport
   properties from DT (Serge Semin)

-- Sebastian

Sebastian Reichel (2):
  dt-bindings: phy: rockchip: add RK3588 PCIe v3 phy
  arm64: dts: rockchip: rk3588: add PCIe3 support

 .../bindings/phy/rockchip,pcie3-phy.yaml      |  33 ++++-
 arch/arm64/boot/dts/rockchip/rk3588.dtsi      | 120 ++++++++++++++++++
 2 files changed, 148 insertions(+), 5 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-07-25 18:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-17 17:35 [PATCH v2 0/2] RK3588 PCIe3 support Sebastian Reichel
2023-07-17 17:35 ` [PATCH v2 1/2] dt-bindings: phy: rockchip: add RK3588 PCIe v3 phy Sebastian Reichel
2023-07-17 17:35 ` [PATCH v2 2/2] arm64: dts: rockchip: rk3588: add PCIe3 support Sebastian Reichel
2023-07-18 15:09   ` Liviu Dudau
2023-07-18 16:01     ` Sebastian Reichel
2023-07-18 19:38       ` Liviu Dudau
2023-07-18 21:06         ` Sebastian Reichel
2023-07-19  9:41           ` Liviu Dudau
2023-07-18  6:15 ` (subset) [PATCH v2 0/2] RK3588 " Vinod Koul
2023-07-24 19:12 ` Heiko Stuebner
2023-07-24 19:22   ` Sebastian Reichel
2023-07-25 18:06     ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).