Skip to contentSkip to conversation

Add support for Vista Silicon Visstrim_m10 board [v4].

PATCH New Javier Martin 2 participants 2 messages Jul 22, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for Vista Silicon Visstrim_m10 board [v4].

Vista Silicon Visstrim_m10 i.MX27 based board is used as multimedia streaming server, access control and other custom applications.

Fixed some style issues.

---
 arch/arm/mach-imx/Kconfig                   |    9 +
 arch/arm/mach-imx/Makefile                  |    1 +
 arch/arm/mach-imx/mach-imx27_visstrim_m10.c |  265 +++++++++++++++++++++++++++
 3 files changed, 275 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-imx/mach-imx27_visstrim_m10.c
arch/arm/mach-imx/Kconfig +9 -0
index c5c0369..19ed16d 100644
@@ -163,6 +163,15 @@ config MACH_MX27_3DS
 	  Include support for MX27PDK platform. This includes specific
 	  configurations for the board and its peripherals.
 
+config MACH_IMX27_VISSTRIM_M10
+	bool "Vista Silicon i.MX27 Visstrim_m10"
+	select IMX_HAVE_PLATFORM_IMX_I2C
+	select IMX_HAVE_PLATFORM_IMX_UART
+	help
+	  Include support for Visstrim_m10 platform and its different variants.
+	  This includes specific configurations for the board and its
+	  peripherals.
+
 config MACH_IMX27LITE
 	bool "LogicPD MX27 LITEKIT platform"
 	select IMX_HAVE_PLATFORM_IMX_UART
arch/arm/mach-imx/Makefile +1 -0
index 46a9fdf..5582692 100644
@@ -27,6 +27,7 @@ obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o
 obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o
 obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
 obj-$(CONFIG_MACH_IMX27LITE) += mach-imx27lite.o
+obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
 obj-$(CONFIG_MACH_CPUIMX27) += mach-cpuimx27.o
 obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
 obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
arch/arm/mach-imx/mach-imx27_visstrim_m10.c new file +265 -0

265 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 Add support for Vista Silicon Visstrim_m10 board [v4].

Quoted 4 lines
arch/arm/mach-imx/mach-imx27_visstrim_m10.c new file +4 -0
+#include <linux/platform_device.h>
+#include <linux/mtd/physmap.h>
+#include <mach/common.h>
+#include <asm/mach-types.h>

arch/arm/mach-imx/mach-imx27_visstrim_m10.c line 39

Quoted 10 lines
arch/arm/mach-imx/mach-imx27_visstrim_m10.c new file +10 -0
+#include <asm/mach/arch.h>
+#include <asm/mach/time.h>
+#include <mach/gpio.h>
+#include <mach/mmc.h>
+#include <mach/iomux.h>
+#include <mach/mxc_ehci.h>
+#include <linux/i2c.h>
+#include <linux/i2c/pca953x.h>
+#include <linux/gpio_keys.h>
+#include <linux/input.h>

linux/ includes first, then asm/ includes, then mach/ includes. Please use linux/gpio.h rather than mach/gpio.h