From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [RFC] pinctrl: mvebu: reset pins to an UNKNOWN state on startup
Date: Thu, 25 Oct 2012 08:51:31 +0200 [thread overview]
Message-ID: <CACRpkdbth4zGp5ZpwPUDUMag1xNCLbA6L=R9nimGX57Osyb53w@mail.gmail.com> (raw)
In-Reply-To: <20121024222139.40fb2ad5@skate>
On Wed, Oct 24, 2012 at 10:21 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> On Wed, 24 Oct 2012 22:15:45 +0200, Andrew Lunn wrote:
>> If you compare the two, you can see that pin 6 has probably been set by
>> uboot, but not by DT.
>
> Indeed, by correlating the two files, you can get a good view of which
> pins are configured even though no driver has claimed them.
If it is useful, please consider introducing new debugfs files, that thing
is supposed to be helpful.
For example: if a <debugfs>/pinctrl/pinctrl-foo/pins-probe-state
caching and providing the power-on-state of all pins is useful,
then just add that mechanism to the pinctrl core I'd say.
Yours,
Linus Walleij
next prev parent reply other threads:[~2012-10-25 6:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 19:18 [PATCH] [RFC] pinctrl: mvebu: reset pins to an UNKNOWN state on startup Thomas Petazzoni
2012-10-24 19:38 ` Sebastian Hesselbarth
2012-10-24 19:51 ` Thomas Petazzoni
2012-10-24 20:15 ` Andrew Lunn
2012-10-24 20:21 ` Thomas Petazzoni
2012-10-25 6:51 ` Linus Walleij [this message]
2012-10-25 6:46 ` Linus Walleij
2012-10-25 10:27 ` Mark Brown
2012-10-25 15:47 ` Stephen Warren
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='CACRpkdbth4zGp5ZpwPUDUMag1xNCLbA6L=R9nimGX57Osyb53w@mail.gmail.com' \
--to=linus.walleij@linaro.org \
--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).