ARM: sunxi: Add support for Allwinner SUNXi SoCs sata to ahci_platform
authorOlliver Schinagl <oliver@schinagl.nl>
Sat, 22 Feb 2014 15:53:36 +0000 (16:53 +0100)
committerTejun Heo <tj@kernel.org>
Sat, 22 Feb 2014 20:35:42 +0000 (15:35 -0500)
commitc5754b5220f01e8722799d35c04a76e82c62d7d8
tree59132ed247c3c68903c37fb0ee71d8249e44b98f
parent648cb6fd83b97f0f772db783a280af300fa9f2bc
ARM: sunxi: Add support for Allwinner SUNXi SoCs sata to ahci_platform

This patch adds support for the ahci sata controler found on Allwinner A10
and A20 SoCs to the ahci_platform driver.

Orignally written by Olliver Schinagl using the approach of having a platform
device which probe method creates a new child platform device which gets
driven by ahci_platform.c, as done by ahci_imx.c .

Refactored by Hans de Goede to add most of the non sunxi specific functionality
to ahci_platform.c and use a platform_data pointer from of_device_id for the
sunxi specific bits.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/ahci-platform.txt
drivers/ata/Kconfig
drivers/ata/Makefile
drivers/ata/ahci_sunxi.c [new file with mode: 0644]