]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: pinctrl: mcp23s08: add documentation for drive-open-drain
authorPhil Reid <preid@electromag.com.au>
Mon, 19 Feb 2018 09:25:19 +0000 (17:25 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 15:06:05 +0000 (16:06 +0100)
This flag set the mcp23s08 device irq type to open drain active low.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt

index 9c451c20dda47c390101024dc247b10f0d7f5c10..a5a8322a31bda245497776187a4d393e091c7349 100644 (file)
@@ -45,6 +45,8 @@ Optional properties:
   - first cell is the pin number
   - second cell is used to specify flags.
 - 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.
 
 Optional device specific properties:
 - microchip,irq-mirror: Sets the mirror flag in the IOCON register. Devices