summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/Documentation/sysfs-bus-greybus
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2014-12-11 22:11:00 (GMT)
committerGreg Kroah-Hartman <greg@kroah.com>2014-12-12 00:53:59 (GMT)
commita500a8a6ef283f47efaddde8c8b7213a76a731c5 (patch)
treee78cd0c7db279c167c8e6fba46034d6757259c3d /drivers/staging/greybus/Documentation/sysfs-bus-greybus
parentab88eb58c7a56ded2fd3ec4b9184075ff415cad3 (diff)
downloadlinux-a500a8a6ef283f47efaddde8c8b7213a76a731c5.tar.xz
greybus: connection: document the sysfs files
Document what the sysfs files are for connections, so that people have a chance to understand what they can be used for. Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/Documentation/sysfs-bus-greybus')
-rw-r--r--drivers/staging/greybus/Documentation/sysfs-bus-greybus20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
index cd1d812..b734c67 100644
--- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus
+++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
@@ -33,3 +33,23 @@ Contact: Greg Kroah-Hartman <greg@kroah.com>
Description:
Vendor ID string of a Greybus interface block.
+What: /sys/bus/greybus/device/.../state
+Date: December 2014
+KernelVersion: 3.XX
+Contact: Greg Kroah-Hartman <greg@kroah.com>
+Description:
+ The current state of a Greybus connection.
+
+ It will be one of the following values:
+ 0 - invalid
+ 1 - disabled
+ 2 - enabled
+ 3 - error
+ 4 - destroying
+
+What: /sys/bus/greybus/device/.../protocol_id
+Date: December 2014
+KernelVersion: 3.XX
+Contact: Greg Kroah-Hartman <greg@kroah.com>
+Description:
+ The protocol id of a Greybus connection.