diff options
author | Viresh Kumar | 2015-09-07 14:26:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-15 06:29:01 +0200 |
commit | 8552ca0f3634bf6aaf8f752fb9a73652326117eb (patch) | |
tree | c3eab25d80bbb0d06cbdc33eff4787e811b56ce6 /drivers/staging/greybus/Documentation | |
parent | greybus: svc: destroy the route on module hot-unplug (diff) | |
download | kernel-qcow2-linux-8552ca0f3634bf6aaf8f752fb9a73652326117eb.tar.gz kernel-qcow2-linux-8552ca0f3634bf6aaf8f752fb9a73652326117eb.tar.xz kernel-qcow2-linux-8552ca0f3634bf6aaf8f752fb9a73652326117eb.zip |
greybus: connection: Add sysfs 'ap_cport_id' file for connections
Its a very useful piece of information, i.e. the cport id of the AP to
which the cport of the module is connected, and is required lots of
times. It isn't known in advance as it is allocated at runtime.
This patch creates another file 'ap_cport_id', only for the connection
directories, which will give the cport id of the AP.
Signed-off-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-greybus | 8 |
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 808fde96f56b..acc405456198 100644 --- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus +++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus @@ -126,6 +126,14 @@ Description: 3 - error 4 - destroying +What: /sys/bus/greybus/device/.../ap_cport_id +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman <greg@kroah.com> +Description: + The cport ID of the AP, to which cport of the module is + connected. + What: /sys/bus/greybus/device/.../protocol_id Date: October 2015 KernelVersion: 4.XX |