Skip to content

rockchip: Add PCIe host support

Jagan Teki linux-rockchip u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 6 repliesIn review
  2. v18 patches 11 repliesSuperseded

Changes in v2 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8iopoll: Add dealy to read pollinclude/linux/iopoll.h+12 -104 replies
2/8iopoll: Add readl_poll_sleep_timeoutinclude/linux/iopoll.h+3 -00 replies
3/8clk: rk3399: Add enable/disable clksdrivers/clk/rockchip/clk_rk3399.c+148 -00 replies
4/8clk: rk3399: Enable/Disable the PCIEPHY clkdrivers/clk/rockchip/clk_rk3399.c+6 -00 replies
5/8pci: Add Rockchip PCIe controller driverdrivers/pci/Kconfig drivers/pci/Makefile drivers/pci/pcie_rockchip.c +1 more+555 -00 replies
6/8pci: Add Rockchip PCIe PHY controller driverdrivers/pci/Makefile drivers/pci/pcie_rockchip.c drivers/pci/pcie_rockchip.h +1 more+306 -140 replies
7/8rockchip: Enable PCIe/M.2 on rk3399 board w/ M.2arch/arm/dts/rk3399-u-boot.dtsi configs/nanopc-t4-rk3399_defconfig configs/roc-pc-mezzanine-rk3399_defconfig+9 -00 replies
8/8rockchip: Enable PCIe/M.2 on rock960 boardboard/vamrs/rock960_rk3399/rock960-rk3399.c configs/rock960-rk3399_defconfig+25 -02 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchKever YangManivannan Sadhasivam
1/8
2/8
3/8
4/8
5/8R-b
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] 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 v2:
- handle USB, GMAC clocks
- collect kever r-o-b tag
- simplify rd and wr conf API

[1] http://patchwork.ozlabs.org/project/uboot/cover/20200425110354.12381-1-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org/

Any inputs?
Jagan.

Jagan Teki (8):
iopoll: Add dealy to read poll
iopoll: Add readl_poll_sleep_timeout
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 |  20 +
 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 ++++++++
 include/linux/iopoll.h                      |  23 +-
 12 files changed, 1049 insertions(+), 9 deletions(-)
 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