ahci: added support for Freescale AHCI sata
authorTang Yuantian <Yuantian.Tang@freescale.com>
Thu, 4 Jun 2015 07:10:04 +0000 (15:10 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 9 Jun 2015 05:02:15 +0000 (14:02 +0900)
Freescale introduced QorIQ series SOCs, like ls1021 ls2085, with AHCI
sata support. It complies with the serial ATA 3.0 specification
and the AHCI 1.3 specification.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Yuantian Tang <Yuantian.Tang@freescale.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/ahci-platform.txt
drivers/ata/ahci_platform.c

index c2340eeeb97ff072196dbcd49144897813b1573d..a2321819e7f5fb1613fa8c4ef3b092e87fe4e647 100644 (file)
@@ -16,6 +16,8 @@ Required properties:
   - "snps,dwc-ahci"
   - "snps,exynos5440-ahci"
   - "snps,spear-ahci"
+  - "fsl,qoriq-ahci" : for qoriq series socs which include ls1021, ls2085, etc.
+  - "fsl,<chip>-ahci" : chip could be ls1021, ls2085 etc.
   - "generic-ahci"
 - interrupts        : <interrupt mapping for SATA IRQ>
 - reg               : <registers mapping>
index 78d6ae0b90c400f807f18cdd6f4b6d214d175a32..614c78f510f049286f491d78ec9f3d395300a6f2 100644 (file)
@@ -74,6 +74,7 @@ static const struct of_device_id ahci_of_match[] = {
        { .compatible = "ibm,476gtr-ahci", },
        { .compatible = "snps,dwc-ahci", },
        { .compatible = "hisilicon,hisi-ahci", },
+       { .compatible = "fsl,qoriq-ahci", },
        {},
 };
 MODULE_DEVICE_TABLE(of, ahci_of_match);