From: Roland Stigge Date: Mon, 5 Mar 2012 22:01:11 +0000 (+0100) Subject: GPIO: LPC32xx: Add output reading to GPO P3 X-Git-Tag: v3.4-rc1~65^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46158aad96b0a90b52fd345f89951a50b3d1a81f;p=pandora-kernel.git GPIO: LPC32xx: Add output reading to GPO P3 The chip offers the function to detect the current state of output of the GPO P3 pins. Useful for reading GPIO output state in Linux' GPIO API, e.g. via sysfs. Please note that this only reads back the currently programmed output state, not the actual electrical level in terms of a GPI function. Finally, GPO3 is still just an output. Signed-off-by: Roland Stigge Acked-by: Arnd Bergmann Signed-off-by: Grant Likely --- Reading git-diff-tree failed