From: shc_work@mail•ru (Alexander Shiyan)
To: linux-arm-kernel@lists•infradead.org
Subject: Re: gpio-mxc gpio get always returns 0 for outputs for IMX6
Date: Fri, 11 Jul 2014 20:16:43 +0400 [thread overview]
Message-ID: <1405095403.667469987@f367.i.mail.ru> (raw)
In-Reply-To: <20140711160238.GD21766@n2100.arm.linux.org.uk>
Fri, 11 Jul 2014 17:02:38 +0100 ?? Russell King - ARM Linux <linux@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.
---
next prev parent reply other threads:[~2014-07-11 16:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 15:34 gpio-mxc gpio get always returns 0 for outputs for IMX6 Tim Harvey
2014-07-11 16:02 ` Russell King - ARM Linux
2014-07-11 16:16 ` Alexander Shiyan [this message]
2014-07-11 16:22 ` Russell King - ARM Linux
2014-07-14 3:01 ` Fabio Estevam
2014-07-14 7:04 ` Shawn Guo
2014-07-14 12:56 ` Benoît Thébaudeau
2014-07-14 14:05 ` Shawn Guo
2014-07-15 17:28 ` Tim Harvey
2014-07-16 6:01 ` Shawn Guo
2014-07-16 19:14 ` Benoît Thébaudeau
2014-07-17 2:41 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405095403.667469987@f367.i.mail.ru \
--to=shc_work@mail$(echo .)ru \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox