]> git.sur5r.net Git - u-boot/commit
rockchip: gpio: Implement the get_function() method
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:09 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commit486478282e537f0e594ec68d6d7481e3220a7b47
treec4f3cb89bdbf59864eae0febc2d9a6742bd53054
parent7d0c2c3feb2edeff73654fb851de2580966e24c5
rockchip: gpio: Implement the get_function() method

Provide this method so that 'gpio status' works fully. It now shows
whether a pin is used for input, output or some other function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/rk_gpio.c