From: b32955@freescale.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 2/4] ARM: mxs: add new a pad control
Date: Fri, 8 Jul 2011 13:28:03 +0800 [thread overview]
Message-ID: <1310102885-4102-3-git-send-email-b32955@freescale.com> (raw)
In-Reply-To: <1310102885-4102-1-git-send-email-b32955@freescale.com>
add a new pad control which is used in some rare cases,
such as gpmi-nand device.
Signed-off-by: Huang Shijie <b32955@freescale.com>
---
arch/arm/mach-mxs/include/mach/iomux.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mxs/include/mach/iomux.h b/arch/arm/mach-mxs/include/mach/iomux.h
index 7abdf58..1f31762 100644
--- a/arch/arm/mach-mxs/include/mach/iomux.h
+++ b/arch/arm/mach-mxs/include/mach/iomux.h
@@ -94,6 +94,9 @@ typedef u32 iomux_cfg_t;
/* generic pad control used in most cases */
#define MXS_PAD_CTRL (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL)
+/* special pad control used in rare cases */
+#define MXS_PAD_CTRL_12MA (MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_NOPULL)
+
#define MXS_IOMUX_PAD(_bank, _pin, _muxsel, _ma, _vol, _pull) \
(((iomux_cfg_t)(_bank) << MXS_PAD_BANK_SHIFT) | \
((iomux_cfg_t)(_pin) << MXS_PAD_PIN_SHIFT) | \
--
1.7.0.4
next prev parent reply other threads:[~2011-07-08 5:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 5:28 [PATCH v6 0/4] add the GPMI-NAND support for imx23/imx28 Huang Shijie
2011-07-08 5:28 ` [PATCH v6 1/4] ARM: mxs: add " Huang Shijie
2011-07-08 6:53 ` Uwe Kleine-König
2011-07-08 7:01 ` Huang Shijie
2011-07-08 19:07 ` Wolfram Sang
2011-07-11 5:16 ` Huang Shijie
2011-07-08 5:28 ` Huang Shijie [this message]
2011-07-08 7:23 ` [PATCH v6 2/4] ARM: mxs: add new a pad control Uwe Kleine-König
2011-07-08 7:30 ` Huang Shijie
2011-07-08 5:28 ` [PATCH v6 3/4] ARM: mxs/mx23evk: add GPMI-NAND device Huang Shijie
2011-07-08 5:28 ` [PATCH v6 4/4] ARM: mxs/mx28evk: " Huang Shijie
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=1310102885-4102-3-git-send-email-b32955@freescale.com \
--to=b32955@freescale.com \
--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).