From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: gpio-mxc gpio get always returns 0 for outputs for IMX6
Date: Fri, 11 Jul 2014 17:02:38 +0100 [thread overview]
Message-ID: <20140711160238.GD21766@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAJ+vNU3w9Oi+dErmy9x8g6ps=eLHLNLO-w7=gn_8JtY4Kab6JQ@mail.gmail.com>
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.
--
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
next prev parent reply other threads:[~2014-07-11 16:02 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 [this message]
2014-07-11 16:16 ` Alexander Shiyan
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=20140711160238.GD21766@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).