[PATCH 0/6] arm64: dts: meson-g12: add support for PCIe
From: Neil Armstrong
Date: Sun Sep 08 2019 - 09:43:21 EST
This patchset :
- updates the Amlogic PCI bindings for G12A
- reworks the Amlogic PCIe driver to make use of the
G12a USB3+PCIe Combo PHY instead of directly writing in
the PHY register
- adds the necessary operations to the G12a USB3+PCIe Combo PHY driver
- adds the PCIe Node for G12A, G12B and SM1 SoCs
- adds the commented support for the S922X, A311D and S905D3 based
VIM3 boards.
This patchset has been tested in a A311D VIM3 using a 128Go
TS128GMTE110S NVMe PCIe module.
For indication, here is a bonnie++ run as ext4 formatted:
------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
4G 93865 99 312837 96 194487 23 102808 97 415501 21 +++++ +++
Neil Armstrong (6):
dt-bindings: pci: amlogic,meson-pcie: Add G12A bindings
PCI: amlogic: Fix probed clock names
PCI: amlogic: meson: Add support for G12A
phy: meson-g12a-usb3-pcie: Add support for PCIe mode
arm64: dts: meson-g12a: Add PCIe node
arm64: dts: khadas-vim3: add commented support for PCIe
.../bindings/pci/amlogic,meson-pcie.txt | 12 +-
.../boot/dts/amlogic/meson-g12-common.dtsi | 33 ++++++
.../amlogic/meson-g12b-a311d-khadas-vim3.dts | 22 ++++
.../amlogic/meson-g12b-s922x-khadas-vim3.dts | 22 ++++
.../boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 +
.../dts/amlogic/meson-sm1-khadas-vim3l.dts | 22 ++++
drivers/pci/controller/dwc/pci-meson.c | 105 ++++++++++++++----
.../phy/amlogic/phy-meson-g12a-usb3-pcie.c | 70 ++++++++++--
8 files changed, 258 insertions(+), 32 deletions(-)
--
2.17.1