staging: fsl-mc: add sysfs ABI doc
authorStuart Yoder <stuart.yoder@nxp.com>
Wed, 7 Dec 2016 23:29:00 +0000 (17:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2016 20:00:08 +0000 (21:00 +0100)
define the bind/unbind sysfs interfaces for the fsl-mc bus

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-fsl-mc [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-bus-fsl-mc b/Documentation/ABI/testing/sysfs-bus-fsl-mc
new file mode 100644 (file)
index 0000000..80256b8
--- /dev/null
@@ -0,0 +1,21 @@
+What:          /sys/bus/fsl-mc/drivers/.../bind
+Date:          December 2016
+Contact:       stuart.yoder@nxp.com
+Description:
+               Writing a device location to this file will cause
+               the driver to attempt to bind to the device found at
+               this location. The format for the location is Object.Id
+               and is the same as found in /sys/bus/fsl-mc/devices/.
+                For example:
+               # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
+
+What:          /sys/bus/fsl-mc/drivers/.../unbind
+Date:          December 2016
+Contact:       stuart.yoder@nxp.com
+Description:
+               Writing a device location to this file will cause the
+               driver to attempt to unbind from the device found at
+               this location. The format for the location is Object.Id
+               and is the same as found in /sys/bus/fsl-mc/devices/.
+                For example:
+               # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind