diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-21 22:51:22 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-23 15:13:04 +0200 |
commit | 81d3753d9ea540c38b906399822a963e3b44a045 (patch) | |
tree | 06e58a6236f9a7d62ed317a2aa72e7995e3116d2 /drivers/gpio/gpio-zynq.c | |
parent | gpio: aspeed: remove redundant return value check (diff) | |
download | linux-81d3753d9ea540c38b906399822a963e3b44a045.tar.xz linux-81d3753d9ea540c38b906399822a963e3b44a045.zip |
gpio: axp209: Implement get_direction
Implement the get_direction callback for the GPIOs found in the AXP209
PMIC.
Due to the way they are implemented, in the same register you have the
muxing options, GPIO directions and GPIO values. Since you have no control
over what value is there at reset, simply use output as the default.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-zynq.c')
0 files changed, 0 insertions, 0 deletions