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/serial_number
43 Contact: Greg Kroah-Hartman <greg@kroah.com>
45 Serial Number of the Greybus interface, represented by a 64 bit
48 What: /sys/bus/greybus/device/N-I/product_id
51 Contact: Greg Kroah-Hartman <greg@kroah.com>
53 Product ID of a Greybus interface.
55 What: /sys/bus/greybus/device/N-I/product_string
58 Contact: Greg Kroah-Hartman <greg@kroah.com>
60 Product ID string of a Greybus interface.
62 What: /sys/bus/greybus/device/N-I/vendor_id
65 Contact: Greg Kroah-Hartman <greg@kroah.com>
67 Vendor ID of a Greybus interface.
69 What: /sys/bus/greybus/device/N-I/vendor_string
72 Contact: Greg Kroah-Hartman <greg@kroah.com>
74 Vendor ID string of a Greybus interface block.
76 What: /sys/bus/greybus/device/N-I/version
79 Contact: Greg Kroah-Hartman <greg@kroah.com>
81 Interface version represented as <16 bit major number>.<16 bit
84 What: /sys/bus/greybus/device/N-I/voltage_now
87 Contact: Greg Kroah-Hartman <greg@kroah.com>
89 Voltage measurement of the interface in microvolts (uV)
91 What: /sys/bus/greybus/device/N-I/current_now
94 Contact: Greg Kroah-Hartman <greg@kroah.com>
96 Current measurement of the interface in microamps (uA)
98 What: /sys/bus/greybus/device/N-I/power_now
101 Contact: Greg Kroah-Hartman <greg@kroah.com>
103 Power measurement of the interface in microwatts (uW)
105 What: /sys/bus/greybus/device/N-I.B
108 Contact: Greg Kroah-Hartman <greg@kroah.com>
110 A bundle B on the Interface I, B is replaced by a 1-byte
111 number representing the bundle.
113 What: /sys/bus/greybus/device/N-I.B/bundle_class
116 Contact: Greg Kroah-Hartman <greg@kroah.com>
118 The greybus class of the bundle B.
120 What: /sys/bus/greybus/device/N-I.B/bundle_id
123 Contact: Greg Kroah-Hartman <greg@kroah.com>
125 The interface-unique id of the bundle B.
127 What: /sys/bus/greybus/device/N-I.B/state
130 Contact: Greg Kroah-Hartman <greg@kroah.com>
132 A bundle has a state that is managed by the userspace
133 Endo process. This file allows that Endo to signal
134 other Android HALs that the state of the bundle has
135 changed to a specific value. When written to, any
136 process watching the file will be woken up, and the new
137 value can be read. It's a "poor-man's IPC", yes, but
138 simplifies the Android userspace code immensely.
140 What: /sys/bus/greybus/device/N-svc
143 Contact: Greg Kroah-Hartman <greg@kroah.com>
145 The singleton SVC device of bus N.
147 What: /sys/bus/greybus/device/N-svc/ap_intf_id
150 Contact: Greg Kroah-Hartman <greg@kroah.com>
152 The AP interface ID, a 1-byte non-zero integer which
153 defines the position of the AP module on the frame.
154 The interface positions are defined in the ARA
155 Module Developer Kit.
157 What: /sys/bus/greybus/device/N-svc/endo_id
160 Contact: Greg Kroah-Hartman <greg@kroah.com>
162 The Endo ID, which is a 2-byte hexadecimal value
163 defined by the Endo layout scheme, documented in
164 the ARA Module Developer Kit.
166 What: /sys/bus/greybus/device/N-svc/intf_eject
169 Contact: Greg Kroah-Hartman <greg@kroah.com>
171 Write the number of the interface that you wish to
172 forcibly eject from the system.
174 What: /sys/bus/greybus/device/N-svc/version
177 Contact: Greg Kroah-Hartman <greg@kroah.com>
179 The version number of the firmware in the SVC device.
181 What: /sys/bus/greybus/device/N-svc/watchdog
184 Contact: Greg Kroah-Hartman <greg@kroah.com>
186 If the SVC watchdog is enabled or not. Writing 0 to this
187 file will disable the watchdog, writing 1 will enable it.