From: Grond <[email protected]> This is needed on some boards (for example, the Pandora), where REGEN is used to drive external regulators.
Signed-off-by: Grond <[email protected]> --- 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)
