Skip to contentSkip to conversation

mx27: Add basic support for Maxtrack i-MXT TD60

PATCH New Alan Carvalho de Assis 2 participants 3 messages Nov 24, 2009

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

PATCH 1/1 mx27: Add basic support for Maxtrack i-MXT TD60

---
 arch/arm/mach-mx2/Kconfig    |    7 ++
 arch/arm/mach-mx2/Makefile   |    1 +
 arch/arm/mach-mx2/mxt_td60.c |  245 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 253 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mx2/mxt_td60.c
arch/arm/mach-mx2/Kconfig +7 -0
index 3e14da3..b96c6a3 100644
@@ -104,4 +104,11 @@ config MACH_PCA100
 	  Include support for phyCARD-s (aka pca100) platform. This
 	  includes specific configurations for the module and its peripherals.
 
+config MACH_MXT_TD60
+	bool "Maxtrack i-MXT TD60"
+	depends on MACH_MX27
+	help
+	  Include support for i-MXT (aka td60) platform. This
+	  includes specific configurations for the module and its peripherals.
+
 endif
arch/arm/mach-mx2/Makefile +1 -0
index 19560f0..52aca0a 100644
@@ -20,4 +20,5 @@ obj-$(CONFIG_MACH_MX27LITE) += mx27lite.o
 obj-$(CONFIG_MACH_EUKREA_CPUIMX27) += eukrea_cpuimx27.o
 obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
 obj-$(CONFIG_MACH_PCA100) += pca100.o
+obj-$(CONFIG_MACH_MXT_TD60) += mxt_td60.o
 
arch/arm/mach-mx2/mxt_td60.c new file +245 -0

245 lines not on this page · raw message

Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 mx27: Add basic support for Maxtrack i-MXT TD60

Quoted 4 lines · Alan Carvalho de Assis
arch/arm/mach-mx2/mxt_td60.c new file +4 -0
+#include <linux/platform_device.h>
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/map.h>
+#include <linux/mtd/partitions.h>

arch/arm/mach-mx2/mxt_td60.c line 34

Quoted 10 lines
arch/arm/mach-mx2/mxt_td60.c new file +10 -0
+#include <linux/mtd/physmap.h>
+#include <linux/i2c.h>
+#include <linux/irq.h>
+#include <mach/common.h>
+#include <mach/hardware.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <asm/mach/time.h>
+#include <asm/mach/map.h>
+#include <mach/gpio.h>

I see red! linux/gpio.h please.

#2 lore raw

PATCH 1/1 mx27: Add basic support for Maxtrack i-MXT TD60

Hi Russell,

Quoted 18 lines · Russell King - ARM Linux
Quoted 4 lines · Alan Carvalho de Assis
arch/arm/mach-mx2/mxt_td60.c new file +4 -0
+#include <linux/platform_device.h>
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/map.h>
+#include <linux/mtd/partitions.h>

arch/arm/mach-mx2/mxt_td60.c line 34

Quoted 10 lines
arch/arm/mach-mx2/mxt_td60.c new file +10 -0
+#include <linux/mtd/physmap.h>
+#include <linux/i2c.h>
+#include <linux/irq.h>
+#include <mach/common.h>
+#include <mach/hardware.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <asm/mach/time.h>
+#include <asm/mach/map.h>
+#include <mach/gpio.h>

I see red! linux/gpio.h please.

Sure, I based on MX27ADS. I will send a new patch.

Thank you,

Alan