From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] pinctrl: rockchip: add support for the rk3399
Date: Wed, 27 Jan 2016 15:10:19 +0100 [thread overview]
Message-ID: <1664345.86tvmnNB3Q@diego> (raw)
In-Reply-To: <CACRpkdb6Cooo-_eBKJn-SdFkGPg2hR9nud7Tq6aa+bmkDuOEmg@mail.gmail.com>
Am Mittwoch, 27. Januar 2016, 15:02:18 schrieb Linus Walleij:
> On Thu, Jan 7, 2016 at 8:41 AM, David Wu <wdc@rock-chips.com> wrote:
> > From: David Wu <david.wu@rock-chips.com>
> >
> > The pinctrl of rk3399 is much different from other's,
> > especially the 3bits of drive strength.
> >
> > Signed-off-by: David Wu <david.wu@rock-chips.com>
> > ---
> > change from v1:
> > - need spin_unlock_irqrestore for set drive default case
>
> Heiko can you please look at this patch?
sorry, about that falling so far down my inbox. I'll try to look at it today
or tomorrow.
But overall it looks good.
@David: if you wake up before I manage to review more in-depth, the
"reading register twice" (+writing counterpart)
+ /* need to read regs twice */
+ ret = regmap_read(regmap, reg, &temp);
+ if (ret)
+ return ret;
should definitly get more explanation on how that access scheme works. Seems to
be some special register access method with the register returning different
values each time? As I don't have a manual for the soc yet this is definitly
curious for me :-)
>
> > + { .compatible = "rockchip,rk3399-pinctrl",
> > + .data = (void *)&rk3399_pin_ctrl },
>
> I guess this requires a small patch to some binding file.
> It's OK to fold that into this patch.
@David:
Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt
next prev parent reply other threads:[~2016-01-27 14:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-05 12:30 [PATCH] pinctrl: rockchip: add support for the rk3399 David Wu
2016-01-07 7:41 ` [PATCH v2] " David Wu
2016-01-27 14:02 ` Linus Walleij
2016-01-27 14:10 ` Heiko Stübner [this message]
2016-01-28 16:56 ` Heiko Stübner
2016-01-29 11:35 ` David.Wu
2016-01-30 11:31 ` [PATCH v3 0/2] add pinctrl support for rk3399 David Wu
2016-01-30 11:31 ` [PATCH v3 1/2] pinctrl: rockchip: add support for the rk3399 David Wu
2016-01-30 11:31 ` [PATCH v3 2/2] dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible David Wu
2016-01-30 12:16 ` Heiko Stuebner
2016-02-01 2:35 ` David.Wu
2016-02-11 13:52 ` Linus Walleij
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=1664345.86tvmnNB3Q@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).