From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: rockchip: fix rk3288 gpio0 pull up configuration
Date: Fri, 08 Aug 2014 16:09:36 +0200 [thread overview]
Message-ID: <3160375.WuYbctxldE@diego> (raw)
In-Reply-To: <CACRpkdZUSziMwd+_uf7dQepQEyG1wQJnV9zkUML=NtLhft4NUQ@mail.gmail.com>
Am Freitag, 8. August 2014, 15:37:46 schrieb Linus Walleij:
> On Wed, Jul 30, 2014 at 5:21 AM, Sonny Rao <sonnyrao@chromium.org> wrote:
> > On rk3288, for gpio bank 0, the registers which configure pull-ups
> > don't implement the enable bits in the upper half of the register,
> > unlike the other gpio configuration registers, and so the kernel
> > must perform a read-modify-write of the register to update a
> > particular gpio's pull up settings in that bank.
> >
> > The current code is actually clobbering the contents of the register,
> > so this fixes it by using regmap_update_bits and masking out only the
> > bits which require updating. In the case of gpio0 on rk3288 the upper
> > enable bits will just get ignored, and the other configurations won't
> > get clobbered.
> >
> > Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
>
> Waiting for a v2 fixing the other issues pointed out by Heiko.
Sonny posted v2 on 2014-08-01 as reply to my comment, but it might still be
sitting in your inbox-backlog :-)
Checking Sonny's v2-mail again I see that you did somehow land in the Cc-list
and not the To-list, which might be the reason you didn't see it yet?
Heiko
next prev parent reply other threads:[~2014-08-08 14:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 3:21 [PATCH] pinctrl: rockchip: fix rk3288 gpio0 pull up configuration Sonny Rao
2014-07-30 9:22 ` Heiko Stübner
2014-08-01 5:58 ` [PATCH v2] pinctrl: rockchip: fix rk3288 gpio0 configuration Sonny Rao
2014-08-01 9:24 ` Heiko Stübner
2014-08-01 15:55 ` Doug Anderson
2014-08-11 6:50 ` Linus Walleij
2014-08-08 13:37 ` [PATCH] pinctrl: rockchip: fix rk3288 gpio0 pull up configuration Linus Walleij
2014-08-08 14:09 ` Heiko Stübner [this message]
2014-08-08 17:45 ` Sonny Rao
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=3160375.WuYbctxldE@diego \
--to=heiko@sntech.de \
--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).