Simon Glass
486478282e
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>
2016-01-21 20:42:35 -07:00
Simon Glass
7d0c2c3feb
rockchip: gpio: Read the GPIO value correctly
...
This function should return 0 or 1, not a mask. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
2016-01-21 20:42:35 -07:00
Simon Glass
1f8f7730a8
rockchip: gpio: Add rockchip GPIO driver
...
This supports RK3288 at present. It does not implement functions or support
for pull up/down.
Signed-off-by: Simon Glass <sjg@chromium.org>
2015-09-02 21:28:23 -06:00