在 2017-12-16 00:04,Nuno Gonçalves 写道:
Dear Icenowy,
In ae49ba1 [1] you list endpoints 1 to 4 for H3, but on the datasheet I
read:
Support High-Speed (HS, 480-Mbps), Full-Speed (FS, 12-Mbps) in device
mode
Supports bi-directional endpoint0 for Control transfer in device mode
Supports up to 8 User-Configurable Endpoints for Bulk , Isochronousl
and Interrupt bi-directional transfers
(Endpoint1, Endpoint2, Endpoint3, Endpoint4, Endpoint5) in device mode
Supports up to (4KB+64B) FIFO for EPs (Excluding EP0) in device mode
The datasheet may be copy-n-paste error (such kind of errors appear
frequently in Allwinner documents).
The endpoint configuration is from the BSP source code [4].
[4]
https://github.com/armbian/linux/blob/sun8i/drivers/usb/sunxi_usb/include/sunxi_udc.h#L97
Can you confirm this is correct?
Thanks,
Nuno
[1]
https://github.com/torvalds/linux/commit/c1fce66ecd271dee5379f419a69b8ff5dae49ba1
[2] http://dl.linux-sunxi.org/H3/Allwinner_H3_Datasheet_V1.0.pdf
[3] http://linux-sunxi.org/images/4/4b/Allwinner_H3_Datasheet_V1.2.pdf
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html