Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 15 Jan 2015 14:09:36 +0000 (15:09 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 19 Jan 2015 14:53:26 +0000 (09:53 -0500)
It is now possible to use a regulator property for each port of the
AHCI controller.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/ahci-platform.txt

index 4ab09f2202d444c43717502207c23618955a4101..c2340eeeb97ff072196dbcd49144897813b1573d 100644 (file)
@@ -37,9 +37,10 @@ Required properties when using sub-nodes:
 
 
 Sub-nodes required properties:
-- reg               : the port number
-- phys              : reference to the SATA PHY node
-
+- reg              : the port number
+And at least one of the following properties:
+- phys             : reference to the SATA PHY node
+- target-supply    : regulator for SATA target power
 
 Examples:
         sata@ffe08000 {
@@ -68,10 +69,12 @@ With sub-nodes:
                sata0: sata-port@0 {
                        reg = <0>;
                        phys = <&sata_phy 0>;
+                       target-supply = <&reg_sata0>;
                };
 
                sata1: sata-port@1 {
                        reg = <1>;
                        phys = <&sata_phy 1>;
+                       target-supply = <&reg_sata1>;;
                };
        };