Skip to contentSkip to conversation

Support for Embedian MXM-8x10

PATCH New Edwin Peer 2 participants 2 messages Feb 5, 2010 – Feb 15, 2010

Subsystems (3)
lore
Share & tools
lore

Edwin Peer

author
#0 lore raw

PATCH v7 1/1 Support for Embedian MXM-8x10

Hi Eric,

I think we are nearly there now.

This version of the patch includes an MFP fix for the MMC / SD card.

Also removed some unused #defines in mxm8x10.h.

Patch is against 2.6.33-rc6.

Regards,
Edwin Peer

---

arch/arm/mach-pxa/Kconfig +10 -0
diff -Nurp linux-2.6.33-rc6/arch/arm/mach-pxa/Kconfig linux-embedian-2.6.33-rc6/arch/arm/mach-pxa/Kconfig
@@ -115,6 +115,11 @@ config MACH_CM_X300
 	select CPU_PXA310
 	select HAVE_PWM
 
+config MACH_CAPC7117
+	bool "Embedian CAPC-7117 evaluation kit based on the MXM-8x10 CoM"
+	select CPU_PXA320
+	select PXA3xx
+
 config ARCH_GUMSTIX
 	bool "Gumstix XScale 255 boards"
 	select PXA25x
@@ -492,6 +497,11 @@ config MACH_TOSA
 	select PXA25x
 	select PXA_HAVE_BOARD_IRQS
 
+config MACH_ICONTROL
+	bool "TMT iControl/SafeTCam based on the MXM-8x10 CoM"
+	select CPU_PXA320
+	select PXA3xx
+
 config ARCH_PXA_ESERIES
 	bool "PXA based Toshiba e-series PDAs"
 	select PXA25x
arch/arm/mach-pxa/Makefile +2 -0
diff -Nurp linux-2.6.33-rc6/arch/arm/mach-pxa/Makefile linux-embedian-2.6.33-rc6/arch/arm/mach-pxa/Makefile
@@ -48,6 +48,7 @@ obj-$(CONFIG_MACH_ARMCORE)	+= cm-x2xx-pc
 endif
 obj-$(CONFIG_MACH_EM_X270)	+= em-x270.o
 obj-$(CONFIG_MACH_CM_X300)      += cm-x300.o
+obj-$(CONFIG_MACH_CAPC7117)     += capc7117.o mxm8x10.o
 obj-$(CONFIG_ARCH_GUMSTIX)	+= gumstix.o
 obj-$(CONFIG_GUMSTIX_AM200EPD)	+= am200epd.o
 obj-$(CONFIG_GUMSTIX_AM300EPD)	+= am300epd.o
@@ -82,6 +83,7 @@ obj-$(CONFIG_PXA_SHARP_Cxx00)	+= spitz.o
 obj-$(CONFIG_CORGI_SSP_DEPRECATED)	+= corgi_ssp.o corgi_lcd.o
 obj-$(CONFIG_MACH_POODLE)	+= poodle.o
 obj-$(CONFIG_MACH_TOSA)		+= tosa.o
+obj-$(CONFIG_MACH_ICONTROL)     += icontrol.o mxm8x10.o
 obj-$(CONFIG_ARCH_PXA_ESERIES)	+= eseries.o
 obj-$(CONFIG_MACH_E330)		+= e330.o
 obj-$(CONFIG_MACH_E350)		+= e350.o
arch/arm/mach-pxa/capc7117.c +158 -0

158 lines not on this page · raw message

arch/arm/mach-pxa/icontrol.c +202 -0

202 lines not on this page · raw message

arch/arm/mach-pxa/include/mach/mxm8x10.h +21 -0
diff -Nurp linux-2.6.33-rc6/arch/arm/mach-pxa/include/mach/mxm8x10.h linux-embedian-2.6.33-rc6/arch/arm/mach-pxa/include/mach/mxm8x10.h
@@ -0,0 +1,21 @@
+#ifndef __MACH_MXM_8X10_H
+#define __MACH_MXM_8X10_H
+
+#define MXM_8X10_ETH_PHYS	0x13000000
+
+#if defined(CONFIG_MMC)
+
+#define MXM_8X10_SD_nCD (72)
+#define MXM_8x10_SD_WP (84)
+
+extern void mxm_8x10_mmc_init(void);
+#else
+static inline void mxm_8x10_mmc_init(void) {}
+#endif
+
+extern void mxm_8x10_usb_host_init(void);
+extern void mxm_8x10_ac97_init(void);
+
+extern void mxm_8x10_barebones_init(void);
+
+#endif /* __MACH_MXM_8X10_H */
arch/arm/mach-pxa/mxm8x10.c +474 -0

474 lines not on this page · raw message

#1 lore raw

PATCH v7 1/1 Support for Embedian MXM-8x10

Quoted 6 lines · Edwin Peer

Hi Eric,

I think we are nearly there now.

This version of the patch includes an MFP fix for the MMC / SD card.

Quoted 8 lines

Also removed some unused #defines in mxm8x10.h.

Patch is against 2.6.33-rc6.

Regards,
Edwin Peer

Thanks, looks fine to me, applied to 'devel'.