]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: dra7: Change pbias voltage to 3.3V
authorFaiz Abbas <faiz_abbas@ti.com>
Fri, 5 Apr 2019 08:48:44 +0000 (14:18 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2019 12:05:56 +0000 (08:05 -0400)
As per recent TRM[1], PBIAS cell on dra7 devices supports
3.3v and not 3.0v as documented earlier.

Update PBIAS regulator max voltage and the voltage written
in the driver to reflect this.

[1] http://www.ti.com/lit/pdf/sprui30

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
arch/arm/dts/dra7.dtsi
drivers/power/regulator/pbias_regulator.c

index 0f982d8b44addc3a201d84128112a492e5823ff1..fd1aea0b1b1617b6c4fa08d03c13204c6da61334 100644 (file)
                                                pbias_mmc_reg: pbias_mmc_omap5 {
                                                        regulator-name = "pbias_mmc_omap5";
                                                        regulator-min-microvolt = <1800000>;
-                                                       regulator-max-microvolt = <3000000>;
+                                                       regulator-max-microvolt = <3300000>;
                                                };
                                        };
 
index 4ed3c94e03115e06286a1bb7f41186bdebfba605..88dc9f273aebed4db07729cc4a082d46c7d1bfe8 100644 (file)
@@ -238,7 +238,7 @@ static int pbias_regulator_set_value(struct udevice *dev, int uV)
        if (rc)
                return rc;
 
-       if (uV == 3000000)
+       if (uV == 3300000)
                reg |= p->vmode;
        else if (uV == 1800000)
                reg &= ~p->vmode;