Thread (11 messages) 11 messages, 3 authors, 2011-07-11

[PATCH v6 2/4] ARM: mxs: add new a pad control

flat view
STALE5577d SUPERSEDED

From: Uwe Kleine-König <hidden>
Date: 2011-07-08 07:23:59

Revision v6 of 5 in this series.

Revisions (5)
  1. v6
  2. v6 current
  3. v6
  4. v7 [diff vs current]
  5. v8 [diff vs current]
On Fri, Jul 08, 2011 at 01:28:03PM +0800, Huang Shijie wrote:
quoted hunk ↗ jump to hunk
add a new pad control which is used in some rare cases,
such as gpmi-nand device.

Signed-off-by: Huang Shijie <redacted>
---
 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 */
I'd not talk about "rare cases" in the comment. It applies to most pads,
that they are used rarely (at most once per machine :-)
+#define MXS_PAD_CTRL_12MA	(MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_NOPULL)
But other than that I fully support this definition.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help