2faf051a | 04-Aug-2021 |
neal_liu <neal_liu@aspeedtech.com> |
configs: ast2600: add usb related define to support usbtty
Re-set stdout/stderr/stdin to both usbtty & serial. The input/output works on both COM ports.
Example: setenv usbtty cdc_acm setenv stdout
configs: ast2600: add usb related define to support usbtty
Re-set stdout/stderr/stdin to both usbtty & serial. The input/output works on both COM ports.
Example: setenv usbtty cdc_acm setenv stdout usbtty,serial@1e784000 setenv stderr usbtty,serial@1e784000 setenv stdin usbtty,serial@1e784000
Signed-off-by: neal_liu <neal_liu@aspeedtech.com> Change-Id: I850201086228f92d38c2330d1cc7c027c9043ada
show more ...
|
543049ab | 10-Jul-2018 |
Jagan Teki <jagan@amarulasolutions.com> |
usb: host: Drop [e-o]hci-sunxi drivers
Now Allwinner platform is all set to use Generic USB controller drivers, so remove the legacy sunxi drivers.
Signed-off-by: Jagan Teki <jagan@amarulasolutions
usb: host: Drop [e-o]hci-sunxi drivers
Now Allwinner platform is all set to use Generic USB controller drivers, so remove the legacy sunxi drivers.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
show more ...
|
801f1fa4 | 15-Dec-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports
dfu, fastbot and other usb gadget commands take the USB port index as a parameter. Currently this index is assigned in the order of the driv
dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports
dfu, fastbot and other usb gadget commands take the USB port index as a parameter. Currently this index is assigned in the order of the driver bindings. Changing this behavior using the SEQ_ALIAS feature. This option assign to the device a SEQ number based on its alias (if it exists)
To use it we must set the DM_UC_FLAG_SEQ_ALIAS flag and follow the existing naming convention: use "usb" for the name of the gadget UCLASS_DRIVER (same as for the UCLASS_USB).
If no alias is provided, then the index falls back to the order in which the bindings took place.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reported-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
show more ...
|
46a3f276 | 05-Dec-2018 |
Stefan Mavrodiev <stefan@olimex.com> |
usb: musb-new: sunxi: Fix null pointer access
When the device is in peripheral mode there is no struct usb_bus_priv allocated pointer, as the uclass driver ("usb_dev_generic") doesn't call per_devic
usb: musb-new: sunxi: Fix null pointer access
When the device is in peripheral mode there is no struct usb_bus_priv allocated pointer, as the uclass driver ("usb_dev_generic") doesn't call per_device_auto_alloc_size.
This results in writing to the internal SDRAM at priv->desc_before_addr = true;
Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
show more ...
|
771e7651 | 13-Dec-2018 |
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> |
usb: composite: Fix max packet size for USB3.0
For USB3.0, the max packetsize for GET_DESCRIPTOR should be sent as exponent value for 2. This means for 512, max packet size should be filled with 9(2
usb: composite: Fix max packet size for USB3.0
For USB3.0, the max packetsize for GET_DESCRIPTOR should be sent as exponent value for 2. This means for 512, max packet size should be filled with 9(2^9=512). Also, fill the USB version field with 3.0 if speed is negotiated to Superspeed. This fixes the issue of DFU gadget download failure with superspeed. Without this patch, the max packet size is overflowed to zero as the bMaxPacketsize is of u8 and hence host is not able to detect this device.
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
7d98dbcc | 04-Dec-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
usb: musb-new: Add support for DM_USB
Enable DM for USB peripheral in the musb-new driver. Also make sure that the driver can be used in the SPL. This implies that: * the driver must work with and w
usb: musb-new: Add support for DM_USB
Enable DM for USB peripheral in the musb-new driver. Also make sure that the driver can be used in the SPL. This implies that: * the driver must work with and without the OF_CONTROL option. That in turn, implies that the platform data can be passed in a struct ti_musb_platdata or be read from the dtb * usb.o is linked in the SPL if host support is enabled
Another change is that the driver does not fail to bind (and stop the boot process) if one of the child driver does not bind. Reporting the error is enough. This kind of error would appear if the port is configured in the DTS but the driver is not activated in the config.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|