Re: [PATCH 0/3] Configure usb0 as peripheral on am335x boards

From: Tony Lindgren
Date: Wed Jul 05 2023 - 23:51:47 EST


Hi,

* Julien Panis <jpanis@xxxxxxxxxxxx> [230703 15:51]:
> OK. In other words, we just need to reconsider my previous u-boot series. :-)
> I was setting usb0 as 'peripheral' in 'am335x-*-u-boot.dts' here:
> https://lore.kernel.org/all/20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@xxxxxxxxxxxx/

It would be best to not change the dts as it's describing the hardware
capabilities. Instead, it would be better to parse the capability in the
driver to handle a dual-role wired usb-ab connector as peripheral only in
u-boot.

Regards,

Tony