add SATA/AHCI support for BananaPi R64
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v25 patches 0 repliesSuperseded
- v15 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | arm: dts: mt7622: add SATA reset constantsinclude/ | +4 | 4 replies | |
| 2/5 | phy: mtk-tphy: add PHY_TYPE_SATAdrivers/ | +105 | 1 reply | |
| 3/5 | reset: add basic reset controller for pciesysdrivers/ | +15 | 1 reply | |
| 4/5 | ahci: mediatek: add ahci driverdrivers/ drivers/ drivers/ | +139 | 1 reply | |
| 5/5 | dts: r64: add sata- and asm_sel nodesarch/ arch/ | +41 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Chunfeng Yun |
|---|---|
| 1/5 | |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] add SATA/AHCI support for BananaPi R64
From: Frank Wunderlich <[email protected]>
BananaPi R64 has an SATA socket where an HDD can be connected. I have ported Linux Driver to Uboot and can access my harddrive
BPI-R64> scsi scan
scanning bus for devices...
Target spinup took 0 ms.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq stag pm clo only pmp pio slum part ccc apst
Device 0: (0:0) Vendor: ATA Prod.: ST750LM022 HN-M7 Rev: 2AR1
Type: Hard Disk
Capacity: 715404.8 MB = 698.6 GB (1465149168 x 512)
BPI-R64> ls scsi 0:1
EFI/
512 BOOTSECT.BAK
1 file(s), 1 dir(s)
BPI-R64>
this Series is based on 2020.10-rc1 + mt7622 PCIe series [1] + R64 DTS [2]
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=194888
[2] https://patchwork.ozlabs.org/project/uboot/list/?series=194922
v2->v3: some changes in ahci-driver based on chunfeng yun's review
- alphabetic sort of includes
- use reset_ctl_bulk
- devfdt_remap_addr_index instead of map_physmem(devfdt_get_addr())
- move ahci_uc_priv to mtk_ahci_privv1->v2: fix coding styles reported by checkpatch.pl
Frank Wunderlich (5):
arm: dts: mt7622: add SATA reset constants
phy: mtk-tphy: add PHY_TYPE_SATA
reset: add basic reset controller for pciesys
ahci: mediatek: add ahci driver
dts: r64: add sata- and asm_sel nodes
arch/arm/dts/mt7622-bpi-r64.dts | 9 ++ arch/arm/dts/mt7622.dtsi | 32 ++++++ drivers/ata/Kconfig | 8 ++ drivers/ata/Makefile | 1 + drivers/ata/mtk_ahci.c | 130 +++++++++++++++++++++++ drivers/clk/mediatek/clk-mt7622.c | 15 +++ drivers/phy/phy-mtk-tphy.c | 105 ++++++++++++++++++ include/dt-bindings/reset/mt7629-reset.h | 5 +- 8 files changed, 304 insertions(+), 1 deletion(-) create mode 100644 drivers/ata/mtk_ahci.c
Signature · 1 line
2.25.1