summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2016-04-29 07:13:24 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2016-04-29 14:09:44 -0700
commitdc9e9cf450fb22ad8d4836bc2879ad3428a1b4eb (patch)
treec8354c4d9bfbb26cd70f1fd953a150136a6490f1 /drivers/staging/greybus
parentfbbd2b7c0876550b20c6ac0ee2df90ecc262712c (diff)
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')
-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