9a1bf58ccd
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>
10 lines
397 B
Plaintext
10 lines
397 B
Plaintext
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.
|