From: Chris Packham <Chris.Packham@alliedtelesis.co.nz>
To: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: pinctrl: kirkwood: gpio mode not being selected
Date: Tue, 28 Jul 2020 04:53:31 +0000 [thread overview]
Message-ID: <cd7367f5-d08f-44a4-33b8-3667e7ca735a@alliedtelesis.co.nz> (raw)
Hi,
I'm in the process updating our platforms from a v4.4.x based kernel to
a v5.7 based one.
On one of our Marvell Kirkwood based boards I'm seeing a problem where a
gpio isn't being driven (the gpio happens to be a reset to a PHY chip
that our userspace switching code is attempting to talk to).
Our bootloader is inadvertently configuring MPP15 into uart0 RTS mode
(probably a copy and paste from the reference board).
Under the v4.4 kernel by the time userspace gets started the MPP15 pin
has been put into GPIO mode. With the latest v5.7 kernel the incorrect
mode is retained.
I haven't gone bisecting but I'm guessing something somewhere has
decided not to put the pin into GPIO mode (because that is the hardware
default).
I probably need to define an explicit pinctrl node in my dts, but I
wanted to make sure that this was an intentional change in behaviour.
Thanks,
Chris
reply other threads:[~2020-07-28 4:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=cd7367f5-d08f-44a4-33b8-3667e7ca735a@alliedtelesis.co.nz \
--to=chris.packham@alliedtelesis.co.nz \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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).