[PATCH v3 0/6] ARM: berlin: add AHCI support

Antoine Ténart
2014-05-14T09:48:56Z

This series adds the support for Berlin SoCs AHCI controllers. The
controller allows to use the SATA host interface and, for example, the
eSATA port on the BG2Q.

The series adds a PHY driver to control the two SATA ports available.

Also enable the eSATA interface on the BG2Q DMP.

Changes since v2:
- modeled each PHY as a sub-node
- cosmetic fixups

Changes since v1:
- added a PHY driver, allowing to enable each port
individually and removed the 'force-port-map' property
- made the drivers a bit less magic :)
- wrote a function to select and configure registers in the
AHCI driver
- removed BG2 / BG2CD nodes

Antoine T?nart (6):
phy: add a driver for the Berlin SATA PHY
Documentation: bindings: add the Berlin SATA PHY
ata: ahci: add AHCI support for the Berlin BG2Q
Documentation: bindings: add the berlin-ahci compatible to the ahci
platform
ARM: berlin: add the AHCI node for the BG2Q
ARM: berlin: enable the eSATA interface on the BG2Q DMP

.../devicetree/bindings/ata/ahci-berlin.txt | 18 ++
.../devicetree/bindings/phy/berlin-sata-phy.txt | 34 ++++
arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 10 +
arch/arm/boot/dts/berlin2q.dtsi | 25 +++
drivers/ata/Kconfig | 10 +
drivers/ata/Makefile | 1 +
drivers/ata/ahci_berlin.c | 202 +++++++++++++++++++++
drivers/phy/Kconfig | 5 +
drivers/phy/Makefile | 1 +
drivers/phy/phy-berlin-sata.c | 180 ++++++++++++++++++
10 files changed, 486 insertions(+)
create mode 100644 Documentation/devicetree/bindings/ata/ahci-berlin.txt
create mode 100644 Documentation/devicetree/bindings/phy/berlin-sata-phy.txt
create mode 100644 drivers/ata/ahci_berlin.c
create mode 100644 drivers/phy/phy-berlin-sata.c

--
1.9.1