sysfs-devices-soc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. What: /sys/devices/socX
  2. Date: January 2012
  3. contact: Lee Jones <lee.jones@linaro.org>
  4. Description:
  5. The /sys/devices/ directory contains a sub-directory for each
  6. System-on-Chip (SoC) device on a running platform. Information
  7. regarding each SoC can be obtained by reading sysfs files. This
  8. functionality is only available if implemented by the platform.
  9. The directory created for each SoC will also house information
  10. about devices which are commonly contained in /sys/devices/platform.
  11. It has been agreed that if an SoC device exists, its supported
  12. devices would be better suited to appear as children of that SoC.
  13. What: /sys/devices/socX/machine
  14. Date: January 2012
  15. contact: Lee Jones <lee.jones@linaro.org>
  16. Description:
  17. Read-only attribute common to all SoCs. Contains the SoC machine
  18. name (e.g. Ux500).
  19. What: /sys/devices/socX/family
  20. Date: January 2012
  21. contact: Lee Jones <lee.jones@linaro.org>
  22. Description:
  23. Read-only attribute common to all SoCs. Contains SoC family name
  24. (e.g. DB8500).
  25. What: /sys/devices/socX/soc_id
  26. Date: January 2012
  27. contact: Lee Jones <lee.jones@linaro.org>
  28. Description:
  29. Read-only attribute supported by most SoCs. In the case of
  30. ST-Ericsson's chips this contains the SoC serial number.
  31. What: /sys/devices/socX/revision
  32. Date: January 2012
  33. contact: Lee Jones <lee.jones@linaro.org>
  34. Description:
  35. Read-only attribute supported by most SoCs. Contains the SoC's
  36. manufacturing revision number.
  37. What: /sys/devices/socX/process
  38. Date: January 2012
  39. contact: Lee Jones <lee.jones@linaro.org>
  40. Description:
  41. Read-only attribute supported ST-Ericsson's silicon. Contains the
  42. the process by which the silicon chip was manufactured.
  43. What: /sys/bus/soc
  44. Date: January 2012
  45. contact: Lee Jones <lee.jones@linaro.org>
  46. Description:
  47. The /sys/bus/soc/ directory contains the usual sub-folders
  48. expected under most buses. /sys/bus/soc/devices is of particular
  49. interest, as it contains a symlink for each SoC device found on
  50. the system. Each symlink points back into the aforementioned
  51. /sys/devices/socX devices.