linux/arch/arm/mach-ux500
Linus Walleij 1e22a8c614 ARM: ux500: move PM-related PRCMU functions to machine
We are trying to decompose and decentralize the code in
the DB8500 PRCMU out into subdrivers. The code moved in
this patch concerns a group of functions used for
decoupling and recoupling the IRQs from the GIC. During
sleep and idle the Ux500 system will transfer all IRQ
handling to the PRCMU using these functions.

Basically we are left with the two alternatives of code
placement as:

- arch/arm/mach-ux500/pm.c - this because the code is
  closely related to the GIC, and takes ownership of
  some of the registers from the PRCMU related to this
  PM functionality.

- drivers/mfd/db8500-prcmu-pm.c - because the code is
  affecting stuff in the PRCMU register range. But then
  this code needs to remap and handle GIC registers.

This patch implementation is taking the first approach.

Currently the cpuidle driver is the only piece of code
using this set of functions, but it will later also be
used by the suspend/resume code which is currently under
review.

The header file is moved to:
<linux/platform_data/arm-ux500-pm.h>
The function prototypes need to be placed in a globally
visible header since the CPUidle code is planned to move
out to drivers/cpuidle.

Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Rickard Andersson <rickard.andersson@stericsson.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-04-08 13:57:53 +02:00
..
include/mach mfd: db8500-prcmu: get base address from resource 2013-04-08 13:57:38 +02:00
board-mop500-audio.c ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
board-mop500-pins.c ARM: arm-soc: driver specific changes 2012-12-13 10:59:11 -08:00
board-mop500-regulators.c ARM: ux500: Provide SMSC911x fixed-regulator when not booting DT 2012-09-04 10:14:31 +02:00
board-mop500-regulators.h ARM: ux500: Provide SMSC911x fixed-regulator when not booting DT 2012-09-04 10:14:31 +02:00
board-mop500-sdi.c ARM: plat-nomadik: move DMA40 header to <linux/platform_data> 2012-11-05 09:55:32 +01:00
board-mop500-stuib.c Input: bu21013_ts - move GPIO init and exit functions into the driver 2012-11-27 23:05:11 -08:00
board-mop500-u8500uib.c ARM: ux500: included linux/gpio.h twice 2012-02-29 16:32:38 +01:00
board-mop500-uib.c ARM: ux500: de-globalize <mach/id.h> 2013-01-29 18:47:37 +01:00
board-mop500.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds 2013-02-26 09:29:02 -08:00
board-mop500.h ARM: ux500: Stop registering the PCM driver from platform code 2012-11-27 10:58:38 +00:00
cache-l2x0.c ARM: ux500: de-globalize <mach/id.h> 2013-01-29 18:47:37 +01:00
cpu-db8500.c mfd: db8500-prcmu: get base address from resource 2013-04-08 13:57:38 +02:00
cpu.c ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
cpuidle.c ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
devices-common.c ARM: plat-nomadik: convert platforms to SPARSE_IRQ 2012-11-05 09:55:34 +01:00
devices-common.h ARM: ux500: add PRCM register base for pinctrl 2012-11-08 13:44:41 +01:00
devices-db8500.c mfd: db8500-prcmu: update resource passing 2013-02-12 12:44:27 +01:00
devices-db8500.h mfd: db8500-prcmu: update resource passing 2013-02-12 12:44:27 +01:00
devices.c
headsmp.S ARM: ux500: add missing ENDPROC to headsmp.S 2012-01-16 08:36:03 -06:00
hotplug.c ARM: consolidate pen_release instead of having per platform definitions 2012-09-14 11:15:01 +02:00
id.c ARM: ux500: de-globalize <mach/id.h> 2013-01-29 18:47:37 +01:00
id.h ARM: ux500: de-globalize <mach/id.h> 2013-01-29 18:47:37 +01:00
Kconfig pinctrl/abx500: add AB8540 sub-driver 2013-02-05 13:54:21 +01:00
Makefile ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
pins-db8500.h ARM: ux500: remove a bunch of internal pull-ups 2012-04-24 09:36:05 +02:00
platsmp.c Removal of the <mach/id.h> include from ux500 2013-01-29 16:06:03 -08:00
pm.c ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
ste-dma40-db8500.h
timer.c Removal of the <mach/id.h> include from ux500 2013-01-29 16:06:03 -08:00
usb.c ARM: plat-nomadik: move DMA40 header to <linux/platform_data> 2012-11-05 09:55:32 +01:00