summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/Documentation
diff options
context:
space:
mode:
authorJohan Hovold2016-04-13 19:19:04 +0200
committerGreg Kroah-Hartman2016-04-21 03:09:03 +0200
commit7c8eb12dbb4c1b43ce705a8ba1a5c9c1191e75d8 (patch)
tree3fce31fc4978c18503e4bf101708416f586f21c8 /drivers/staging/greybus/Documentation
parentgreybus: interface: register control device at hotplug (diff)
downloadkernel-qcow2-linux-7c8eb12dbb4c1b43ce705a8ba1a5c9c1191e75d8.tar.gz
kernel-qcow2-linux-7c8eb12dbb4c1b43ce705a8ba1a5c9c1191e75d8.tar.xz
kernel-qcow2-linux-7c8eb12dbb4c1b43ce705a8ba1a5c9c1191e75d8.zip
greybus: interface: move vendor and product strings to control device
The control device is an abstraction of the control connection over which a greybus manifest is retrieved. As interfaces switch modes (e.g. after boot-over-unipro) they expose new manifests, which can contain different vendor and product strings. Eventually control devices will be deregistered and recreated after an interface mode switch, while the interface itself remains registered. Note that only interfaces of type greybus will have control devices. Specifically, dummy interfaces will not. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/Documentation')
-rw-r--r--drivers/staging/greybus/Documentation/sysfs-bus-greybus28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
index d8bf30e90586..4831efb9d0f7 100644
--- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus
+++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
@@ -52,13 +52,6 @@ Contact: Greg Kroah-Hartman <greg@kroah.com>
Description:
Product ID of a Greybus interface.
-What: /sys/bus/greybus/device/N-I/product_string
-Date: October 2015
-KernelVersion: 4.XX
-Contact: Greg Kroah-Hartman <greg@kroah.com>
-Description:
- Product ID string of a Greybus interface.
-
What: /sys/bus/greybus/device/N-I/vendor_id
Date: October 2015
KernelVersion: 4.XX
@@ -66,13 +59,6 @@ Contact: Greg Kroah-Hartman <greg@kroah.com>
Description:
Vendor ID of a Greybus interface.
-What: /sys/bus/greybus/device/N-I/vendor_string
-Date: October 2015
-KernelVersion: 4.XX
-Contact: Greg Kroah-Hartman <greg@kroah.com>
-Description:
- Vendor ID string of a Greybus interface block.
-
What: /sys/bus/greybus/device/N-I/version
Date: October 2015
KernelVersion: 4.XX
@@ -110,6 +96,20 @@ 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.ctrl/product_string
+Date: October 2015
+KernelVersion: 4.XX
+Contact: Greg Kroah-Hartman <greg@kroah.com>
+Description:
+ Product ID string of a Greybus interface.
+
+What: /sys/bus/greybus/device/N-I.ctrl/vendor_string
+Date: October 2015
+KernelVersion: 4.XX
+Contact: Greg Kroah-Hartman <greg@kroah.com>
+Description:
+ Vendor ID string of a Greybus interface.
+
What: /sys/bus/greybus/device/N-I.B/bundle_class
Date: October 2015
KernelVersion: 4.XX