Hi,
USB Serial gadget device comunication is not working on custom board based on LS2088a.
Enabled "dr_mode = peripheral" in device tree.
root@atomas:legacy# ls /sys/class/udc/3100000.usb/
a_alt_hnp_support device maximum_speed subsystem
a_hnp_support function power suppliers
b_hnp_enable is_a_peripheral soft_connect uevent
consumers is_otg srp
current_speed is_selfpowered state
root@atomas:legacy#
Installed serial gadget Driver
[ 870.419436] udc 3100000.usb: registering UDC driver [g_serial]
[ 870.419519] g_serial gadget: adding 'acm'/000000003a254470 to config 'CDC ACM config'/00000000e63ca627
[ 870.419533] g_serial gadget: acm ttyGS0: super speed IN/ep1in OUT/ep1out NOTIFY/ep2in
[ 870.419540] g_serial gadget: Gadget Serial v2.4
[ 870.419544] g_serial gadget: g_serial ready
root@atomas:legacy#
/dev/ttyGS0 node created.
USB Cable concected between PC and Target (USB Type A to Mini-B cable)
Device not detected in host
[32310656.199523] usb 2-1-port6: attempt power cycle
[32310656.803346] usb 2-1.6: new high-speed USB device number 3 using ehci-pci
[32310657.227333] usb 2-1.6: device not accepting address 3, error -71
[32310657.307351] usb 2-1.6: new high-speed USB device number 4 using ehci-pci
[32310657.731350] usb 2-1.6: device not accepting address 4, error -71
[32310657.731488] usb 2-1-port6: unable to enumerate USB device
[32312721.484618] usb 2-1.6: new high-speed USB device number 5 using ehci-pci
[32312721.576623] usb 2-1.6: device descriptor read/64, error -71
[32312721.776615] usb 2-1.6: device descriptor read/64, error -71
[32312721.964616] usb 2-1.6: new high-speed USB device number 6 using ehci-pci
[32312722.056613] usb 2-1.6: device descriptor read/64, error -71
[32312722.256614] usb 2-1.6: device descriptor read/64, error -71
[32312722.364790] usb 2-1-port6: attempt power cycle
[32312722.968616] usb 2-1.6: new high-speed USB device number 7 using ehci-pci
[32312723.392605] usb 2-1.6: device not accepting address 7, error -71
[32312723.472619] usb 2-1.6: new high-speed USB device number 8 using ehci-pci
[32312723.896606] usb 2-1.6: device not accepting address 8, error -71
[32312723.896755] usb 2-1-port6: unable to enumerate USB device
Please help to find out the issue.