ARM: ux500: export System-on-Chip information ux500 via sysfs
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Feb 2012 19:22:24 +0000 (11:22 -0800)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Feb 2012 06:31:38 +0000 (06:31 +0000)
commiteda413c228e227d888bc13d210e7c4c6aa62a682
tree998f73c26e85a3557a2c911fd954c7ad0c0c8462
parent18403424c4fe5bac509bf52343f5d5407d45ee3a
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>
arch/arm/mach-ux500/Kconfig
arch/arm/mach-ux500/cpu-db5500.c
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/cpu.c
arch/arm/mach-ux500/include/mach/db8500-regs.h
arch/arm/mach-ux500/include/mach/setup.h