gpio: generic: add get_direction support
Allow to determine the current direction configuration by reading back from the direction register. Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de> Acked-by: NAlexandre Courbot <acourbot@nvidia.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Showing
想要评论请 注册 或 登录