Files
u-boot-tk1-som/drivers
Benoît Thébaudeau 5dafa4543c mxc: Make gpio_get_value() use PSR
gpio_get_value() should use PSR like Linux, not DR, because DR does not always
reflect the pin state, while PSR does. This is especially useful to detect a
short circuit on a GPIO pin configured as output, or to read the level of a pin
controlled by a non-GPIO IOMUX function.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
2012-09-01 14:58:28 +02:00
..
2012-07-08 22:15:08 +02:00
2012-09-01 14:58:28 +02:00
2012-09-01 14:58:21 +02:00
2012-05-15 08:31:34 +02:00
2012-03-26 23:09:23 +02:00
2012-05-15 08:31:37 +02:00
2012-05-22 13:41:48 -05:00
2012-09-01 14:58:25 +02:00