2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE
|
2015-04-07 12:27:53 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
2015-09-14 23:34:30 -06:00
|
|
|
The "root" endo devices for the Greybus device tree. E
|
|
|
|
is replaced with a 2 byte number representing the endo,
|
|
|
|
mostly 0.
|
2015-04-07 12:27:53 -06:00
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE/id
|
2015-05-27 10:17:50 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The Endo ID, which is a 2-byte hexadecimal value
|
2015-09-14 23:34:30 -06:00
|
|
|
defined by the Endo layout scheme, documented in
|
2015-05-27 10:17:50 -06:00
|
|
|
the ARA Module Developer Kit.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE/ap_intf_id
|
2015-05-27 10:17:50 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
2015-09-14 23:34:30 -06:00
|
|
|
The AP interface ID, a 1-byte non-zero integer which
|
2015-05-27 10:17:50 -06:00
|
|
|
defines the position of the AP module on the Endo.
|
|
|
|
The interface positions are defined in the ARA
|
|
|
|
Module Developer Kit.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE/svc/serial_number
|
2015-04-07 12:27:53 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The serial number of the SVC device
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE/svc/version
|
2015-04-07 12:27:53 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The version number of the firmware in the SVC device.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M
|
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
A module slot on the endoE, M is replaced by a 1-byte
|
|
|
|
number representing the module slot.
|
|
|
|
|
|
|
|
What: /sys/bus/greybus/device/endoE:M/epm
|
2015-04-07 12:28:13 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The EPM (Electropermanent Magnet) control file for
|
|
|
|
the specific module slot the file is present in.
|
|
|
|
Writing 1 to it turns it on, writing 0 to it turns it
|
|
|
|
off. Reading the value returns if it is on or off.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M/power_control
|
2015-04-07 12:28:13 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The power control file for the specific module slot that
|
|
|
|
the file is present in. Writing 1 to it turns power on
|
|
|
|
to the module, writing 0 to it turns power off to the
|
|
|
|
module. Reading the value returns if it is on or off.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M/present
|
2015-04-07 12:28:13 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The "is a module present in the slot" file for the
|
|
|
|
specific module slot that the file is present in.
|
|
|
|
This is read-only, 1 means a module is present, 0 means
|
|
|
|
no module is present.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I
|
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
An Interface I on the module slot M on the endoE, I is
|
|
|
|
replaced by a 1-byte number representing the interface.
|
|
|
|
|
|
|
|
What: /sys/bus/greybus/device/endoE:M:I/device_id
|
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
The device ID of a Greybus interface block.
|
|
|
|
|
|
|
|
What: /sys/bus/greybus/device/endoE:M:I/product
|
2015-04-07 12:27:36 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
2014-12-11 15:10:58 -07:00
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
Product ID of a Greybus interface block.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I/product_string
|
2015-04-07 12:27:36 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
2014-12-11 15:10:58 -07:00
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
Product ID string of a Greybus interface block.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I/vendor
|
2015-04-07 12:27:36 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
2014-12-11 15:10:58 -07:00
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
Vendor ID of a Greybus interface block.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I/vendor_string
|
2015-04-07 12:27:36 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
2014-12-11 15:10:58 -07:00
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
Vendor ID string of a Greybus interface block.
|
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I:B
|
2015-07-01 00:43:58 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
2015-09-14 23:34:30 -06:00
|
|
|
A bundle B on the Interface I, B is replaced by a 1-byte
|
|
|
|
number representing the bundle.
|
2015-07-01 00:43:58 -06:00
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I:B/class
|
2015-04-07 12:27:36 -06:00
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
2014-12-11 15:11:00 -07:00
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
2015-09-14 23:34:30 -06:00
|
|
|
The greybus class of the bundle B.
|
2014-12-11 15:11:00 -07:00
|
|
|
|
2015-09-14 23:34:30 -06:00
|
|
|
What: /sys/bus/greybus/device/endoE:M:I:B/state
|
|
|
|
Date: October 2015
|
|
|
|
KernelVersion: 4.XX
|
|
|
|
Contact: Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
Description:
|
|
|
|
A bundle has a state that is managed by the userspace
|
|
|
|
Endo process. This file allows that Endo to signal
|
|
|
|
other Android HALs that the state of the bundle has
|
|
|
|
changed to a specific value. When written to, any
|
|
|
|
process watching the file will be woken up, and the new
|
|
|
|
value can be read. It's a "poor-man's IPC", yes, but
|
|
|
|
simplifies the Android userspace code immensely.
|