diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2014-11-18 09:05:49 (GMT) |
---|---|---|
committer | Zhengxiong Jin <Jason.Jin@freescale.com> | 2015-03-03 06:52:40 (GMT) |
commit | 156fa1b08b8c370af4d583301eb0d5922f409ea5 (patch) | |
tree | a8a02d7a0920a4879114d8b2eff2eccbb09d900c | |
parent | 15aff457277efdc8cc7d7cb51f20be8ac3c9d750 (diff) | |
download | linux-fsl-qoriq-156fa1b08b8c370af4d583301eb0d5922f409ea5.tar.xz |
ahci: added freescale AHCI to platform compatible list
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Change-Id: Icfc5b97394f3443762fca8cf1fee6a44ea5874e6
Reviewed-on: http://git.am.freescale.net:8181/31840
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Xiaobo Xie <X.Xie@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
-rw-r--r-- | Documentation/devicetree/bindings/ata/ahci-platform.txt | 4 | ||||
-rw-r--r-- | drivers/ata/ahci_platform.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt index 89de156..605a297 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt @@ -4,7 +4,9 @@ SATA nodes are defined to describe on-chip Serial ATA controllers. Each SATA controller should have its own node. Required properties: -- compatible : compatible list, contains "snps,spear-ahci" +- compatible : compatible list, one of: + - "snps,spear-ahci" + - "fsl,<chip>-ahci" - interrupts : <interrupt mapping for SATA IRQ> - reg : <registers mapping> diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 7d3b853..1da09c1 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c @@ -326,6 +326,7 @@ disable_unprepare_clk: static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_suspend, ahci_resume); static const struct of_device_id ahci_of_match[] = { + { .compatible = "fsl,ls1021a-ahci", }, { .compatible = "snps,spear-ahci", }, { .compatible = "snps,exynos5440-ahci", }, {}, |