regulator: dts: enable soft-start and ramp delay for the OLinuXino Lime2
authorOlliver Schinagl <oliver@schinagl.nl>
Tue, 11 Dec 2018 15:17:10 +0000 (17:17 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 16:39:57 +0000 (16:39 +0000)
The OLinuXino Lime2 has a big capacitor on its LDO3 output. It is
actually too large, causing the PMIC to shutdown when toggling the LDO3.

By enabling soft-start and ramp delay we increase the time for the
capacitor to charge lowering the current drain on the power regulator.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts

index b828677f331d5d6c89763d3e5a76d1779bd583af..ffafe9720b3590126dbc36195b692f85431bfcb9 100644 (file)
        regulator-min-microvolt = <2800000>;
        regulator-max-microvolt = <2800000>;
        regulator-name = "vddio-csi0";
+       regulator-soft-start;
+       regulator-ramp-delay = <1600>;
 };
 
 &reg_ldo4 {