ARM: LPC32XX: Changes to existing files to support the LPC32XX architecture
Subsystems (3)
PATCH 1/10 ARM: LPC32XX: Changes to existing files to support the LPC32XX architecture
Changes to existing files to support the new LPC32XX architecture
--- arch/arm/Kconfig | 16 ++++++++++++++++ arch/arm/Makefile | 1 + drivers/i2c/busses/Kconfig | 4 ++-- drivers/watchdog/Kconfig | 6 +++--- include/linux/amba/clcd.h | 3 ++- 5 files changed, 24 insertions(+), 6 deletions(-)
arch/arm/Kconfig +0 -0
@@ -550,6 +550,20 @@ config ARCH_W90X900 <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
+config ARCH_LPC32XX
+ bool "NXP LPC32XX"
+ select CPU_ARM926T
+ select ARCH_REQUIRE_GPIOLIB
+ select GENERIC_GPIO
+ select HAVE_IDE
+ select ARM_AMBA
+ select USB_ARCH_HAS_OHCI
+ select COMMON_CLKDEV
+ select GENERIC_TIME
+ select GENERIC_CLOCKEVENTS
+ help
+ Support for the NXP LPC32XX family of processors
+
config ARCH_PNX4008
bool "Philips Nexperia PNX4008 Mobile" select CPU_ARM926T
@@ -771,6 +785,8 @@ source "arch/arm/mach-lh7a40x/Kconfig"
source "arch/arm/mach-loki/Kconfig"
+source "arch/arm/mach-lpc32xx/Kconfig"
+
source "arch/arm/mach-msm/Kconfig"
source "arch/arm/mach-mv78xx0/Kconfig"
arch/arm/Makefile +0 -0
@@ -139,6 +139,7 @@ machine-$(CONFIG_ARCH_KS8695) :=
ks8695
machine-$(CONFIG_ARCH_L7200) := l7200
machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x
machine-$(CONFIG_ARCH_LOKI) := loki
+machine-$(CONFIG_ARCH_LPC32XX) := lpc32xx
machine-$(CONFIG_ARCH_MMP) := mmp
machine-$(CONFIG_ARCH_MSM) := msm
machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0
drivers/i2c/busses/Kconfig +2 -2
@@ -467,8 +467,8 @@ config I2C_PASEMI Supports the PA Semi PWRficient on-chip SMBus interfaces. config I2C_PNX - tristate "I2C bus support for Philips PNX targets" - depends on ARCH_PNX4008 + tristate "I2C bus support for Philips/NXP devices" + depends on ARCH_PNX4008 || ARCH_LPC32XX help This driver supports the Philips IP3204 I2C IP block master
and/or
slave controller
drivers/watchdog/Kconfig +0 -0
@@ -200,11 +200,11 @@ config OMAP_WATCHDOG here to enable the OMAP1610/OMAP1710/OMAP2420/OMAP3430
watchdog timer.
config PNX4008_WATCHDOG
- tristate "PNX4008 Watchdog"
- depends on ARCH_PNX4008
+ tristate "PNX4008/LPC32XX Watchdog"
+ depends on ARCH_PNX4008 || ARCH_LPC32XX
help
Say Y here if to include support for the watchdog timer
- in the PNX4008 processor.
+ in the PNX4008 or LPC32XX processors.
This driver can be built as a module by choosing M. The module will be called pnx4008_wdt.
include/linux/amba/clcd.h +2 -1
@@ -21,7 +21,8 @@#define CLCD_UBAS 0x00000010#define CLCD_LBAS 0x00000014 -#if !defined(CONFIG_ARCH_VERSATILE ) && !defined(CONFIG_ARCH_REALVIEW ) +#if !defined(CONFIG_ARCH_VERSATILE ) && !defined(CONFIG_ARCH_REALVIEW )\ + && !defined(CONFIG_ARCH_LPC32XX )#define CLCD_IENB 0x00000018#define CLCD_CNTL 0x0000001c#else
Signature · 1 line
1.6.6
PATCH 1/10 ARM: LPC32XX: Changes to existing files to support the LPC32XX architecture
Quoted 1 line · Kevin Wells
Changes to existing files to support the new LPC32XX architecture
Please don't post patches across multiple susbsytems, they're a pain to merge. Please break the i2c and wdt bits out of this patch.
Signature · 4 lines
Ben Q: What's a light-year? A: One-third less calories than a regular year.