From: Sandeep Patil <sspatil@google.com>
Date: Fri, 29 Apr 2016 14:13:24 +0000 (-0700)
Subject: greybus: Documentation/sysfs: add entry for host device bus_id
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dc9e9cf450fb22ad8d4836bc2879ad3428a1b4eb;p=linux.git

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>
---

diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus
index a18ee7eed75af..044ede60dfec4 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 0000000000000..d00491fd7e5bb
--- /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 0000000000000..0cfbf08886fca
--- /dev/null
+++ b/drivers/staging/greybus/Documentation/sysfs/greybus2/bus_id
@@ -0,0 +1 @@
+2