[PATCH 03/16] arm: dts: twl4030: add twl4030-regen child

From: H. Nikolaus Schaller

Date: Sat Jul 11 2026 - 02:09:21 EST


From: Grond <grond66@xxxxxxxxxx>

This is needed on some boards (for example, the Pandora), where REGEN is
used to drive external regulators.

Signed-off-by: Grond <grond66@xxxxxxxxxx>
---
arch/arm/boot/dts/ti/omap/twl4030.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/ti/omap/twl4030.dtsi b/arch/arm/boot/dts/ti/omap/twl4030.dtsi
index 07b9ca942e78d..e6f80b8f0a731 100644
--- a/arch/arm/boot/dts/ti/omap/twl4030.dtsi
+++ b/arch/arm/boot/dts/ti/omap/twl4030.dtsi
@@ -112,6 +112,20 @@ vsim: regulator-vsim {
regulator-max-microvolt = <3000000>;
};

+ regen: regulator-regen {
+ compatible = "ti,twl4030-regen";
+ /*
+ * Since REGEN is technically just a signal that actuates an
+ * external regulator, we do not know what voltage it will
+ * eventually have, or what it's on/off timing should be.
+ * Therefore, disable it here; boards that use it can override
+ * the status to "okay" once they have set the
+ * regulator-{min,max}-microvolt and startup-delay-us
+ * attributes.
+ */
+ status = "disabled";
+ };
+
twl_gpio: gpio {
compatible = "ti,twl4030-gpio";
gpio-controller;
--
2.50.1 (Apple Git-155)