gpio: generic: support input-only chips
authorRabin Vincent <rabin@rab.in>
Wed, 22 Jul 2015 13:05:18 +0000 (15:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 13:01:05 +0000 (15:01 +0200)
commit91492a44b998cf762150de8f1b40bda1902e8ea7
tree31ca1c400a6e8d0921125fbe20b156eb35db25de
parent1296fba1a397b173d45534885a0934a7c005d7e3
gpio: generic: support input-only chips

Allow chips to indicates that they are input-only and thus cannot set
the output value.  This will be used by the gpio-etraxfs driver.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-generic.c
include/linux/basic_mmio_gpio.h