All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] add SATA/AHCI support for BananaPi R64
@ 2020-08-10 17:52 Frank Wunderlich
  2020-08-10 17:52 ` [PATCH v2 1/5] arm: dts: mt7622: add SATA reset constants Frank Wunderlich
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Frank Wunderlich @ 2020-08-10 17:52 UTC (permalink / raw)
  To: u-boot

From: Frank Wunderlich <frank-w@public-files.de>

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

v1->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                   | 196 +++++++++++++++++++++++
 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, 370 insertions(+), 1 deletion(-)
 create mode 100644 drivers/ata/mtk_ahci.c

-- 
2.25.1

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

end of thread, other threads:[~2020-08-13  8:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-10 17:52 [PATCH v2 0/5] add SATA/AHCI support for BananaPi R64 Frank Wunderlich
2020-08-10 17:52 ` [PATCH v2 1/5] arm: dts: mt7622: add SATA reset constants Frank Wunderlich
2020-08-10 17:52 ` [PATCH v2 2/5] phy: mtk-tphy: add PHY_TYPE_SATA Frank Wunderlich
2020-08-13  6:05   ` Chunfeng Yun
2020-08-10 17:52 ` [PATCH v2 3/5] reset: add basic reset controller for pciesys Frank Wunderlich
2020-08-10 17:52 ` [PATCH v2 4/5] ahci: mediatek: add ahci driver Frank Wunderlich
2020-08-13  5:52   ` Chunfeng Yun
2020-08-13  7:33     ` Aw: " Frank Wunderlich
2020-08-13  8:05       ` Chunfeng Yun
2020-08-10 17:52 ` [PATCH v2 5/5] dts: r64: add sata- and asm_sel nodes Frank Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.