blob: 4b511dbff0da9af4a9d35d8723fe41090bb5bf72 [file] [log] [blame]
Greg Kroah-Hartman7baa1842015-04-07 20:27:53 +02001What: /sys/bus/greybus/device/endo-XXXX
2Date: October 2015
3KernelVersion: 4.XX
4Contact: Greg Kroah-Hartman <greg@kroah.com>
5Description:
6 The "root" endo for the Greybus device tree. XXX is
7 replaced with the numeric value of the endo layout
8 scheme as documented in the ARA Module Developer Kit.
9
10What: /sys/bus/greybus/device/endo-XXXX/SVC/serial_number
11Date: October 2015
12KernelVersion: 4.XX
13Contact: Greg Kroah-Hartman <greg@kroah.com>
14Description:
15 The serial number of the SVC device
16
17What: /sys/bus/greybus/device/endo-XXXX/SVC/version
18Date: October 2015
19KernelVersion: 4.XX
20Contact: Greg Kroah-Hartman <greg@kroah.com>
21Description:
22 The version number of the firmware in the SVC device.
23
Greg Kroah-Hartmanb0235b22015-04-07 20:28:13 +020024What: /sys/bus/greybus/device/endo-XXXX/../epm
25Date: October 2015
26KernelVersion: 4.XX
27Contact: Greg Kroah-Hartman <greg@kroah.com>
28Description:
29 The EPM (Electropermanent Magnet) control file for
30 the specific module slot the file is present in.
31 Writing 1 to it turns it on, writing 0 to it turns it
32 off. Reading the value returns if it is on or off.
33
34What: /sys/bus/greybus/device/endo-XXXX/../power_control
35Date: October 2015
36KernelVersion: 4.XX
37Contact: Greg Kroah-Hartman <greg@kroah.com>
38Description:
39 The power control file for the specific module slot that
40 the file is present in. Writing 1 to it turns power on
41 to the module, writing 0 to it turns power off to the
42 module. Reading the value returns if it is on or off.
43
44What: /sys/bus/greybus/device/endo-XXXX/../present
45Date: October 2015
46KernelVersion: 4.XX
47Contact: Greg Kroah-Hartman <greg@kroah.com>
48Description:
49 The "is a module present in the slot" file for the
50 specific module slot that the file is present in.
51 This is read-only, 1 means a module is present, 0 means
52 no module is present.
53
Greg Kroah-Hartmanfc2a8fb2014-12-11 17:10:58 -050054What: /sys/bus/greybus/device/.../product
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +020055Date: October 2015
56KernelVersion: 4.XX
Greg Kroah-Hartmanfc2a8fb2014-12-11 17:10:58 -050057Contact: Greg Kroah-Hartman <greg@kroah.com>
58Description:
59 Product ID of a Greybus interface block.
60
61What: /sys/bus/greybus/device/.../product_string
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +020062Date: October 2015
63KernelVersion: 4.XX
Greg Kroah-Hartmanfc2a8fb2014-12-11 17:10:58 -050064Contact: Greg Kroah-Hartman <greg@kroah.com>
65Description:
66 Product ID string of a Greybus interface block.
67
68What: /sys/bus/greybus/device/.../unique_id
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +020069Date: October 2015
70KernelVersion: 4.XX
Greg Kroah-Hartmanfc2a8fb2014-12-11 17:10:58 -050071Contact: Greg Kroah-Hartman <greg@kroah.com>
72Description:
73 Unique ID of a Greybus interface block.
74
75What: /sys/bus/greybus/device/.../vendor
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +020076Date: October 2015
77KernelVersion: 4.XX
Greg Kroah-Hartmanfc2a8fb2014-12-11 17:10:58 -050078Contact: Greg Kroah-Hartman <greg@kroah.com>
79Description:
80 Vendor ID of a Greybus interface block.
81
82What: /sys/bus/greybus/device/.../vendor_string
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +020083Date: October 2015
84KernelVersion: 4.XX
Greg Kroah-Hartmanfc2a8fb2014-12-11 17:10:58 -050085Contact: Greg Kroah-Hartman <greg@kroah.com>
86Description:
87 Vendor ID string of a Greybus interface block.
88
Greg Kroah-Hartmana500a8a2014-12-11 17:11:00 -050089What: /sys/bus/greybus/device/.../state
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +020090Date: October 2015
91KernelVersion: 4.XX
Greg Kroah-Hartmana500a8a2014-12-11 17:11:00 -050092Contact: Greg Kroah-Hartman <greg@kroah.com>
93Description:
94 The current state of a Greybus connection.
95
96 It will be one of the following values:
97 0 - invalid
98 1 - disabled
99 2 - enabled
100 3 - error
101 4 - destroying
102
103What: /sys/bus/greybus/device/.../protocol_id
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +0200104Date: October 2015
105KernelVersion: 4.XX
Greg Kroah-Hartmana500a8a2014-12-11 17:11:00 -0500106Contact: Greg Kroah-Hartman <greg@kroah.com>
107Description:
108 The protocol id of a Greybus connection.
Greg Kroah-Hartman640f13e2014-12-11 17:11:01 -0500109
110What: /sys/bus/greybus/device/.../device_id
Greg Kroah-Hartmanf0b67872015-04-07 20:27:36 +0200111Date: October 2015
112KernelVersion: 4.XX
Greg Kroah-Hartman640f13e2014-12-11 17:11:01 -0500113Contact: Greg Kroah-Hartman <greg@kroah.com>
114Description:
Greg Kroah-Hartman1db0a5f2014-12-12 17:10:17 -0500115 The device id of a Greybus bundle.