diff options
author | Maxime Coquelin <maxime.coquelin-nonst@stericsson.com> | 2011-03-07 11:26:02 +0100 |
---|---|---|
committer | Henrik Aberg <henrik.aberg@stericsson.com> | 2011-05-18 09:39:43 +0200 |
commit | 94ca56f383c33270730c87d0523db5a0ec450c69 (patch) | |
tree | c887e0cacf4c8d6a1e0f8e88a28cdbee0a333ec6 /Documentation | |
parent | 8dbd6ddb4bb1f21edd3489c53b2c92164a974b15 (diff) |
Export SoC info through sysfs
Common base to export System-on-Chip related informations through sysfs.
Creation of a "socinfo" directory under /sys/.
Creation of SoC information entries.
Signed-off-by: Maxime COQUELIN <maxime.coquelin-nonst@stericsson.com>
Change-Id: I8f9cbccbed07293d26974e9df3bf1102d42e561c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18178
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-socinfo | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-socinfo b/Documentation/ABI/testing/sysfs-socinfo new file mode 100644 index 00000000000..afd9da2fa76 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-socinfo @@ -0,0 +1,16 @@ +What: /sys/socinfo +Date: March 2011 +contact: Maxime Coquelin <maxime.coquelin-nonst@stericsson.com> +Description: + The /sys/socinfo directory contains information about the + System-on-Chip. It is only available if platform implements it. + This directory contains two kind of attributes : + - common attributes: + * machine: the name of the machine. + * family: the family name of the SoC + - SoC-specific attributes: The SoC vendor can declare attributes + to export some strings to user-space, like the serial-number for + example. + +Users: + User-space applications which needs these kind of attributes. |