aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx/common.c
Commit message (Collapse)AuthorAgeFilesLines
* reboot: arm: change reboot_mode to use enum reboot_modeRobin Holt2013-07-091-3/+3
| | | | | | | | | | | | | | | | Preparing to move the parsing of reboot= to generic kernel code forces the change in reboot_mode handling to use the enum. [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c] Signed-off-by: Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* ARM: lpc32xx: use __iomem pointers for MMIOArnd Bergmann2012-09-191-4/+4
| | | | | | | | | ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: Roland Stigge <stigge@antcom.de> Cc: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ARM: LPC32xx: Set system serial based on cpu unique idAlexandre Pereira da Silva2012-07-201-2/+8
| | | | | | | | LPC32xx SoC has a 128 bits unique id that can be used as a system serial number, if none has been provided by atags or dt. Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Signed-off-by: Roland Stigge <stigge@antcom.de>
* ARM: LPC32xx: Move common code to common.cRoland Stigge2012-04-221-0/+13
| | | | | | This patch moves non-boardspecific LPC32xx code to common.c Signed-off-by: Roland Stigge <stigge@antcom.de>
* ARM: LPC32xx: Device tree supportRoland Stigge2012-04-221-192/+0
| | | | | | This patch does the actual device tree switch for the LPC32xx SoC. Signed-off-by: Roland Stigge <stigge@antcom.de>
* i2c-pnx.c: Use resources in platformsRoland Stigge2012-04-221-25/+42
| | | | | | | | | As a precondition for device tree conversion, the platforms using i2c-pnx.c are converted to using mem and irq resources instead of platform data. Signed-off-by: Roland Stigge <stigge@antcom.de> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
* ARM: LPC32xx: Ethernet supportRoland Stigge2012-03-131-0/+21
| | | | | | | | This patch adds ethernet support to the LPC32xx ARM architecture. The actual driver in drivers/net is contained in a separate patch. Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
* ARM: LPC32xx: USB SupportRoland Stigge2012-03-131-0/+26
| | | | | | | | | | | This patch adds OHCI support to the LPC32xx ARM platform. Besides the trivial addition of platform "usb-ohci" support, fixes for the USB PLL have been added to arch/arm/mach-lpc32xx/clock.c, ported from NXP's lpclinux.com. (This is the mach-lpc32xx specific part, the USB subsystem specific changes are in a separate patch for the USB maintainers.) Signed-off-by: Roland Stigge <stigge@antcom.de>
* ARM: LPC32xx: ADC support for mach-lpc32xxRoland Stigge2012-02-221-0/+22
| | | | | | | | | | This patch adds the mach specific support for the LPC32XX ADC driver (the latter being already in staging/iio) Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ARM: restart: lpc32xx & u300: remove unnecessary printkRussell King2012-01-051-2/+0
| | | | | | | | | | | | | | | | Remove the: KERN_CRIT "RESET: Rebooting system\n" (lpc32xx) KERN_CRIT "RESET: shutting down/rebooting system\n" (u300) printk from the restart handler; we already print such a message from kernel_restart() in kernel/sys.c: KERN_EMERG "Restarting system.\n" so this is unnecessary. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: restart: lpc32xx: use new restart hookRussell King2012-01-051-1/+21
| | | | | | | Hook these platforms restart code into the arm_pm_restart hook rather than using arch_reset(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* arm: lpc32xx: add rtc-deviceWolfram Sang2011-07-121-0/+21
| | | | | Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Tested-by: Kevin Wells <Kevin.wells@nxp.com>
* arm: lpc32xx: add tsc-deviceWolfram Sang2011-07-121-0/+21
| | | | | | | Fix the clock name, too. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Tested-by: Kevin Wells <Kevin.wells@nxp.com>
* ARM: LPC32XX: Misc support functionsKevin Wells2010-07-271-0/+271
Misc support functions and prototypes used in the LPC32XX arch and platforms Signed-off-by: Kevin Wells <wellsk40@gmail.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>