From: Shawn Guo <shawn.guo@freescale.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Linus Walleij <linus.walleij@stericsson.com>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Grant Likely <grant.likely@secretlab.ca>,
Stephen Warren <swarren@nvidia.com>,
Barry Song <21cnbao@gmail.com>, Lee Jones <lee.jones@linaro.org>,
Joe Perches <joe@perches.com>,
Russell King <linux@arm.linux.org.uk>,
Linaro Dev <linaro-dev@lists.linaro.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
David Brown <davidb@codeaurora.org>,
Stijn Devriendt <highguy@gmail.com>
Subject: Re: [PATCH 1/2] drivers: create a pin control subsystem v9
Date: Mon, 10 Oct 2011 20:30:19 +0800 [thread overview]
Message-ID: <20111010123018.GD24198@S2100-06.ap.freescale.net> (raw)
In-Reply-To: <CACRpkdbdz0FE57TdVryKD+X2=1sf-M9NgiZzm+Sm+WYhU6n_bQ@mail.gmail.com>
On Mon, Oct 10, 2011 at 10:23:53AM +0200, Linus Walleij wrote:
> On Sun, Oct 9, 2011 at 11:36 AM, Shawn Guo <shawn.guo@freescale.com> wrote:
>
> >> + * @hog_on_boot: if this is set to true, the regulator subsystem will itself
> > ^^^^^^^^^
> > s/regulator/pinmux?
>
> Yep!
>
> >> +#endif /* !CONFIG_PINCTRL */
> >
> > s/!CONFIG_PINCTRL/CONFIG_PINMUX?
>
> Yep!
>
> Foldes into original patch with a fixup comment.
>
> Can I have your Reviewed-by: tag on this subsystem?
>
Sorry, not yet. This is not a full review. I'm trying to migrate imx
pinctrl to the subsystem. And all these are just some random spotting.
Another couple of typo on pinctrl.txt?
> diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt
> new file mode 100644
> index 0000000..2915fea
> --- /dev/null
> +++ b/Documentation/pinctrl.txt
> @@ -0,0 +1,951 @@
[...]
> +The example 8x8 PGA package above will have pin numbers 0 thru 63 assigned to
> +its physical pins. It will name the pins { A1, A2, A3 ... H6, H7, H8 } using
> +pinctrl_register_pins_[sparse|dense]() and a suitable data set as shown
It should just be pinctrl_register_pins()?
> +earlier.
[...]
> +System pinmux hogging
> +=====================
> +
> +A system pinmux map entry, i.e. a pinmux setting that does not have a device
> +associated with it, can be hogged by the core when the pin controller is
> +registered. This means that the core will attempt to call regulator_get() and
> +regulator_enable() on it immediately after the pin control device has been
> +registered.
s/regulator_get/pinmux_get, and s/regulator_enable/pinmux_enable
--
Regards,
Shawn
next prev parent reply other threads:[~2011-10-10 12:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-03 8:17 Linus Walleij
2011-10-09 9:36 ` Shawn Guo
2011-10-10 8:23 ` Linus Walleij
2011-10-10 12:30 ` Shawn Guo [this message]
2011-10-10 12:27 ` Linus Walleij
2011-10-13 0:55 ` Chanho Park
2011-10-13 10:04 ` Linus Walleij
2011-10-14 9:12 ` Chanho Park
2011-10-16 20:22 ` Linus Walleij
2011-10-13 3:18 ` Grant Likely
2011-10-13 10:39 ` 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=20111010123018.GD24198@S2100-06.ap.freescale.net \
--to=shawn.guo@freescale.com \
--cc=21cnbao@gmail.com \
--cc=davidb@codeaurora.org \
--cc=grant.likely@secretlab.ca \
--cc=highguy@gmail.com \
--cc=joe@perches.com \
--cc=lee.jones@linaro.org \
--cc=linaro-dev@lists.linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=s.hauer@pengutronix.de \
--cc=swarren@nvidia.com \
/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
all inboxes | Powered by JetHome®