summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator/common.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-02 01:31:10 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-11-16 22:25:50 +0100
commite67ae6be734de909954e20317c38472af983b92c (patch)
tree646010180c98b8918e72d7d3ed388a1cfb37e02f /arch/arm/mach-integrator/common.h
parentLinux 3.7-rc2 (diff)
downloadlinux-e67ae6be734de909954e20317c38472af983b92c.tar.xz
linux-e67ae6be734de909954e20317c38472af983b92c.zip
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>
Diffstat (limited to 'arch/arm/mach-integrator/common.h')
-rw-r--r--arch/arm/mach-integrator/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-integrator/common.h b/arch/arm/mach-integrator/common.h
index c3ff21b5ea24..fc9f47d289f4 100644
--- a/arch/arm/mach-integrator/common.h
+++ b/arch/arm/mach-integrator/common.h
@@ -4,3 +4,4 @@ void integrator_init_early(void);
int integrator_init(bool is_cp);
void integrator_reserve(void);
void integrator_restart(char, const char *);
+void integrator_init_sysfs(struct device *parent, u32 id);