Skip to content

rockchip: Add PCIe host support

Jagan Teki linux-rockchip u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 6 patches 0 repliesNew

Changes in v3 from the cover letter

- fix few clock register values
- collect mani a-b

Patches in v3 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchKever YangManivannan SadhasivamSuniel Mahesh
SeriesR-b R-b R-b R-b R-b R-b A-b T-b T-b T-b T-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] rockchip: Add PCIe host support

This series support PCIe host controller support on rockchip rk3399 platform.

It is based on previous version[1] changes.

Works well on rk3399 boards like rock960, nanopc-t4 and roc-kr3399-pc-mezzanine board as Gen1 configurable host with M.2 SSD.

Changes for v3:
- fix few clock register values
- collect mani a-b
Changes for v2:
- handle USB, GMAC clocks
- collect kever r-o-b tag
- simplify rd and wr conf API

[1] https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

Any inputs?
Jagan.

Jagan Teki (6):
clk: rk3399: Add enable/disable clks
clk: rk3399: Enable/Disable the PCIEPHY clk
pci: Add Rockchip PCIe controller driver
pci: Add Rockchip PCIe PHY controller driver
rockchip: Enable PCIe/M.2 on rk3399 board w/ M.2
rockchip: Enable PCIe/M.2 on rock960 board

 arch/arm/dts/rk3399-u-boot.dtsi             |   1 +
 board/vamrs/rock960_rk3399/rock960-rk3399.c |  23 +
 configs/nanopc-t4-rk3399_defconfig          |   4 +
 configs/roc-pc-mezzanine-rk3399_defconfig   |   4 +
 configs/rock960-rk3399_defconfig            |   5 +
 drivers/clk/rockchip/clk_rk3399.c           | 154 ++++++
 drivers/pci/Kconfig                         |   8 +
 drivers/pci/Makefile                        |   1 +
 drivers/pci/pcie_rockchip.c                 | 491 ++++++++++++++++++++
 drivers/pci/pcie_rockchip.h                 | 142 ++++++
 drivers/pci/pcie_rockchip_phy.c             | 205 ++++++++
 11 files changed, 1038 insertions(+)
 create mode 100644 drivers/pci/pcie_rockchip.c
 create mode 100644 drivers/pci/pcie_rockchip.h
 create mode 100644 drivers/pci/pcie_rockchip_phy.c
Signature · 1 line
2.17.1