dt-bindings: gpio: Convert TI TPIC2810 GPIO Controller bindings to YAML
Subsystems (2)
PATCH v4 1/1 dt-bindings: gpio: Convert TI TPIC2810 GPIO Controller bindings to YAML
Convert gpio-tpic2810 bindings to yaml format and remove outdated bindings in .txt format.
---
v3 -> v4: Add gpio-line-names property
v2 -> v3: Remove redundant descriptions and make minor change in example v1 -> v2: Fix identation issues and update commit message
.../bindings/gpio/gpio-tpic2810.txt | 16 ------ .../bindings/gpio/gpio-tpic2810.yaml | 51 +++++++++++++++++++ 2 files changed, 51 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 +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.17.1
Rob Herring
maintainerQuoted 10 lines · Aparna M
Convert gpio-tpic2810 bindings to yaml format and remove outdated bindings in .txt format.
Signed-off-by Aparna M <[email protected]>---
v3 -> v4: Add gpio-line-names property
v2 -> v3: Remove redundant descriptions and make minor change in example v1 -> v2: Fix identation issues and update commit message
Quoted 6 lines
.../bindings/gpio/gpio-tpic2810.txt | 16 ------ .../bindings/gpio/gpio-tpic2810.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 16 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt create mode 100644 Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:./Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml:10:4: [warning] wrong indentation: expected 2 but found 3 (indentation) ./Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml:30:5: [warning] wrong indentation: expected 2 but found 4 (indentation)
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/patch/1596522
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit.