~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-devices-soc

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-devices-soc (Architecture alpha) and /Documentation/ABI/testing/sysfs-devices-soc (Architecture m68k)


  1 What:           /sys/devices/socX                   1 What:           /sys/devices/socX
  2 Date:           January 2012                        2 Date:           January 2012
  3 contact:        Lee Jones <lee@kernel.org>           3 contact:        Lee Jones <lee@kernel.org>
  4 Description:                                        4 Description:
  5                 The /sys/devices/ directory co      5                 The /sys/devices/ directory contains a sub-directory for each
  6                 System-on-Chip (SoC) device on      6                 System-on-Chip (SoC) device on a running platform. Information
  7                 regarding each SoC can be obta      7                 regarding each SoC can be obtained by reading sysfs files. This
  8                 functionality is only availabl      8                 functionality is only available if implemented by the platform.
  9                                                     9 
 10                 The directory created for each     10                 The directory created for each SoC will also house information
 11                 about devices which are common     11                 about devices which are commonly contained in /sys/devices/platform.
 12                 It has been agreed that if an      12                 It has been agreed that if an SoC device exists, its supported
 13                 devices would be better suited     13                 devices would be better suited to appear as children of that SoC.
 14                                                    14 
 15 What:           /sys/devices/socX/machine          15 What:           /sys/devices/socX/machine
 16 Date:           January 2012                       16 Date:           January 2012
 17 contact:        Lee Jones <lee@kernel.org>          17 contact:        Lee Jones <lee@kernel.org>
 18 Description:                                       18 Description:
 19                 Read-only attribute common to      19                 Read-only attribute common to all SoCs. Contains the SoC machine
 20                 name (e.g. Ux500).                 20                 name (e.g. Ux500).
 21                                                    21 
 22 What:           /sys/devices/socX/family           22 What:           /sys/devices/socX/family
 23 Date:           January 2012                       23 Date:           January 2012
 24 contact:        Lee Jones <lee@kernel.org>          24 contact:        Lee Jones <lee@kernel.org>
 25 Description:                                       25 Description:
 26                 Read-only attribute common to      26                 Read-only attribute common to all SoCs. Contains SoC family name
 27                 (e.g. DB8500).                     27                 (e.g. DB8500).
 28                                                    28 
 29                 On many of ARM based silicon w     29                 On many of ARM based silicon with SMCCC v1.2+ compliant firmware
 30                 this will contain the JEDEC JE     30                 this will contain the JEDEC JEP106 manufacturer’s identification
 31                 code. The format is "jep106:XX     31                 code. The format is "jep106:XXYY" where XX is identity code and
 32                 YY is continuation code.           32                 YY is continuation code.
 33                                                    33 
 34                 This manufacturer’s identifi     34                 This manufacturer’s identification code is defined by one
 35                 or more eight (8) bit fields,      35                 or more eight (8) bit fields, each consisting of seven (7)
 36                 data bits plus one (1) odd par     36                 data bits plus one (1) odd parity bit. It is a single field,
 37                 limiting the possible number o     37                 limiting the possible number of vendors to 126. To expand
 38                 the maximum number of identifi     38                 the maximum number of identification codes, a continuation
 39                 scheme has been defined.           39                 scheme has been defined.
 40                                                    40 
 41                 The specified mechanism is tha     41                 The specified mechanism is that an identity code of 0x7F
 42                 represents the "continuation c     42                 represents the "continuation code" and implies the presence
 43                 of an additional identity code     43                 of an additional identity code field, and this mechanism
 44                 may be extended to multiple co     44                 may be extended to multiple continuation codes followed
 45                 by the manufacturer's identity     45                 by the manufacturer's identity code.
 46                                                    46 
 47                 For example, ARM has identity      47                 For example, ARM has identity code 0x7F 0x7F 0x7F 0x7F 0x3B,
 48                 which is code 0x3B on the fift     48                 which is code 0x3B on the fifth 'page'. This is shortened
 49                 as JEP106 identity code of 0x3     49                 as JEP106 identity code of 0x3B and a continuation code of
 50                 0x4 to represent the four cont     50                 0x4 to represent the four continuation codes preceding the
 51                 identity code.                     51                 identity code.
 52                                                    52 
 53 What:           /sys/devices/socX/serial_numbe     53 What:           /sys/devices/socX/serial_number
 54 Date:           January 2019                       54 Date:           January 2019
 55 contact:        Bjorn Andersson <bjorn.andersso     55 contact:        Bjorn Andersson <bjorn.andersson@linaro.org>
 56 Description:                                       56 Description:
 57                 Read-only attribute supported      57                 Read-only attribute supported by most SoCs. Contains the SoC's
 58                 serial number, if available.       58                 serial number, if available.
 59                                                    59 
 60 What:           /sys/devices/socX/soc_id           60 What:           /sys/devices/socX/soc_id
 61 Date:           January 2012                       61 Date:           January 2012
 62 contact:        Lee Jones <lee@kernel.org>          62 contact:        Lee Jones <lee@kernel.org>
 63 Description:                                       63 Description:
 64                 Read-only attribute supported      64                 Read-only attribute supported by most SoCs. In the case of
 65                 ST-Ericsson's chips this conta     65                 ST-Ericsson's chips this contains the SoC serial number.
 66                                                    66 
 67                 On many of ARM based silicon w     67                 On many of ARM based silicon with SMCCC v1.2+ compliant firmware
 68                 this will contain the SOC ID a     68                 this will contain the SOC ID appended to the family attribute
 69                 to ensure there is no conflict     69                 to ensure there is no conflict in this namespace across various
 70                 vendors. The format is "jep106     70                 vendors. The format is "jep106:XXYY:ZZZZ" where XX is identity
 71                 code, YY is continuation code      71                 code, YY is continuation code and ZZZZ is the SOC ID.
 72                                                    72 
 73 What:           /sys/devices/socX/revision         73 What:           /sys/devices/socX/revision
 74 Date:           January 2012                       74 Date:           January 2012
 75 contact:        Lee Jones <lee@kernel.org>          75 contact:        Lee Jones <lee@kernel.org>
 76 Description:                                       76 Description:
 77                 Read-only attribute supported      77                 Read-only attribute supported by most SoCs. Contains the SoC's
 78                 manufacturing revision number.     78                 manufacturing revision number.
 79                                                    79 
 80 What:           /sys/devices/socX/process          80 What:           /sys/devices/socX/process
 81 Date:           January 2012                       81 Date:           January 2012
 82 contact:        Lee Jones <lee@kernel.org>          82 contact:        Lee Jones <lee@kernel.org>
 83 Description:                                       83 Description:
 84                 Read-only attribute supported      84                 Read-only attribute supported ST-Ericsson's silicon. Contains the
 85                 the process by which the silic     85                 the process by which the silicon chip was manufactured.
 86                                                    86 
 87 What:           /sys/bus/soc                       87 What:           /sys/bus/soc
 88 Date:           January 2012                       88 Date:           January 2012
 89 contact:        Lee Jones <lee@kernel.org>          89 contact:        Lee Jones <lee@kernel.org>
 90 Description:                                       90 Description:
 91                 The /sys/bus/soc/ directory co     91                 The /sys/bus/soc/ directory contains the usual sub-folders
 92                 expected under most buses. /sy     92                 expected under most buses. /sys/bus/soc/devices is of particular
 93                 interest, as it contains a sym     93                 interest, as it contains a symlink for each SoC device found on
 94                 the system. Each symlink point     94                 the system. Each symlink points back into the aforementioned
 95                 /sys/devices/socX devices.         95                 /sys/devices/socX devices.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php