xref: /linux/Documentation/ABI/testing/sysfs-class-switchtec (revision 666ed8bfd1de3b091cf32ca03b651757dd86cfff)
1switchtec - Microsemi Switchtec PCI Switch Management Endpoint
2
3For details on this subsystem look at Documentation/driver-api/switchtec.rst.
4
5What: 		/sys/class/switchtec
6Date:		05-Jan-2017
7KernelVersion:	v4.11
8Contact:	Logan Gunthorpe <logang@deltatee.com>
9Description:	The switchtec class subsystem folder.
10		Each registered switchtec driver is represented by a switchtecX
11		subfolder (X being an integer >= 0).
12
13
14What:		/sys/class/switchtec/switchtec[0-9]+/component_id
15Date:		05-Jan-2017
16KernelVersion:	v4.11
17Contact:	Logan Gunthorpe <logang@deltatee.com>
18Description:	Component identifier as stored in the hardware (eg. PM8543)
19		(read only)
20Values: 	arbitrary string.
21
22
23What:		/sys/class/switchtec/switchtec[0-9]+/component_revision
24Date:		05-Jan-2017
25KernelVersion:	v4.11
26Contact:	Logan Gunthorpe <logang@deltatee.com>
27Description:	Component revision stored in the hardware (read only)
28Values: 	integer.
29
30
31What:		/sys/class/switchtec/switchtec[0-9]+/component_vendor
32Date:		05-Jan-2017
33KernelVersion:	v4.11
34Contact:	Logan Gunthorpe <logang@deltatee.com>
35Description:	Component vendor as stored in the hardware (eg. MICROSEM)
36		(read only)
37Values: 	arbitrary string.
38
39
40What:		/sys/class/switchtec/switchtec[0-9]+/device_version
41Date:		05-Jan-2017
42KernelVersion:	v4.11
43Contact:	Logan Gunthorpe <logang@deltatee.com>
44Description:	Device version as stored in the hardware (read only)
45Values: 	integer.
46
47
48What:		/sys/class/switchtec/switchtec[0-9]+/fw_version
49Date:		05-Jan-2017
50KernelVersion:	v4.11
51Contact:	Logan Gunthorpe <logang@deltatee.com>
52Description:	Currently running firmware version (read only)
53Values: 	integer (in hexadecimal).
54
55
56What:		/sys/class/switchtec/switchtec[0-9]+/partition
57Date:		05-Jan-2017
58KernelVersion:	v4.11
59Contact:	Logan Gunthorpe <logang@deltatee.com>
60Description:	Partition number for this device in the switch (read only)
61Values: 	integer.
62
63
64What:		/sys/class/switchtec/switchtec[0-9]+/partition_count
65Date:		05-Jan-2017
66KernelVersion:	v4.11
67Contact:	Logan Gunthorpe <logang@deltatee.com>
68Description:	Total number of partitions in the switch (read only)
69Values: 	integer.
70
71
72What:		/sys/class/switchtec/switchtec[0-9]+/product_id
73Date:		05-Jan-2017
74KernelVersion:	v4.11
75Contact:	Logan Gunthorpe <logang@deltatee.com>
76Description:	Product identifier as stored in the hardware (eg. PSX 48XG3)
77		(read only)
78Values: 	arbitrary string.
79
80
81What:		/sys/class/switchtec/switchtec[0-9]+/product_revision
82Date:		05-Jan-2017
83KernelVersion:	v4.11
84Contact:	Logan Gunthorpe <logang@deltatee.com>
85Description:	Product revision stored in the hardware (eg. RevB)
86		(read only)
87Values: 	arbitrary string.
88
89
90What:		/sys/class/switchtec/switchtec[0-9]+/product_vendor
91Date:		05-Jan-2017
92KernelVersion:	v4.11
93Contact:	Logan Gunthorpe <logang@deltatee.com>
94Description:	Product vendor as stored in the hardware (eg. MICROSEM)
95		(read only)
96Values: 	arbitrary string.
97