summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/setup.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-02-06 11:22:24 -0800
committerArnd Bergmann <arnd@arndb.de>2012-02-13 06:31:38 +0000
commiteda413c228e227d888bc13d210e7c4c6aa62a682 (patch)
tree998f73c26e85a3557a2c911fd954c7ad0c0c8462 /arch/arm/mach-ux500/include/mach/setup.h
parent18403424c4fe5bac509bf52343f5d5407d45ee3a (diff)
downloadlinux-3.10-eda413c228e227d888bc13d210e7c4c6aa62a682.tar.gz
linux-3.10-eda413c228e227d888bc13d210e7c4c6aa62a682.tar.bz2
linux-3.10-eda413c228e227d888bc13d210e7c4c6aa62a682.zip
ARM: ux500: export System-on-Chip information ux500 via sysfs
Here we make use of the new System-On-Chip bus driver to export vital SoC information out to userspace via sysfs. This patch provides a data structure of strings to populate the base nodes found in: /sys/devices/soc[0|1|2|...]/[family|machine|revision|soc_id]. It also adds one more node as requested by ST-Ericsson. 'process' depicts the way in which the silicon was manufactured. Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/setup.h')
-rw-r--r--arch/arm/mach-ux500/include/mach/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/setup.h b/arch/arm/mach-ux500/include/mach/setup.h
index e46b8b12056..74b43bb7454 100644
--- a/arch/arm/mach-ux500/include/mach/setup.h
+++ b/arch/arm/mach-ux500/include/mach/setup.h
@@ -27,6 +27,8 @@ extern void __init u5500_sdi_init(struct device *parent);
extern void __init db5500_dma_init(struct device *parent);
+extern struct device *ux500_soc_device_init(const char *soc_id);
+
/* We re-use nomadik_timer for this platform */
extern void nmdk_timer_init(void);