Message ID | 1511252491-79952-3-git-send-email-preid@electromag.com.au |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | pinctrl: mcp32s08: add open drain config for irq | expand |
Hi, On Tue, Nov 21, 2017 at 04:21:28PM +0800, Phil Reid wrote: > This flag set the mcp23s08 device irq type to open drain active low. > > Signed-off-by: Phil Reid <preid@electromag.com.au> > --- Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> -- Sebastian > Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt > index 9c451c2..a5a8322 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt > @@ -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 > -- > 1.8.3.1 >
On Tue, Nov 21, 2017 at 04:21:28PM +0800, Phil Reid wrote: > This flag set the mcp23s08 device irq type to open drain active low. > > Signed-off-by: Phil Reid <preid@electromag.com.au> > --- > Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring <robh@kernel.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt index 9c451c2..a5a8322 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt @@ -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
This flag set the mcp23s08 device irq type to open drain active low. Signed-off-by: Phil Reid <preid@electromag.com.au> --- Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt | 2 ++ 1 file changed, 2 insertions(+)