[PATCH v2 01/20] dt-bindings: gpio: twl4030: Document REGEN GPIO
From: H. Nikolaus Schaller
Date: Tue Nov 24 2026 - 02:27:58 EST
Document the optional ti,use-regen property for the TWL4030 GPIO
controller. It exposes the REGEN power-management output through the
GPIO controller so that device tree consumers can control it using a
GPIO specifier.
The property is opt-in to preserve the existing GPIO numbering for
systems that do not use REGEN as a GPIO.
Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---
Notes:
Changes against V1:
- Replaces the former REGEN regulator binding following Mark Brown's
recommendation to model the control signal as a GPIO and
Krzysztof Kozlowski's binding review.
- Expand the binding commit message to explain why REGEN exposure is
opt-in and how consumers use it.
- Commit-message review assisted by ChatGPT.
Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml b/Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml
index 96d50d14c0710..25ba4328ac2d0 100644
--- a/Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml
@@ -47,6 +47,10 @@ properties:
type: boolean
description: Enables LEDA and LEDB outputs if set
+ ti,use-regen:
+ type: boolean
+ description: Enables the REGEN output as a GPIO if set
+
additionalProperties: false
examples:
--
2.56.0