From: Greg Kroah-Hartman Date: Thu, 11 Dec 2014 22:11:00 +0000 (-0500) Subject: greybus: connection: document the sysfs files X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1764 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a500a8a6ef283f47efaddde8c8b7213a76a731c5;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus index cd1d812d388e..b734c674b4f9 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 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 +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 +Description: + The protocol id of a Greybus connection.