All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: Jun Li <jun.li@nxp.com>
Cc: "bjorn@mork.no" <bjorn@mork.no>,
	Peter Chen <peter.chen@kernel.org>, Marek Vasut <marex@denx.de>,
	netdev <netdev@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>,
	Alexander Stein <alexander.stein@ew.tq-group.com>,
	Schrempf Frieder <frieder.schrempf@kontron.de>
Subject: Re: imx7: USB modem reset causes modem to not re-connect
Date: Tue, 13 Dec 2022 06:33:29 -0300	[thread overview]
Message-ID: <CAOMZO5AMy_H-zw1phB6MtNdpbCwtXg74BwHrs5YttykN=-wvnQ@mail.gmail.com> (raw)
In-Reply-To: <PA4PR04MB96407AC656705A79BF72D2E089E39@PA4PR04MB9640.eurprd04.prod.outlook.com>

Hi Li Jun,

On Tue, Dec 13, 2022 at 5:15 AM Jun Li <jun.li@nxp.com> wrote:

> So this disconnect and then connect is you expected behavior?

Yes, correct.

I found a way to get this behavior in both 5.10 as well as 6.1 kernels:
If I remove the USB_OTG2_OC pinctrl entry and pass
'disable-over-current', it works as expected.

On this board, the MX7D_PAD_UART3_RTS_B__USB_OTG2_OC pad goes to 3.3V
via a 10Kohm pullup resistor.

Could you please explain why removing theUSB_OTG2_OC entry makes things to work?

Thanks

  reply	other threads:[~2022-12-13  9:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12 18:10 imx7: USB modem reset causes modem to not re-connect Fabio Estevam
2022-12-12 19:01 ` Fabio Estevam
2022-12-13  7:31   ` Alexander Stein
2022-12-13  8:15   ` Jun Li
2022-12-13  9:33     ` Fabio Estevam [this message]
2022-12-13 11:17       ` Jun Li
2022-12-16 12:00         ` Fabio Estevam
2022-12-13  8:12 ` Jun Li

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='CAOMZO5AMy_H-zw1phB6MtNdpbCwtXg74BwHrs5YttykN=-wvnQ@mail.gmail.com' \
    --to=festevam@gmail.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=bjorn@mork.no \
    --cc=frieder.schrempf@kontron.de \
    --cc=jun.li@nxp.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=netdev@vger.kernel.org \
    --cc=peter.chen@kernel.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.