gpio: syscon: add soc specific callback to assign output value
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 3 Sep 2014 17:05:32 +0000 (20:05 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Sep 2014 21:39:00 +0000 (14:39 -0700)
commit2c341d62eb4b697793c29da51fda64328df5ff59
treecc7498188e19a43f58f7f3e8258b1e62a57c168f
parent3af0dbd592fe0a92002f16e341519ba03e92adf7
gpio: syscon: add soc specific callback to assign output value

Some SoCs (like Keystone) may require to perform special
sequence of operations to assign output GPIO value, so default
implementation of .set() callback from gpio-syscon driver
can't be used.

Hence, add optional, SoC specific callback to assign output
gpio value.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-syscon.c