[PATCH v4 0/2] Fix 'no USB device found' error.
Roger Quadros
rogerq at kernel.org
Thu Jul 6 16:07:19 CEST 2023
Hi Julien,
On 06/07/2023 13:40, Julien Panis wrote:
> This series fixes the "No USB device found" error
> for am335x-icev2 and am335x-evmsk. USB0 dual-role
> feature is now handled as peripheral only in the
> driver.
>
> The error was not produced for am335x-evm because
> usb0 dr_mode was configured as peripheral in
> 'am335x-evm-u-boot.dtsi'. This fragment is no
> longer needed.
>
> Signed-off-by: Julien Panis <jpanis at baylibre.com>
> ---
> Changes in v4:
> - Handle usb dual-role feature as peripheral in ti-musb driver.
> - Link to v3: https://lore.kernel.org/r/20230621-fix_usb_ether_init-v3-1-40493e1d7c0b@baylibre.com
>
> Changes in v3:
> - Remove usb0 dr_mode configuration from 'am335x-evm-u-boot.dtsi'.
> - Link to v2: https://lore.kernel.org/r/20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@baylibre.com
>
> Changes in v2:
> - Drop the modification made in arch/arm/mach-omap2/am33xx/board.c
> - Configure usb0 dr_mode as peripheral in 'am335x-icev2-u-boot.dtsi'
> and 'am335x-evmsk-u-boot.dtsi' device trees.
> - Link to v1: https://lore.kernel.org/r/20230621-fix_usb_ether_init-v1-1-2156923994a9@baylibre.com
>
> ---
> Julien Panis (2):
> musb-new: ti-musb: Handle usb dual-role feature as peripheral
> arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration
for this series:
Reviewed-by: Roger Quadros <rogerq at kernel.org>
I also see other boards doing the wrong thing. i.e. replacing 'otg' with 'peripheral'.
dra71-evm-u-boot.dtsi: dr_mode = "peripheral";
dra72-evm-revc-u-boot.dtsi: dr_mode = "peripheral";
dra72-evm-u-boot.dtsi: dr_mode = "peripheral";
dra76-evm-u-boot.dtsi: dr_mode = "peripheral";
dra7-evm-u-boot.dtsi: dr_mode = "peripheral";
k3-am642-evm-u-boot.dtsi: dr_mode="peripheral";
k3-am654-r5-base-board-u-boot.dtsi: dr_mode = "peripheral";
k3-am654-r5-base-board-u-boot.dtsi: dr_mode = "peripheral";
k3-j7200-common-proc-board-u-boot.dtsi: dr_mode = "peripheral";
k3-j721e-common-proc-board-u-boot.dtsi: dr_mode = "peripheral";
keystone-k2e-evm-u-boot.dtsi: dr_mode = "peripheral";
Is this something you can fix (in dwc3 driver) as it is on similar lines ;). Thanks!
--
cheers,
-roger
More information about the U-Boot
mailing list