[Letux-kernel] [Internal RFC 13/16] arm: dts: omap3pandora: Populate DT data for the TWL4030's REGEN regulator
H. Nikolaus Schaller
hns at goldelico.com
Wed Sep 7 20:01:52 CEST 2022
From: Grond <grond66 at riseup.net>
On the Pandora, REGEN is used to enable TPS61029DRC external regulator
which runs a 5V power rail. The 5ms startup delay is taken from Pandora's
3.2 kernel, where it is labeled as a "guess". So it may be possible to
activate the regulator faster.
On Pandora CC units, this regulator is used as the input to the LCD power
supply. Therefore, problems are likely to arise if the regulator is ever
disabled, so we add the regulator-always-on property to compensate.
Signed-off-by: Grond <grond66 at riseup.net>
Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
arch/arm/boot/dts/omap3-pandora-common.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-pandora-common.dtsi b/arch/arm/boot/dts/omap3-pandora-common.dtsi
index 4483856f506a1..23cc3f3606ad7 100644
--- a/arch/arm/boot/dts/omap3-pandora-common.dtsi
+++ b/arch/arm/boot/dts/omap3-pandora-common.dtsi
@@ -493,6 +493,14 @@ &vsim {
regulator-always-on;
};
+®en {
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ startup-delay-us = <5000>;
+ regulator-always-on;
+ status = "okay";
+};
+
&i2c2 {
clock-frequency = <100000>;
/* no clients so we should disable clock */
--
2.33.0
More information about the Letux-kernel
mailing list