summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/Documentation
diff options
context:
space:
mode:
authorSandeep Patil2016-04-29 16:13:24 +0200
committerGreg Kroah-Hartman2016-04-29 23:09:44 +0200
commitdc9e9cf450fb22ad8d4836bc2879ad3428a1b4eb (patch)
treec8354c4d9bfbb26cd70f1fd953a150136a6490f1 /drivers/staging/greybus/Documentation
parentgreybus: hd: add bus_id attribute (diff)
downloadkernel-qcow2-linux-dc9e9cf450fb22ad8d4836bc2879ad3428a1b4eb.tar.gz
kernel-qcow2-linux-dc9e9cf450fb22ad8d4836bc2879ad3428a1b4eb.tar.xz
kernel-qcow2-linux-dc9e9cf450fb22ad8d4836bc2879ad3428a1b4eb.zip
greybus: Documentation/sysfs: add entry for host device bus_id
Add description for greybus host device bus_id attribute Signed-off-by: Sandeep Patil <sspatil@google.com> Reviewed-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-greybus7
-rw-r--r--drivers/staging/greybus/Documentation/sysfs/greybus1/bus_id1
-rw-r--r--drivers/staging/greybus/Documentation/sysfs/greybus2/bus_id1
3 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
index a18ee7eed75a..044ede60dfec 100644
--- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus
+++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
@@ -6,6 +6,13 @@ Description:
The "root" greybus device for the Greybus device tree, or bus,
where N is a dynamically assigned 1-based id.
+What: /sys/bus/greybus/devices/greybusN/bus_id
+Date: April 2016
+KernelVersion: 4.XX
+Contact: Greg Kroah-Hartman <greg@kroah.com>
+Description:
+ The ID of the "root" greybus device, or bus.
+
What: /sys/bus/greybus/device/N-M
Date: March 2016
KernelVersion: 4.XX
diff --git a/drivers/staging/greybus/Documentation/sysfs/greybus1/bus_id b/drivers/staging/greybus/Documentation/sysfs/greybus1/bus_id
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/drivers/staging/greybus/Documentation/sysfs/greybus1/bus_id
@@ -0,0 +1 @@
+1
diff --git a/drivers/staging/greybus/Documentation/sysfs/greybus2/bus_id b/drivers/staging/greybus/Documentation/sysfs/greybus2/bus_id
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/drivers/staging/greybus/Documentation/sysfs/greybus2/bus_id
@@ -0,0 +1 @@
+2