public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/8] add PCIe, its PHY and AHCI support for mt7623
@ 2019-08-22 10:26 Frank Wunderlich
  2019-08-22 10:26 ` [U-Boot] [PATCH v4 1/8] pci: mediatek: add PCIe controller support for MT7623 Frank Wunderlich
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Frank Wunderlich @ 2019-08-22 10:26 UTC (permalink / raw)
  To: u-boot

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 v3:
- fix build-warning on x86_64 in commit "Don't forget to clear upper address regs"
- move history below --- 
changes since v2:
- rename pcie-driver to "MediaTek PCIe Gen2 controller"
- replaced readl/writel with (clr/set)bits_le32
- add dt-binding documents for pcie and phy
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 (6):
  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
  dt-bindings: pcie: add a document for MT7623 PCIe controller
  dt-bindings: phy: add a document for MediaTek tphy

 arch/arm/dts/mt7623.dtsi                      | 130 ++++++-
 arch/arm/dts/mt7623n-bananapi-bpi-r2.dts      |  29 ++
 arch/arm/dts/mt7629.dtsi                      |   2 +-
 .../pci/mediatek-pcie.txt                     | 122 ++++++
 doc/device-tree-bindings/phy/phy-mtk-tphy.txt |  86 +++++
 drivers/ata/ahci-pci.c                        |   1 +
 drivers/ata/ahci.c                            |  11 +-
 drivers/pci/Kconfig                           |   8 +
 drivers/pci/Makefile                          |   1 +
 drivers/pci/pcie_mediatek.c                   | 279 ++++++++++++++
 drivers/phy/Kconfig                           |  11 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/phy-mtk-tphy.c                    | 362 ++++++++++++++++++
 .../reset/{mtk-reset.h => mt7623-reset.h}     |   4 +-
 include/dt-bindings/reset/mt7629-reset.h      |  36 ++
 15 files changed, 1074 insertions(+), 9 deletions(-)
 create mode 100644 doc/device-tree-bindings/pci/mediatek-pcie.txt
 create mode 100644 doc/device-tree-bindings/phy/phy-mtk-tphy.txt
 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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2019-10-12 20:22 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-22 10:26 [U-Boot] [PATCH v4 0/8] add PCIe, its PHY and AHCI support for mt7623 Frank Wunderlich
2019-08-22 10:26 ` [U-Boot] [PATCH v4 1/8] pci: mediatek: add PCIe controller support for MT7623 Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 2/8] phy: mediatek: add MediaTek T-PHY support for PCIe Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 3/8] arm: dts: add PCIe controller for MT7623 SoC Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 4/8] arm: dts: split mtk-reset.h into per-chip header Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 5/8] dt-bindings: pcie: add a document for MT7623 PCIe controller Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 6/8] dt-bindings: phy: add a document for MediaTek tphy Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 7/8] ahci-pci: ASM1061 report wrong class, but support AHCI Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-22 10:26 ` [U-Boot] [PATCH v4 8/8] ata: ahci: Don't forget to clear upper address regs Frank Wunderlich
2019-10-12 20:22   ` Tom Rini
2019-08-28  9:17 ` [U-Boot] [PATCH v4 0/8] add PCIe, its PHY and AHCI support for mt7623 Frank Wunderlich
2019-09-01 12:27   ` Aleksandr Rybalko
2019-10-02  5:24   ` Frank Wunderlich
2019-10-12 14:48     ` Frank Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox