]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:18 +0000 (21:17 -0600)
commit199990b5c5d294c92a99fa395635cd5a850069fc
tree0e28cf5866b615409674232c15efc42810d1abf0
parent42d48a85bfb1796fad750b9630ee2695f08b1f97
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>
(cherry picked from commit c5754b5220f01e8722799d35c04a76e82c62d7d8)
Documentation/devicetree/bindings/ata/ahci-platform.txt
drivers/ata/Kconfig
drivers/ata/Makefile
drivers/ata/ahci_sunxi.c [new file with mode: 0644]