[PATCH v2 0/2] Fix 'no USB device found' error.

Roger Quadros rogerq at kernel.org
Thu Jul 6 08:44:21 CEST 2023



On 06/07/2023 06:53, Tony Lindgren wrote:
> * Tom Rini <trini at konsulko.com> [230703 16:22]:
>> On Mon, Jul 03, 2023 at 07:12:47PM +0300, Roger Quadros wrote:
>>> Linux DT files are correct. USB0 is a dual-role port so it sets it to 'otg'.
>>> u-boot doesn't support 'otg' so we need to override it to 'peripheral' in -u-boot.dtsi
>>
>> Ah, thanks, that was the missing bit of background information.
> 
> It would be best to parse dual-role feature in the driver to handle it as
> peripheral only and keep the dts the same.

+1

-- 
cheers,
-roger


More information about the U-Boot mailing list