On 12/12/2023 23:02, Sjoerd Simons wrote:
> Enable both usb0 as a peripheral for use with DFU and
> 
> Signed-off-by: Sjoerd Simons <sjo...@collabora.com>
> 
> ---
> 
> Changes in v3:
> - Enable usb nodes in all boot phases
> 
> Changes in v2:
> - Only enable usb port 0 DFU in SPL
> 
>  arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi 
> b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> index fa778b0ff4c..1fc0d407cbf 100644
> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> @@ -46,3 +46,12 @@
>  &cpsw_port2 {
>       status = "disabled";
>  };
> +
> +&usbss0 {
> +     bootph-all;
> +};
> +
> +&usb0 {
> +     dr_mode = "peripheral";

There was a series [1] just to undo this.

Can we make it auto-magically work even when mode is "otg"
Can we address anything missing at the driver level?

> +     bootph-all;
> +};

[1] 
https://lore.kernel.org/all/20230706-handle-otg-as-periph-v3-0-27e24fa17...@baylibre.com/

-- 
cheers,
-roger

Reply via email to