All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Fabio Estevam <festevam@denx.de>
Cc: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: dts: imx7d-smegw01: Describe USBOTG1 as host
Date: Mon, 13 Mar 2023 16:08:51 +0800	[thread overview]
Message-ID: <20230313080851.GL143566@dragon> (raw)
In-Reply-To: <20230209130429.1438053-1-festevam@denx.de>

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?

Shawn

> so describe dr_mode accordingly.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm/boot/dts/imx7d-smegw01.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx7d-smegw01.dts b/arch/arm/boot/dts/imx7d-smegw01.dts
> index c0f00f5db11e..386485755676 100644
> --- a/arch/arm/boot/dts/imx7d-smegw01.dts
> +++ b/arch/arm/boot/dts/imx7d-smegw01.dts
> @@ -190,7 +190,7 @@ &uart3 {
>  &usbotg1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_usbotg1_lpsr>;
> -	dr_mode = "otg";
> +	dr_mode = "host";
>  	vbus-supply = <&reg_usbotg_vbus>;
>  	status = "okay";
>  };
> -- 
> 2.25.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-03-13  8:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 13:04 [PATCH] ARM: dts: imx7d-smegw01: Describe USBOTG1 as host Fabio Estevam
2023-03-13  8:08 ` Shawn Guo [this message]
2023-03-13  9:52   ` Fabio Estevam
2023-03-13 14:14     ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230313080851.GL143566@dragon \
    --to=shawnguo@kernel.org \
    --cc=festevam@denx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.