[U-Boot] [PATCH v3 0/8] add PCIe, its PHY and AHCI support for mt7623
Frank Wunderlich
frank-w at public-files.de
Tue Aug 6 15:08:44 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 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 | 9 +-
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(+), 7 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
More information about the U-Boot
mailing list