Skip to contentSkip to conversation

i.MX53: Initial Ka-Ro electronics TX53 board support

PATCH New Lothar Waßmann 3 participants 4 messages Jul 12, 2011

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

PATCH 1/1 i.MX53: Initial Ka-Ro electronics TX53 board support

This patch adds initial board support for the Ka-Ro electronics TX53 processor module (MACH_TX53).

---
 arch/arm/mach-mx5/Kconfig                   |   15 +
 arch/arm/mach-mx5/Makefile                  |    1 +
 arch/arm/mach-mx5/board-tx53.c              |  400 +++++++++++++++++++++++++++
 arch/arm/plat-mxc/include/mach/uncompress.h |    1 +
 4 files changed, 417 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mx5/board-tx53.c
arch/arm/mach-mx5/Kconfig +15 -0
index b4e7c58..c40f41b 100644
@@ -221,6 +221,21 @@ config MACH_MX53_ARD
 	  Include support for MX53 ARD platform. This includes specific
 	  configurations for the board and its peripherals.
 
+config MACH_TX53
+	bool "Support Ka-Ro electronics TX53 module"
+	select SOC_IMX53
+	select IMX_HAVE_PLATFORM_GPIO_KEYS
+	select IMX_HAVE_PLATFORM_IMX2_WDT
+	select IMX_HAVE_PLATFORM_IMX_UART
+	select IMX_HAVE_PLATFORM_IMX_I2C
+	select IMX_HAVE_PLATFORM_MXC_EHCI
+	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
+	select IMX_HAVE_PLATFORM_SPI_IMX
+	select LEDS_GPIO_REGISTER
+	help
+	  Include support for TX53 platform. This includes specific
+	  configurations for the board and its peripherals.
+
 endif # ARCH_MX53_SUPPORTED
 
 endif
arch/arm/mach-mx5/Makefile +1 -0
index 383e7cd..e4da5e8 100644
@@ -14,6 +14,7 @@ obj-$(CONFIG_MACH_MX53_EVK) += board-mx53_evk.o
 obj-$(CONFIG_MACH_MX53_SMD) += board-mx53_smd.o
 obj-$(CONFIG_MACH_MX53_LOCO) += board-mx53_loco.o
 obj-$(CONFIG_MACH_MX53_ARD) += board-mx53_ard.o
+obj-$(CONFIG_MACH_TX53) += board-tx53.o
 obj-$(CONFIG_MACH_EUKREA_CPUIMX51) += board-cpuimx51.o
 obj-$(CONFIG_MACH_EUKREA_MBIMX51_BASEBOARD) += eukrea_mbimx51-baseboard.o
 obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += board-cpuimx51sd.o
arch/arm/mach-mx5/board-tx53.c new file +400 -0

400 lines not on this page · raw message

arch/arm/plat-mxc/include/mach/uncompress.h +1 -0
index 88fd404..7bbec05 100644
@@ -118,6 +118,7 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
 	case MACH_TYPE_MX53_LOCO:
 	case MACH_TYPE_MX53_SMD:
 	case MACH_TYPE_MX53_ARD:
+	case MACH_TYPE_TX53:
 		uart_base = MX53_UART1_BASE_ADDR;
 		break;
 	default:
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 i.MX53: Initial Ka-Ro electronics TX53 board support

Quoted 12 lines · Lothar Wa?mann

This patch adds initial board support for the Ka-Ro electronics TX53 processor module (MACH_TX53).

---
 arch/arm/mach-mx5/Kconfig                   |   15 +
 arch/arm/mach-mx5/Makefile                  |    1 +
 arch/arm/mach-mx5/board-tx53.c              |  400 +++++++++++++++++++++++++++
 arch/arm/plat-mxc/include/mach/uncompress.h |    1 +
 4 files changed, 417 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mx5/board-tx53.c

I'm not sure if it makes sense to add another board support, while we are migrating to device tree.

Signature · 2 lines
Regards,
Shawn
maintainer
#2 lore raw

PATCH 1/1 i.MX53: Initial Ka-Ro electronics TX53 board support

Quoted 13 lines · Shawn Guo
Quoted 12 lines · Lothar Wa?mann

This patch adds initial board support for the Ka-Ro electronics TX53 processor module (MACH_TX53).

---
 arch/arm/mach-mx5/Kconfig                   |   15 +
 arch/arm/mach-mx5/Makefile                  |    1 +
 arch/arm/mach-mx5/board-tx53.c              |  400 +++++++++++++++++++++++++++
 arch/arm/plat-mxc/include/mach/uncompress.h |    1 +
 4 files changed, 417 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mx5/board-tx53.c
Quoted 2 lines

I'm not sure if it makes sense to add another board support, while we are migrating to device tree.

I would agree if device tree was complete, but do we really want to block all new boards for unspecified time?

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#3 lore raw

PATCH 1/1 i.MX53: Initial Ka-Ro electronics TX53 board support

Quoted 14 lines · Sascha Hauer
Quoted 13 lines · Shawn Guo
Quoted 12 lines · Lothar Wa?mann

This patch adds initial board support for the Ka-Ro electronics TX53 processor module (MACH_TX53).

---
 arch/arm/mach-mx5/Kconfig                   |   15 +
 arch/arm/mach-mx5/Makefile                  |    1 +
 arch/arm/mach-mx5/board-tx53.c              |  400 +++++++++++++++++++++++++++
 arch/arm/plat-mxc/include/mach/uncompress.h |    1 +
 4 files changed, 417 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-mx5/board-tx53.c
Quoted 6 lines
Quoted 2 lines

I'm not sure if it makes sense to add another board support, while we are migrating to device tree.

I would agree if device tree was complete, but do we really want to block all new boards for unspecified time?

I would not think it is an unspecified time. I'm working pretty hard to convert all i.mx53 boards to device tree, hopefully on v3.2 window. Let's see where we are. If you agree, we have done serial, fec, gpio, esdhc, spi. And i2c and sdma dt patches will be sent out shortly.

+config MACH_TX53

+       bool "Support Ka-Ro electronics TX53 module"
+       select SOC_IMX53
+       select IMX_HAVE_PLATFORM_GPIO_KEYS
+       select IMX_HAVE_PLATFORM_IMX2_WDT
+       select IMX_HAVE_PLATFORM_IMX_UART
+       select IMX_HAVE_PLATFORM_IMX_I2C
+       select IMX_HAVE_PLATFORM_MXC_EHCI
+       select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
+       select IMX_HAVE_PLATFORM_SPI_IMX
+       select LEDS_GPIO_REGISTER

So, gpio_keys, wdt, ehci, led are missing. I hope I can get them migrated to dt by v3.2.

Signature · 2 lines
Regards,
Shawn