Re: gpio-mxc gpio get always returns 0 for outputs for IMX6

Alexander Shiyan shc_work at mail.ru
Fri Jul 11 09:16:43 PDT 2014


Fri, 11 Jul 2014 17:02:38 +0100 от Russell King - ARM Linux <linux at arm.linux.org.uk>:
> On Fri, Jul 11, 2014 at 08:34:19AM -0700, Tim Harvey wrote:
> > I've noticed that for IMX6 the gpio-mxc gpio driver always returns 0
> > for gpio's configured as outputs regardless of if they are outputing
> > high or low.
> 
> There's a different way which this can be solved - set the SION but on
> your GPIOs.  You will then be able to read back the state of the
> output pin.

AFAIK, SION is not affected for pins configured as GPIO.
Please FIX ME if my opinion is wrong.

---



More information about the linux-arm-kernel mailing list