]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: mcp23s08: add open drain configuration for irq output
authorPhil Reid <preid@electromag.com.au>
Mon, 19 Feb 2018 09:25:20 +0000 (17:25 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 15:08:59 +0000 (16:08 +0100)
commitfa2b7fae8426e2cd690278e514abcc09e4f89a8f
tree2869ac85c88bbd39c84532d0b2a913f37451c5da
parent39aba4714da62946ef9d081ab6e41462517ccb34
pinctrl: mcp23s08: add open drain configuration for irq output

The mcp23s08 series device can be configured for wired and interrupts
using an external pull-up and open drain output via the IOCON_ODR bit.
And "drive-open-drain" property to enable this.

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Phil Reid <preid@electromag.com.au>
Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-mcp23s08.c