Re: [PATCH 2/7] imx/gpio: make gpio_get_value actually work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Mon, Apr 19, 2010 at 10:28:13AM +0200, Wolfram Sang wrote:
> From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> 
> Newer i.MX-variants can route the content of the Sample Status Register to the
> Data Register, but older ones can't. So, use the Sample Register to be generic.
> As a drawback, the ability to read back the values of output GPIOs is lost.
AFAIK the last sentence (that was authored by Wolfram, though the patch
is mine) is wrong.  I checked mx27 and mx35 specs and both the overview
and the actual description suggest that reading output values works
(using PSR aka SSR) when the iomuxer is configured for GPIO.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux