Skip to contentSkip to conversation

dt-bindings: gpio: Convert ti,twl4030-gpio to DT schema

PATCH Applied Rob Herring (Arm) 3 participants 4 messages Jul 14, 2025 – Jul 18, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: gpio: Convert ti,twl4030-gpio to DT schema

Convert the TI TWL4030 PMIC GPIO binding to DT schema format. The number of #interrupt-cells was wrong compared to what is in use. Correct it to be 1.

---
 .../devicetree/bindings/gpio/gpio-twl4030.txt | 29 ---------
 .../bindings/gpio/ti,twl4030-gpio.yaml        | 61 +++++++++++++++++++
 2 files changed, 61 insertions(+), 29 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-twl4030.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml
Documentation/devicetree/bindings/gpio/gpio-twl4030.txt deleted +0 -29
deleted file mode 100644
index 66788fda1db3..000000000000
@@ -1,29 +0,0 @@
-twl4030 GPIO controller bindings
-
-Required properties:
-- compatible:
-  - "ti,twl4030-gpio" for twl4030 GPIO controller
-- #gpio-cells : Should be two.
-  - first cell is the pin number
-  - second cell is used to specify optional parameters (unused)
-- gpio-controller : Marks the device node as a GPIO controller.
-- #interrupt-cells : Should be 2.
-- interrupt-controller: Mark the device node as an interrupt controller
-  The first cell is the GPIO number.
-  The second cell is not used.
-- ti,use-leds : Enables LEDA and LEDB outputs if set
-- ti,debounce : if n-th bit is set, debounces GPIO-n
-- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1)
-- ti,pullups : if n-th bit is set, set a pullup on GPIO-n
-- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n
-
-Example:
-
-twl_gpio: gpio {
-    compatible = "ti,twl4030-gpio";
-    #gpio-cells = <2>;
-    gpio-controller;
-    #interrupt-cells = <2>;
-    interrupt-controller;
-    ti,use-leds;
-};
Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml new file +61 -0

61 lines not on this page · raw message

Signature · 1 line
2.47.2
#1 lore raw

From: Bartosz Golaszewski <[email protected]>

Quoted 5 lines · Rob Herring (Arm)

Convert the TI TWL4030 PMIC GPIO binding to DT schema format. The number of #interrupt-cells was wrong compared to what is in use. Correct it to be 1.

Applied, thanks!

[1/1] dt-bindings: gpio: Convert ti,twl4030-gpio to DT schema

      https://git.kernel.org/brgl/linux/c/a12b566ba571aab82f969bc3b137487e61afc976

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>
Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring (Arm)

Am Mon, 14 Jul 2025 15:28:28 -0500
schrieb "Rob Herring (Arm)" <[email protected]>:

Quoted 5 lines

Convert the TI TWL4030 PMIC GPIO binding to DT schema format. The number of #interrupt-cells was wrong compared to what is in use. Correct it to be 1.

Thanks for taking care of it. Now it is in, but anyway:

#3 lore raw
Quoted 8 lines · Andreas Kemnade

Am Mon, 14 Jul 2025 15:28:28 -0500
schrieb "Rob Herring (Arm)" <[email protected]>:

Quoted 4 lines

Convert the TI TWL4030 PMIC GPIO binding to DT schema format. The number of #interrupt-cells was wrong compared to what is in use. Correct it to be 1.

Quoted 5 lines
Quoted 1 line

Thanks for taking care of it. Now it is in, but anyway:

No worries, I updated the tree with your tag.

Bart