diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2017-08-04 05:16:56 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-08-09 13:12:06 +0300 |
commit | 43ba968b00ea4d0876f4074e190ad98aefaba25d (patch) | |
tree | f5c38bbad1855d888d4c678fbb93e35b67c9cd75 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 7d343a6a88d40b12f882ffd99aa79ef70a3849d2 (diff) | |
download | linux-43ba968b00ea4d0876f4074e190ad98aefaba25d.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions