summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-driver-eud
diff options
context:
space:
mode:
authorSouradeep Chowdhury <quic_schowdhu@quicinc.com>2022-02-08 20:54:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-11 14:01:02 +0300
commit9a1bf58ccd4432688cee28a8e77726d7962fed13 (patch)
treea6ea52ec98e481c77f8a481f6ed28071e5fc5f7d /Documentation/ABI/testing/sysfs-driver-eud
parent306a20df822d5a6522aa4aa2029a858ed5fbd517 (diff)
downloadlinux-9a1bf58ccd4432688cee28a8e77726d7962fed13.tar.xz
usb: misc: eud: Add driver support for Embedded USB Debugger(EUD)
Add support for control peripheral of EUD (Embedded USB Debugger) to listen to events such as USB attach/detach, pet EUD to indicate software is functional.Reusing the platform device kobj, sysfs entry 'enable' is created to enable or disable EUD. To enable the eud the following needs to be done echo 1 > /sys/bus/platform/.../enable To disable eud, following is the command echo 0 > /sys/bus/platform/.../enable Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com> Link: https://lore.kernel.org/r/0ac5c2b2c8e4ce4f4f342a08b48cfc61aeaf7ee8.1644339918.git.quic_schowdhu@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-eud')
-rw-r--r--Documentation/ABI/testing/sysfs-driver-eud9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-eud b/Documentation/ABI/testing/sysfs-driver-eud
new file mode 100644
index 000000000000..83f3872182a4
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-driver-eud
@@ -0,0 +1,9 @@
+What: /sys/bus/platform/drivers/eud/.../enable
+Date: February 2022
+Contact: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
+Description:
+ The Enable/Disable sysfs interface for Embedded
+ USB Debugger(EUD). This enables and disables the
+ EUD based on a 1 or a 0 value. By enabling EUD,
+ the user is able to activate the mini-usb hub of
+ EUD for debug and trace capabilities.