[PATCH v2 2/2] GPIO: LPC32xx: Add output reading to GPO P3

Kevin Wells kevin.wells at nxp.com
Fri Feb 24 19:26:37 EST 2012


>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
>
>Signed-off-by: Roland Stigge <stigge at antcom.de>
>

I hate to be picky on this one, but can a comment be added that this only
reads the programmed output state and not the actual state of the pin?
(Unfortunately) GPO pins have no method to monitor their actual output
state.




More information about the linux-arm-kernel mailing list