aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ata/marvell.txt
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2014-11-13 12:47:44 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2014-11-26 11:07:13 +0530
commitaa1facbd2847263cf168ec7d66e6c8951c413905 (patch)
tree48424573ddb9ccdcbf79316c77bfd00aa342dcd8 /Documentation/devicetree/bindings/ata/marvell.txt
parentphy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle (diff)
downloadlinux-dev-aa1facbd2847263cf168ec7d66e6c8951c413905.tar.xz
linux-dev-aa1facbd2847263cf168ec7d66e6c8951c413905.zip
Phy: DT binding documentation for Marvell MVEBU SATA phy.
Describe the binding for the Marvell MVEBU SATA phy. This driver can be used at least with Kirkwood, Dove and maybe others. Additionally, update the SATA binding with the properties to link to the phy nodes. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/ata/marvell.txt')
-rw-r--r--Documentation/devicetree/bindings/ata/marvell.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/marvell.txt b/Documentation/devicetree/bindings/ata/marvell.txt
index 1c8351604d38..b460edd12766 100644
--- a/Documentation/devicetree/bindings/ata/marvell.txt
+++ b/Documentation/devicetree/bindings/ata/marvell.txt
@@ -6,11 +6,17 @@ Required Properties:
- interrupts : Interrupt controller is using
- nr-ports : Number of SATA ports in use.
+Optional Properties:
+- phys : List of phandles to sata phys
+- phy-names : Should be "0", "1", etc, one number per phandle
+
Example:
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
+ phys = <&sata_phy0>, <&sata_phy1>;
+ phy-names = "0", "1";
nr-ports = <2>;
}