ARM: add QQ2440 machine architecture
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v3 1/1 ARM: add QQ2440 machine architecture
From: Domenico Andreoli <[email protected]>
QQ2440 is an ARM based development board. It is commonly found together with LCD displays but mine was not so I am not able to support them yet. Network support is added by another patch posted to netdev.
This patch applies cleanly to 2.6.38.
---
Following suggestions of Jamie, I removed the redundant NULL initialization of static data and used gpio_request_one() instead of the separated gpio_request() and gpio_direction_output().
I didn't modify the UDC pullup code, which would otherwise depend on Greg's tree. I'll do anyway as soon as mainline gets it.
The networking part has been already picked by davem, it is in the net-next-2.6 tree.
Thank you all.
Regards,
Domenico
---
MAINTAINERS | 7 arch/arm/mach-s3c2440/Kconfig | 12 arch/arm/mach-s3c2440/Makefile | 1 arch/arm/mach-s3c2440/mach-qq2440.c | 358 ++++++++++++++++++++++++++ 4 files changed, 378 insertions(+)
arch/arm/mach-s3c2440/Kconfig +13 -0
@@ -190,6 +190,19 @@ Say Y here to select support for the MINI2440. Is a 10cm x 10cm board available via various sources. It can come with a 3.5" or 7" touch LCD. +config MACH_QQ2440 + bool "QQ2440 development board" + select CPU_S3C2440 + select EEPROM_AT24 + select NEW_LEDS + select LEDS_CLASS + select LEDS_TRIGGER + select S3C_DEV_NAND + select S3C_DEV_USB_HOST + select S3C2440_XTAL_12000000 + help + Say Y here to select support for the QQ2440 + config MACH_RX1950 bool "HP iPAQ rx1950" select CPU_S3C2442
arch/arm/mach-s3c2440/Makefile +1 -0
@@ -33,6 +33,7 @@ obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o +obj-$(CONFIG_MACH_QQ2440) += mach-qq2440.o obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o
arch/arm/mach-s3c2440/mach-qq2440.c new file +369 -0
369 lines not on this page · raw message
MAINTAINERS +7 -0
@@ -945,6 +945,13 @@ W: http://www.arm.linux.org.uk/ S: Maintained +ARM/QQ2440 MACHINE SUPPORT +M: Domenico Andreoli <[email protected]> +L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers) +S: Maintained +F: arch/arm/mach-s3c2440/include/mach/qq2440.h +F: arch/arm/mach-s3c2440/mach-qq2440.c + ARM/RADISYS ENP2611 MACHINE SUPPORT M: Lennert Buytenhek <[email protected]> L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
arch/arm/mach-s3c2440/include/mach/qq2440.h new file +22 -0
@@ -0,0 +1,22 @@ +/* +* arch/arm/mach-s3c2440/include/mach/qq2440.h +* +* Copyright (c) 2011 Domenico Andreoli <[email protected]> +* +* QQ2440 - platform definitions +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ + +#ifndef __ASM_MACH_QQ2440_H +#define __ASM_MACH_QQ2440_H + +#define QQ2440_CS8900_IRQ IRQ_EINT9 + +#define QQ2440_CS8900_VIRT_BASE ((unsigned long) S3C_ADDR(0x00500000)) +#define QQ2440_CS8900_PA (S3C2410_CS3 + 0x1000000) +#define QQ2440_CS8900_SZ SZ_1M + +#endif /* __ASM_MACH_QQ2440_H */