ARM: mvebu: fix description of pwr-sata0 regulator on Armada 388 GP
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 18 Jun 2015 12:38:39 +0000 (14:38 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 9 Jul 2015 13:28:07 +0000 (15:28 +0200)
This regulator was lacking the reference to the GPIO that controls it,
and the regulator-min-microvolt and regulator-max-microvolt
properties. Thanks to this commit, the pwr-sata0 regulator now looks
more like the other pwr-sata{1,2,3} regulators in the same Device
Tree, with of course the exception of a different GPIO reference.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-388-gp.dts

index fd4f6fd8a2e8a30277db97ab71bbd5b2a5dfd05d..8e11469d01a2f46e931c393ada267e066efc71ea 100644 (file)
        reg_sata0: pwr-sata0 {
                compatible = "regulator-fixed";
                regulator-name = "pwr_en_sata0";
+               regulator-min-microvolt = <12000000>;
+               regulator-max-microvolt = <12000000>;
                enable-active-high;
                regulator-always-on;
-
+               gpio = <&expander0 2 GPIO_ACTIVE_HIGH>;
        };
 
        reg_5v_sata0: v5-sata0 {