greybus: Documentation/sysfs: add entry for host device bus_id
authorSandeep Patil <sspatil@google.com>
Fri, 29 Apr 2016 14:13:24 +0000 (07:13 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 29 Apr 2016 21:09:44 +0000 (14:09 -0700)
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>
drivers/staging/greybus/Documentation/sysfs-bus-greybus
drivers/staging/greybus/Documentation/sysfs/greybus1/bus_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/bus_id [new file with mode: 0644]

index a18ee7e..044ede6 100644 (file)
@@ -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 (file)
index 0000000..d00491f
--- /dev/null
@@ -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 (file)
index 0000000..0cfbf08
--- /dev/null
@@ -0,0 +1 @@
+2