| From: |
| Frank Wunderlich <linux-AT-fw-web.de> |
| To: |
| linux-rockchip-AT-lists.infradead.org |
| Subject: |
| [RFC v3 0/5] RK3568 PCIe V3 support |
| Date: |
| Sat, 14 May 2022 13:59:41 +0200 |
| Message-ID: |
| <20220514115946.8858-1-linux@fw-web.de> |
| Cc: |
| Frank Wunderlich <frank-w-AT-public-files.de>, Bjorn Helgaas <bhelgaas-AT-google.com>, Rob Herring <robh+dt-AT-kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt-AT-linaro.org>, Heiko Stuebner <heiko-AT-sntech.de>, Kishon Vijay Abraham I <kishon-AT-ti.com>, Vinod Koul <vkoul-AT-kernel.org>, Lorenzo Pieralisi <lorenzo.pieralisi-AT-arm.com>, Krzysztof WilczyĆski <kw-AT-linux.com>, Philipp Zabel <p.zabel-AT-pengutronix.de>, Johan Jonker <jbx6244-AT-gmail.com>, Peter Geis <pgwipeout-AT-gmail.com>, Michael Riesch <michael.riesch-AT-wolfvision.net>, linux-pci-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, linux-phy-AT-lists.infradead.org |
| Archive-link: |
| Article |
From: Frank Wunderlich <frank-w@public-files.de>
This series adds Rockchip PCIe V3 support found on rk3568 SOC.
It is based on "Enable rk356x PCIe controller" series of Peter Geis
v9: https://patchwork.kernel.org/project/linux-rockchip/list/...
Compared to PCIeV2 which uses the Naneng combphy, PCIe v3 uses a dedicated
PCI-phy.
New in this version is that lane-map is no separate patch and moved from
PCIe- to phy-driver.
Peter has tested m2-slot too and so the bifurcation.
The Phy-Patch is now changed to original author, but our changes are
squashed in.
Frank Wunderlich (4):
dt-bindings: phy: rockchip: add PCIe v3 phy
dt-bindings: soc: grf: add pcie30-{phy,pipe}-grf
arm64: dts: rockchip: rk3568: Add PCIe v3 nodes
arm64: dts: rockchip: Add PCIe v3 nodes to BPI-R2-Pro
Shawn Lin (1):
phy: rockchip: Support PCIe v3
.../bindings/phy/rockchip,pcie3-phy.yaml | 82 +++++
.../devicetree/bindings/soc/rockchip/grf.yaml | 3 +
.../boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 90 +++++
arch/arm64/boot/dts/rockchip/rk3568.dtsi | 122 +++++++
drivers/phy/rockchip/Kconfig | 9 +
drivers/phy/rockchip/Makefile | 1 +
.../phy/rockchip/phy-rockchip-snps-pcie3.c | 317 ++++++++++++++++++
include/linux/phy/pcie.h | 12 +
8 files changed, 636 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/rockchip,pcie3-phy.yaml
create mode 100644 drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
create mode 100644 include/linux/phy/pcie.h
--
2.25.1