Skip to contentSkip to conversation

Export valuable System-on-Chip information to user-space via sysfs

PATCH New Lee Jones 1 participant 1 message Apr 11, 2011

lore
Share & tools
lore

Lee Jones

author
#0 lore raw

cover Export valuable System-on-Chip information to user-space via sysfs

From: Lee Jones <[email protected]>

This patch-set is based on Maxime Coquelin's <[email protected]> previous attempts. All advice has been taken and this is the resultant work. The main points taken into consideration are:
* Ability to support multiple SoCs on any one device
* Each SoC is registered as a _real_ device

Documentation/ABI/testing/sysfs-devices-soc | 16 +++++

 arch/arm/mach-ux500/Kconfig                 |    1 +
 arch/arm/mach-ux500/id.c                    |   96 +++++++++++++++++++++++++++
 drivers/base/Kconfig                        |    3 +
 drivers/base/Makefile                       |    1 +
 drivers/base/soc.c                          |   96 +++++++++++++++++++++++++++
 include/linux/sys_soc.h                     |   29 ++++++++
 7 files changed, 242 insertions(+), 0 deletions(-)