1 What: /sys/bus/greybus/device/greybusN
4 Contact: Greg Kroah-Hartman <greg@kroah.com>
6 The "root" greybus device for the Greybus device tree, or bus,
7 where N is a dynamically assigned 1-based id.
9 What: /sys/bus/greybus/device/N-I
12 Contact: Greg Kroah-Hartman <greg@kroah.com>
14 An Interface I on the bus N, where I is the 1-byte interface
17 What: /sys/bus/greybus/device/N-I/ddbl1_manufacturer_id
20 Contact: Greg Kroah-Hartman <greg@kroah.com>
22 Unipro Device Descriptor Block Level 1 manufacturer ID for the
25 What: /sys/bus/greybus/device/N-I/ddbl1_product_id
28 Contact: Greg Kroah-Hartman <greg@kroah.com>
30 Unipro Device Descriptor Block Level 1 product ID for the
33 What: /sys/bus/greybus/device/N-I/interface_id
36 Contact: Greg Kroah-Hartman <greg@kroah.com>
38 The ID of a Greybus interface.
40 What: /sys/bus/greybus/device/N-I/product_id
43 Contact: Greg Kroah-Hartman <greg@kroah.com>
45 Product ID of a Greybus interface.
47 What: /sys/bus/greybus/device/N-I/product_string
50 Contact: Greg Kroah-Hartman <greg@kroah.com>
52 Product ID string of a Greybus interface.
54 What: /sys/bus/greybus/device/N-I/vendor_id
57 Contact: Greg Kroah-Hartman <greg@kroah.com>
59 Vendor ID of a Greybus interface.
61 What: /sys/bus/greybus/device/N-I/vendor_string
64 Contact: Greg Kroah-Hartman <greg@kroah.com>
66 Vendor ID string of a Greybus interface block.
68 What: /sys/bus/greybus/device/N-I.B
71 Contact: Greg Kroah-Hartman <greg@kroah.com>
73 A bundle B on the Interface I, B is replaced by a 1-byte
74 number representing the bundle.
76 What: /sys/bus/greybus/device/N-I.B/bundle_class
79 Contact: Greg Kroah-Hartman <greg@kroah.com>
81 The greybus class of the bundle B.
83 What: /sys/bus/greybus/device/N-I.B/bundle_id
86 Contact: Greg Kroah-Hartman <greg@kroah.com>
88 The interface-unique id of the bundle B.
90 What: /sys/bus/greybus/device/N-I.B/state
93 Contact: Greg Kroah-Hartman <greg@kroah.com>
95 A bundle has a state that is managed by the userspace
96 Endo process. This file allows that Endo to signal
97 other Android HALs that the state of the bundle has
98 changed to a specific value. When written to, any
99 process watching the file will be woken up, and the new
100 value can be read. It's a "poor-man's IPC", yes, but
101 simplifies the Android userspace code immensely.
103 What: /sys/bus/greybus/device/N-svc
106 Contact: Greg Kroah-Hartman <greg@kroah.com>
108 The singleton SVC device of bus N.
110 What: /sys/bus/greybus/device/N-svc/ap_intf_id
113 Contact: Greg Kroah-Hartman <greg@kroah.com>
115 The AP interface ID, a 1-byte non-zero integer which
116 defines the position of the AP module on the frame.
117 The interface positions are defined in the ARA
118 Module Developer Kit.
120 What: /sys/bus/greybus/device/N-svc/endo_id
123 Contact: Greg Kroah-Hartman <greg@kroah.com>
125 The Endo ID, which is a 2-byte hexadecimal value
126 defined by the Endo layout scheme, documented in
127 the ARA Module Developer Kit.
129 What: /sys/bus/greybus/device/N-svc/unique_id
132 Contact: Greg Kroah-Hartman <greg@kroah.com>
134 The unique ID, or serial number, of the SVC device
136 What: /sys/bus/greybus/device/N-svc/version
139 Contact: Greg Kroah-Hartman <greg@kroah.com>
141 The version number of the firmware in the SVC device.