pinctrl: mcp23s08: add pinconf support
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 15 May 2017 09:24:26 +0000 (11:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 May 2017 07:46:32 +0000 (09:46 +0200)
commit82039d244f87b6c47e880b398414da55d4f48e06
treedd6d36c7668390199abe0eec65b93a7fed39f7f9
parent64ac43e6fa283f556f0a8f69ad52d6e7d550307d
pinctrl: mcp23s08: add pinconf support

mcp23xxx device have configurable 100k pullup resistors. This adds
support for enabling them using pinctrl's pinconf interface.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig
drivers/pinctrl/pinctrl-mcp23s08.c