[U-Boot] [PATCH v2 0/6] U-boot: add PCIe, its PHY and AHCI support

Frank Wunderlich frank-w at public-files.de
Sun Aug 4 17:23:36 UTC 2019


This series adds PCIe/PHY drivers which were adapted from Linux version.
The related drivers were tested on bpi-r2.

To get AHCI (SATA) working on R2 (ASM1061 PCIe2SATA-Controller) 2 addional
changes are needed (see Parts 5+6 from Oleksandr Rybalko)

changes since v1:
  - replaced mt2701 PCIe driver with version (PHY+PCIe) from Ryder

Oleksandr Rybalko (2):
  ahci-pci: ASM1061 report wrong class, but support AHCI.
  ata: ahci: Don't forget to clear upper address regs.

Ryder Lee (4):
  pci: mediatek: add PCIe controller support for MT7623
  phy: mediatek: add MediaTek T-PHY support for PCIe
  arm: dts: add PCIe controller for MT7623 SoC
  arm: dts: split mtk-reset.h into per-chip header

 arch/arm/dts/mt7623.dtsi                      | 130 +++++-
 arch/arm/dts/mt7623n-bananapi-bpi-r2.dts      |  29 ++
 arch/arm/dts/mt7629.dtsi                      |   2 +-
 drivers/ata/ahci-pci.c                        |   1 +
 drivers/ata/ahci.c                            |   9 +-
 drivers/pci/Kconfig                           |   8 +
 drivers/pci/Makefile                          |   1 +
 drivers/pci/pcie_mediatek.c                   | 292 +++++++++++++
 drivers/phy/Kconfig                           |  11 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/phy-mtk-tphy.c                    | 388 ++++++++++++++++++
 .../reset/{mtk-reset.h => mt7623-reset.h}     |   4 +-
 include/dt-bindings/reset/mt7629-reset.h      |  36 ++
 13 files changed, 905 insertions(+), 7 deletions(-)
 create mode 100644 drivers/pci/pcie_mediatek.c
 create mode 100644 drivers/phy/phy-mtk-tphy.c
 rename include/dt-bindings/reset/{mtk-reset.h => mt7623-reset.h} (88%)
 create mode 100644 include/dt-bindings/reset/mt7629-reset.h

--
2.17.1



More information about the U-Boot mailing list