linux_dsm_epyc7002/drivers/usb/gadget
Yoshihiro Shimoda 43ba968b00 usb: gadget: udc: renesas_usb3: add debugfs to set the b-device mode
This patch adds debugfs to set the "b-device" mode for using a board
which is not connected to the ID pin (e.g. CN11 on Salvator-X).
If we want to use peripheral mode on such a board, we have to disable
VBUS output first. So, this patch can set such a mode as the following:

 # mount -t debugfs none /sys/kernel/debug
 # modprobe renesas_usb3
 # modprobe g_mass_storage file=/dev/shm/test.bin
 # echo 1 > /sys/kernel/debug/ee020000.usb/b_device

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-08-09 13:12:06 +03:00
..
function usb: gadget: f_uac2: constify snd_pcm_ops structures 2017-08-09 13:08:44 +03:00
legacy usb: changes for v4.13 merge window 2017-06-20 11:39:34 +08:00
udc usb: gadget: udc: renesas_usb3: add debugfs to set the b-device mode 2017-08-09 13:12:06 +03:00
composite.c usb: changes for v4.13 merge window 2017-06-20 11:39:34 +08:00
config.c
configfs.c
configfs.h
epautoconf.c
functions.c
Kconfig usb: gadget: add f_uac1 variant based on a new u_audio api 2017-06-19 09:22:47 +03:00
Makefile
u_f.c
u_f.h
u_os_desc.h
usbstring.c