From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] pinctrl: imx: work around select input quirk
Date: Wed, 7 Aug 2013 20:31:32 +0200 [thread overview]
Message-ID: <CACRpkdZ+eEwBL_VwnG4FH0ENSEFD+8hPb0mgPygvdSZSdLMMkQ@mail.gmail.com> (raw)
In-Reply-To: <1375623563-23706-1-git-send-email-shawn.guo@linaro.org>
On Sun, Aug 4, 2013 at 3:39 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> The select input for some pin may not be implemented using the regular
> select input register but the general purpose register. A real example
> is that imx6q designers found the select input for USB OTG ID pin is
> missing at the very late stage, and can not add a new select input
> register but have to use a general purpose register bit to implement it.
>
> The patch adds a workaround for such select input quirk by interpreting
> the input_val cell of pin function ID in a different way, so that all
> the info that needed for setting up select input bits in general purpose
> register could be decoded from there.
>
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
> Tested-by: Peter Chen <peter.chen@freescale.com>
> ---
> Changes since v1:
> * For quirky select input where IOMUXC general purpose register is
> used, the register could be possibly at offset 0. Cover this case
> in v2.
Patch applied.
Yours,
Linus Walleij
prev parent reply other threads:[~2013-08-07 18:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-04 13:39 [PATCH v2] pinctrl: imx: work around select input quirk Shawn Guo
2013-08-07 18:31 ` Linus Walleij [this message]
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=CACRpkdZ+eEwBL_VwnG4FH0ENSEFD+8hPb0mgPygvdSZSdLMMkQ@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).