15d8e1881SLogan Gunthorpeswitchtec - Microsemi Switchtec PCI Switch Management Endpoint
25d8e1881SLogan Gunthorpe
3baa293e9SMauro Carvalho ChehabFor details on this subsystem look at Documentation/driver-api/switchtec.rst.
45d8e1881SLogan Gunthorpe
55d8e1881SLogan GunthorpeWhat: 		/sys/class/switchtec
65d8e1881SLogan GunthorpeDate:		05-Jan-2017
75d8e1881SLogan GunthorpeKernelVersion:	v4.11
85d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
95d8e1881SLogan GunthorpeDescription:	The switchtec class subsystem folder.
105d8e1881SLogan Gunthorpe		Each registered switchtec driver is represented by a switchtecX
115d8e1881SLogan Gunthorpe		subfolder (X being an integer >= 0).
125d8e1881SLogan Gunthorpe
135d8e1881SLogan Gunthorpe
145d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/component_id
155d8e1881SLogan GunthorpeDate:		05-Jan-2017
165d8e1881SLogan GunthorpeKernelVersion:	v4.11
175d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
185d8e1881SLogan GunthorpeDescription:	Component identifier as stored in the hardware (eg. PM8543)
195d8e1881SLogan Gunthorpe		(read only)
205d8e1881SLogan GunthorpeValues: 	arbitrary string.
215d8e1881SLogan Gunthorpe
225d8e1881SLogan Gunthorpe
235d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/component_revision
245d8e1881SLogan GunthorpeDate:		05-Jan-2017
255d8e1881SLogan GunthorpeKernelVersion:	v4.11
265d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
275d8e1881SLogan GunthorpeDescription:	Component revision stored in the hardware (read only)
285d8e1881SLogan GunthorpeValues: 	integer.
295d8e1881SLogan Gunthorpe
305d8e1881SLogan Gunthorpe
315d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/component_vendor
325d8e1881SLogan GunthorpeDate:		05-Jan-2017
335d8e1881SLogan GunthorpeKernelVersion:	v4.11
345d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
355d8e1881SLogan GunthorpeDescription:	Component vendor as stored in the hardware (eg. MICROSEM)
365d8e1881SLogan Gunthorpe		(read only)
375d8e1881SLogan GunthorpeValues: 	arbitrary string.
385d8e1881SLogan Gunthorpe
395d8e1881SLogan Gunthorpe
405d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/device_version
415d8e1881SLogan GunthorpeDate:		05-Jan-2017
425d8e1881SLogan GunthorpeKernelVersion:	v4.11
435d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
445d8e1881SLogan GunthorpeDescription:	Device version as stored in the hardware (read only)
455d8e1881SLogan GunthorpeValues: 	integer.
465d8e1881SLogan Gunthorpe
475d8e1881SLogan Gunthorpe
485d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/fw_version
495d8e1881SLogan GunthorpeDate:		05-Jan-2017
505d8e1881SLogan GunthorpeKernelVersion:	v4.11
515d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
525d8e1881SLogan GunthorpeDescription:	Currently running firmware version (read only)
535d8e1881SLogan GunthorpeValues: 	integer (in hexadecimal).
545d8e1881SLogan Gunthorpe
555d8e1881SLogan Gunthorpe
565d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/partition
575d8e1881SLogan GunthorpeDate:		05-Jan-2017
585d8e1881SLogan GunthorpeKernelVersion:	v4.11
595d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
605d8e1881SLogan GunthorpeDescription:	Partition number for this device in the switch (read only)
615d8e1881SLogan GunthorpeValues: 	integer.
625d8e1881SLogan Gunthorpe
635d8e1881SLogan Gunthorpe
645d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/partition_count
655d8e1881SLogan GunthorpeDate:		05-Jan-2017
665d8e1881SLogan GunthorpeKernelVersion:	v4.11
675d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
685d8e1881SLogan GunthorpeDescription:	Total number of partitions in the switch (read only)
695d8e1881SLogan GunthorpeValues: 	integer.
705d8e1881SLogan Gunthorpe
715d8e1881SLogan Gunthorpe
725d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/product_id
735d8e1881SLogan GunthorpeDate:		05-Jan-2017
745d8e1881SLogan GunthorpeKernelVersion:	v4.11
755d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
765d8e1881SLogan GunthorpeDescription:	Product identifier as stored in the hardware (eg. PSX 48XG3)
775d8e1881SLogan Gunthorpe		(read only)
785d8e1881SLogan GunthorpeValues: 	arbitrary string.
795d8e1881SLogan Gunthorpe
805d8e1881SLogan Gunthorpe
815d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/product_revision
825d8e1881SLogan GunthorpeDate:		05-Jan-2017
835d8e1881SLogan GunthorpeKernelVersion:	v4.11
845d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
855d8e1881SLogan GunthorpeDescription:	Product revision stored in the hardware (eg. RevB)
865d8e1881SLogan Gunthorpe		(read only)
875d8e1881SLogan GunthorpeValues: 	arbitrary string.
885d8e1881SLogan Gunthorpe
895d8e1881SLogan Gunthorpe
905d8e1881SLogan GunthorpeWhat:		/sys/class/switchtec/switchtec[0-9]+/product_vendor
915d8e1881SLogan GunthorpeDate:		05-Jan-2017
925d8e1881SLogan GunthorpeKernelVersion:	v4.11
935d8e1881SLogan GunthorpeContact:	Logan Gunthorpe <logang@deltatee.com>
945d8e1881SLogan GunthorpeDescription:	Product vendor as stored in the hardware (eg. MICROSEM)
955d8e1881SLogan Gunthorpe		(read only)
965d8e1881SLogan GunthorpeValues: 	arbitrary string.
97