dt-bindings: gpio: lsi,zevio-gpio: convert to YAML
Subsystems (2)
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
@@ -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
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
Signed-off-by Andrew Davis <[email protected]>--- .../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,
Quoted 8 lines · Andrew Davis
Convert Zevio GPIO controller bindings to DT schema.
Changes during conversion:
- Add used but undocumented interrupts propertySigned-off-by Andrew Davis <[email protected]>---
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