ARM: integrator: hook the AP into the SoC bus
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 2 Nov 2012 00:31:10 +0000 (01:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Nov 2012 21:25:50 +0000 (22:25 +0100)
commite67ae6be734de909954e20317c38472af983b92c
tree646010180c98b8918e72d7d3ed388a1cfb37e02f
parent6f0c0580b70c89094b3422ba81118c7b959c7556
ARM: integrator: hook the AP into the SoC bus

This hooks the Integrator/AP into the SoC bus when booting from
device tree, by mapping the AP controller registers first,
then registering the SoC device, and then populating the device
tree with the SoC device as parent.

Introduce some helpers in the core to provide sysfs files
detailing the use of the SoC ID which will later be reused by
the Integrator/CP patch for the same bus grouping.

Cc: Lee Jones <lee.jones@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/integratorap.dts
arch/arm/mach-integrator/Kconfig
arch/arm/mach-integrator/common.h
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/integrator_ap.c