ARM: ux500: split out prcmu initialization
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 Mar 2013 21:51:07 +0000 (22:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2013 11:58:15 +0000 (13:58 +0200)
commit55b175d7e6327939df82592ef279c534da323354
tree94b298b8727e7371915d6160a165d6d0ae3cbebb
parent90c29f980217745828096dee5504e15b5c865301
ARM: ux500: split out prcmu initialization

This untangles the final bits of the prcmu code from the platform
code:

* The IRQ_PRCMU_* definitions move from irqs-db8500.h into prcmu.c
  because they are only of local significance.
* u8500_thsens_device goes into the prcmu, because it uses a PRCMU
  IRQ that the platform does not see.
* IRQ_DB8500_AB8500 and IRQ_PRCMU_BASE go into the platform data
  because the PRCMU does not see it.

Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[Fixed a oneliner bug]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/devices-db8500.c
arch/arm/mach-ux500/include/mach/irqs-db8500.h
drivers/mfd/db8500-prcmu.c
include/linux/mfd/dbx500-prcmu.h