dt-bindings: pinctrl: mcp23s08: add documentation for reset-gpios
authorAndreas Kaessens <akaessens@gmail.com>
Thu, 10 Jun 2021 13:24:38 +0000 (15:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jun 2021 23:58:10 +0000 (01:58 +0200)
The reset-gpios property is added to the optional dt-bindings and
also an example for it's usage.

Signed-off-by: Andreas Kaessens <akaessens@gmail.com>
Signed-off-by: Darian Biastoch <d.biastoch@gmail.com>
Link: https://lore.kernel.org/r/20210610132438.3085841-2-akaessens@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt

index 6ec3c8d79f496b52f86ddeeb223464997d9eb269..2fa5edac7a35a6bce0b243789fd73d66ebc853c9 100644 (file)
@@ -49,6 +49,7 @@ Optional properties:
 - interrupt-controller: Marks the device node as a interrupt controller.
 - drive-open-drain: Sets the ODR flag in the IOCON register. This configures
         the IRQ output as open drain active low.
+- reset-gpios: Corresponds to the active-low RESET# pin for the chip
 
 Optional device specific properties:
 - microchip,irq-mirror: Sets the mirror flag in the IOCON register. Devices
@@ -135,6 +136,7 @@ gpio21: gpio@21 {
        microchip,irq-mirror;
        pinctrl-names = "default";
        pinctrl-0 = <&i2cgpio0irq>, <&gpio21pullups>;
+       reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
 
        gpio21pullups: pinmux {
                pins =  "gpio0", "gpio1", "gpio2", "gpio3",