Thread (18 messages) flat view 18 messages, 3 authors, 2010-12-20
STALE5751d

[PATCH v7 13/15] ARM: mxs: Add initial mx23evk support

From: Uwe Kleine-König <hidden>
Date: 2010-12-20 09:48:01

Hello Shawn,

On Sat, Dec 18, 2010 at 09:39:34PM +0800, Shawn Guo wrote:
quoted hunk ↗ jump to hunk
Add initial mx23evk support with duart.

Signed-off-by: Shawn Guo <redacted>
---
Changes for v7:
 - Define mx23evk pads using naked pad "OR" mA/vol/pull configurations

Changes for v3:
 - Remove inclusion of hardware.h
 - Add __initconst for mx23evk_pads[]

Changes for v2:
 - Remove boot_params

 arch/arm/mach-mxs/mach-mx23evk.c |   59 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mxs/mach-mx23evk.c
diff --git a/arch/arm/mach-mxs/mach-mx23evk.c b/arch/arm/mach-mxs/mach-mx23evk.c
new file mode 100644
index 0000000..2aa77cc
--- /dev/null
+++ b/arch/arm/mach-mxs/mach-mx23evk.c
@@ -0,0 +1,59 @@
[...]
+static const iomux_cfg_t mx23evk_pads[] __initconst = {
+	/* duart */
+	MX23_PAD_PWM0__DUART_RX |
+		MXS_PAD_4MA,
+	MX23_PAD_PWM1__DUART_TX |
+		MXS_PAD_4MA,
+};
I would keep these on a single line.  YMMV, so for me no need for a v8.

I will test this series later on hardware, and if no show stoppers
appear I'd say this is ready to be merged.  The (maybe) remaining issues
can then be resolved in follow up patches.

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