]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
greybus: Documentation/sysfs: add entry for control device
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 23 Apr 2016 16:47:21 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 25 Apr 2016 18:08:30 +0000 (11:08 -0700)
Add an entry for the recently added interface control device.

Also move the bundle-device entry below the control-device entries.

Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/sysfs-bus-greybus

index 4831efb9d0f77965db318d3c61ac3a7fa15112ca..89b15b0428f73e3c0a47d718f5d2acc42e1c8561 100644 (file)
@@ -88,13 +88,13 @@ Contact:    Greg Kroah-Hartman <greg@kroah.com>
 Description:
                Power measurement of the interface in microwatts (uW)
 
-What:          /sys/bus/greybus/device/N-I.B
+What:          /sys/bus/greybus/device/N-I.ctrl
 Date:          October 2015
 KernelVersion: 4.XX
 Contact:       Greg Kroah-Hartman <greg@kroah.com>
 Description:
-               A bundle B on the Interface I, B is replaced by a 1-byte
-               number representing the bundle.
+               Abstract control device for interface I that represents the
+               current mode of an enumerated Greybus interface.
 
 What:          /sys/bus/greybus/device/N-I.ctrl/product_string
 Date:          October 2015
@@ -110,6 +110,14 @@ Contact:   Greg Kroah-Hartman <greg@kroah.com>
 Description:
                Vendor ID string of a Greybus interface.
 
+What:          /sys/bus/greybus/device/N-I.B
+Date:          October 2015
+KernelVersion: 4.XX
+Contact:       Greg Kroah-Hartman <greg@kroah.com>
+Description:
+               A bundle B on the Interface I, B is replaced by a 1-byte
+               number representing the bundle.
+
 What:          /sys/bus/greybus/device/N-I.B/bundle_class
 Date:          October 2015
 KernelVersion: 4.XX