Skip to contentSkip to conversation

dt-bindings: gpio: lsi,zevio-gpio: convert to YAML

PATCH In review Andrew Davis 3 participants 3 messages Jun 11, 2024 – Jun 12, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: gpio: lsi,zevio-gpio: convert to YAML

Convert Zevio GPIO controller bindings to DT schema.

Changes during conversion:
- Add used but undocumented interrupts property

---
 .../devicetree/bindings/gpio/gpio-zevio.txt   | 16 -------
 .../bindings/gpio/lsi,zevio-gpio.yaml         | 46 +++++++++++++++++++
 2 files changed, 46 insertions(+), 16 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-zevio.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml
Documentation/devicetree/bindings/gpio/gpio-zevio.txt deleted +0 -16
deleted file mode 100644
index a37bd9ae27307..0000000000000
@@ -1,16 +0,0 @@
-Zevio GPIO controller
-
-Required properties:
-- compatible: Should be "lsi,zevio-gpio"
-- reg: Address and length of the register set for the device
-- #gpio-cells: Should be two. The first cell is the pin number and the
-  second cell is used to specify optional parameters (currently unused).
-- gpio-controller: Marks the device node as a GPIO controller.
-
-Example:
-	gpio: gpio@90000000 {
-		compatible = "lsi,zevio-gpio";
-		reg = <0x90000000 0x1000>;
-		gpio-controller;
-		#gpio-cells = <2>;
-	};
Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml new file +46 -0

46 lines not on this page · raw message

Signature · 1 line
2.39.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Andrew Davis

Convert Zevio GPIO controller bindings to DT schema.

Changes during conversion:
- Add used but undocumented interrupts property

An interrupt on a GPIO controller generally means it is also an interrupt-controller. Do you need to add those properties too?

Quoted 8 lines
---
 .../devicetree/bindings/gpio/gpio-zevio.txt   | 16 -------
 .../bindings/gpio/lsi,zevio-gpio.yaml         | 46 +++++++++++++++++++
 2 files changed, 46 insertions(+), 16 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-zevio.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml

Otherwise,

#2 lore raw
In reply to Andrew Davis
Quoted 8 lines · Andrew Davis

Convert Zevio GPIO controller bindings to DT schema.

Changes during conversion:
- Add used but undocumented interrupts property

---

The conversion of this file by another author is already in next as commit e4608bbccf2b ("dt-bindings: gpio: lsi,zevio-gpio: convert to dtschema").

Bart