[PATCH 2/7] imx/gpio: make gpio_get_value actually work
Wolfram Sang
w.sang at pengutronix.de
Mon Apr 19 23:36:09 EDT 2010
On Mon, Apr 19, 2010 at 10:54:27AM +0200, Uwe Kleine-König wrote:
> Hello,
>
> On Mon, Apr 19, 2010 at 10:28:13AM +0200, Wolfram Sang wrote:
> > From: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> >
> > 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.
Might be that I misinterpreted something. Sascha, can you second Uwe?
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20100420/14c94262/attachment.sig>
More information about the barebox
mailing list