dt-bindings: gpio: Convert TI TPIC2810 GPIO Controller bindings to yaml
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Bart,
This is the latest patch resend. I'm not sure why patchwork has not been able to pick it up.
Regards,
Aparna
-----Original Message-----
From: M, Aparna
Sent: Wednesday, September 22, 2021 5:37 PM
To: Govindraju, Aswath <[email protected]>; [email protected]; [email protected]; Raghavendra, Vignesh <[email protected]>; Strashko, Grygorii <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; M, Aparna <[email protected]>
Subject: [PATCH RESEND] dt-bindings: gpio: Convert TI TPIC2810 GPIO Controller bindings to yaml
* Convert gpio-tpic2810 bindings to yaml format
* Remove outdated gpio-tpic2810 bindings in .txt format
Signed-off-by Aparna M <[email protected]>
--- .../bindings/gpio/gpio-tpic2810.txt | 16 -------- .../bindings/gpio/gpio-tpic2810.yaml | 41 +++++++++++++++++++ 2 files changed, 41 insertions(+), 16 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt create mode 100644 Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml
Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt deleted +0 -16
@@ -1,16 +0,0 @@ -TPIC2810 GPIO controller bindings - -Required properties: - - compatible : Should be "ti,tpic2810". - - reg : The I2C address of the device - - gpio-controller : Marks the device node as a GPIO controller. - - #gpio-cells : Should be two. For consumer use see gpio.txt. - -Example: - - gpio@60 { - compatible = "ti,tpic2810"; - reg = <0x60>; - gpio-controller; - #gpio-cells = <2>; - };
Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml new file +40 -0
@@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-tpic2810.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TPIC2810 GPIO controller bindings + +maintainers: + - Aswath Govindraju <[email protected]> + +properties: + compatible: + enum: + - ti,tpic2810 + + reg: + maxItems: 1 + description: The I2C address of the device + + gpio-controller: true + + "#gpio-cells": + const: 2 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + gpio1: gpio@60 { + compatible = "ti,tpic2810"; + reg = <0x60>; + gpio-controller; + #gpio-cells = <2>; + };
--
2.17.1