summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/Documentation
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-12-28 11:59:01 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-30 13:13:04 -0800
commitd39bf704acbd254576e3fc880ec13e6cd09e88c7 (patch)
tree9fbe2f99d56229a5c4491553c148a90dfa01b814 /drivers/staging/greybus/Documentation
parent57c6bcc635626e24fff3546bb072b4ba4163872b (diff)
greybus: interface: Fetch and expose version of interface's firmware
The version of the currently running firmware on the module is useful for userspace as it can be used to find if an update is available or not. This patch fetches interface's version with a new control operation and exposes the same in userspace. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> 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-greybus8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
index 0d16d7649a5a..9ce36ddfb4da 100644
--- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus
+++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
@@ -73,6 +73,14 @@ 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
+Contact: Greg Kroah-Hartman <greg@kroah.com>
+Description:
+ Interface version represented as <16 bit major number>.<16 bit
+ minor number>.
+
What: /sys/bus/greybus/device/N-I.B
Date: October 2015
KernelVersion: 4.XX