[PATCH] ARM: dts: imx7d-smegw01: Describe USBOTG1 as host

Shawn Guo shawnguo at kernel.org
Mon Mar 13 07:14:19 PDT 2023


On Mon, Mar 13, 2023 at 06:52:32AM -0300, Fabio Estevam wrote:
> Hi Shawn,
> 
> On 13/03/2023 05:08, Shawn Guo wrote:
> > On Thu, Feb 09, 2023 at 10:04:29AM -0300, Fabio Estevam wrote:
> > > The USBOTG1 port will always operate in host mode in Linux,
> > 
> > in Linux?  It could operate in otg mode in bootloader or other OS?
> 
> Yes, in U-Boot it can operate in OTG mode where it can be used in serial
> download mode.
> 
> In Linux, the USB port only operates in host mode.

What stops the USB port from operating in OTG mode?

That doesn't sound right, as DT is a description of hardware capability
rather than Linux.

Shawn



More information about the linux-arm-kernel mailing list