
6 Jul
2023
6 Jul
'23
8:44 a.m.
On 06/07/2023 06:53, Tony Lindgren wrote:
- Tom Rini trini@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