Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings

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>

authored by

Gregory CLEMENT and committed by
Tejun Heo
6bd15996 60337981

+6 -3
+6 -3
Documentation/devicetree/bindings/ata/ahci-platform.txt
··· 37 37 38 38 39 39 Sub-nodes required properties: 40 - - reg : the port number 41 - - phys : reference to the SATA PHY node 42 - 40 + - reg : the port number 41 + And at least one of the following properties: 42 + - phys : reference to the SATA PHY node 43 + - target-supply : regulator for SATA target power 43 44 44 45 Examples: 45 46 sata@ffe08000 { ··· 69 68 sata0: sata-port@0 { 70 69 reg = <0>; 71 70 phys = <&sata_phy 0>; 71 + target-supply = <&reg_sata0>; 72 72 }; 73 73 74 74 sata1: sata-port@1 { 75 75 reg = <1>; 76 76 phys = <&sata_phy 1>; 77 + target-supply = <&reg_sata1>;; 77 78 }; 78 79 };