greybus: connection: document the sysfs files
[cascardo/linux.git] / drivers / staging / greybus / Documentation / sysfs-bus-greybus
1 What:           /sys/bus/greybus/device/.../product
2 Date:           December 2014
3 KernelVersion:  3.XX
4 Contact:        Greg Kroah-Hartman <greg@kroah.com>
5 Description:
6                 Product ID of a Greybus interface block.
7
8 What:           /sys/bus/greybus/device/.../product_string
9 Date:           December 2014
10 KernelVersion:  3.XX
11 Contact:        Greg Kroah-Hartman <greg@kroah.com>
12 Description:
13                 Product ID string of a Greybus interface block.
14
15 What:           /sys/bus/greybus/device/.../unique_id
16 Date:           December 2014
17 KernelVersion:  3.XX
18 Contact:        Greg Kroah-Hartman <greg@kroah.com>
19 Description:
20                 Unique ID of a Greybus interface block.
21
22 What:           /sys/bus/greybus/device/.../vendor
23 Date:           December 2014
24 KernelVersion:  3.XX
25 Contact:        Greg Kroah-Hartman <greg@kroah.com>
26 Description:
27                 Vendor ID of a Greybus interface block.
28
29 What:           /sys/bus/greybus/device/.../vendor_string
30 Date:           December 2014
31 KernelVersion:  3.XX
32 Contact:        Greg Kroah-Hartman <greg@kroah.com>
33 Description:
34                 Vendor ID string of a Greybus interface block.
35
36 What:           /sys/bus/greybus/device/.../state
37 Date:           December 2014
38 KernelVersion:  3.XX
39 Contact:        Greg Kroah-Hartman <greg@kroah.com>
40 Description:
41                 The current state of a Greybus connection.
42
43                 It will be one of the following values:
44                 0 - invalid
45                 1 - disabled
46                 2 - enabled
47                 3 - error
48                 4 - destroying
49
50 What:           /sys/bus/greybus/device/.../protocol_id
51 Date:           December 2014
52 KernelVersion:  3.XX
53 Contact:        Greg Kroah-Hartman <greg@kroah.com>
54 Description:
55                 The protocol id of a Greybus connection.