All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: fsl-mc: add sysfs ABI doc
@ 2016-12-07 23:29 Stuart Yoder
  2016-12-07 23:29 ` [PATCH] staging: fsl-mc: remove unnecessary info prints from bus driver Stuart Yoder
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Yoder @ 2016-12-07 23:29 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-kernel, agraf, arnd, leoyang.li, ioana.ciornei,
	catalin.horghidan, laurentiu.tudor, ruxandra.radulescu,
	Stuart Yoder

define the bind/unbind sysfs interfaces for the fsl-mc bus

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
---
 Documentation/ABI/testing/sysfs-bus-fsl-mc | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-fsl-mc

diff --git a/Documentation/ABI/testing/sysfs-bus-fsl-mc b/Documentation/ABI/testing/sysfs-bus-fsl-mc
new file mode 100644
index 0000000..80256b8
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-fsl-mc
@@ -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
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-07 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 23:29 [PATCH] staging: fsl-mc: add sysfs ABI doc Stuart Yoder
2016-12-07 23:29 ` [PATCH] staging: fsl-mc: remove unnecessary info prints from bus driver Stuart Yoder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.