]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ata: sata_mv: introduce compatible string "marvell, armada-370-sata"
authorSimon Guinot <simon.guinot@sequanux.org>
Tue, 14 Jan 2014 19:04:39 +0000 (20:04 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 15 Jan 2014 12:44:02 +0000 (07:44 -0500)
The sata_mv driver supports the SATA IP found in several Marvell SoCs.
As some new SATA registers have been introduced with the Armada 370/XP
SoCs, a way to identify them is needed.

This patch introduces a new compatible string for the SATA IP found in
Armada 370/XP SoCs.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Lior Amsalem <alior@marvell.com>
Cc: stable@vger.kernel.org # v3.6+
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/marvell.txt
drivers/ata/sata_mv.c

index b5cdd20cde9c5429301ca54dcc9be0f79f03fc38..1c8351604d3866fd0780e9c92a77c0702c0ffdc0 100644 (file)
@@ -1,7 +1,7 @@
 * Marvell Orion SATA
 
 Required Properties:
-- compatibility : "marvell,orion-sata"
+- compatibility : "marvell,orion-sata" or "marvell,armada-370-sata"
 - reg           : Address range of controller
 - interrupts    : Interrupt controller is using
 - nr-ports      : Number of SATA ports in use.
index 56be318198971f40ea9a57703530260ad51e4067..4ec5368c10f74c1158310b66cde6870a9f0e2058 100644 (file)
@@ -4209,6 +4209,7 @@ static int mv_platform_resume(struct platform_device *pdev)
 
 #ifdef CONFIG_OF
 static struct of_device_id mv_sata_dt_ids[] = {
+       { .compatible = "marvell,armada-370-sata", },
        { .compatible = "marvell,orion-sata", },
        {},
 };