mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Matías Zúñiga" <matias.nicolas.zc@gmail.com>
To: linux-tegra@vger.kernel.org
Cc: Thierry Reding <thierry.reding@gmail.com>,
	Nagarjuna Kristam <nkristam@nvidia.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [xhci-tegra] Kernel 5.7 regression - tegra124-nyan
Date: Sat, 5 Sep 2020 13:39:57 -0400	[thread overview]
Message-ID: <eb0e8cd1-8f6c-f1df-fe15-6e23572b7655@gmail.com> (raw)

Hello!

Since kernel 5.7 (specifically commits 
f67213cee2b35fe169a723746b7f37debf20fa29) the xhci-tegra driver fails to 
initialize the USB ports of tegra124-nyan devices with the message 
"usb-role-switch not found for otg".

The named commit, which adds usb-role-switch support, effectively broke 
all device trees with "otg" or "peripheral" modes that do not include 
the "usb-role-switch" property.

Given that the otg port of nyan devices is just a type A connector, I 
can patch the device tree to use the "host" mode and it works fine, but 
since it seems to be an otg port internally, maybe it's better to add 
the usb-role-switch property with a "connector" subnode.
However, I don't know if other devices are affected, so I think the 
driver should be "fixed" to work again with DTs without usb-role-switch.

Cheers,
Matías Zúñiga


                 reply	other threads:[~2020-09-05 17:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=eb0e8cd1-8f6c-f1df-fe15-6e23572b7655@gmail.com \
    --to=matias.nicolas.zc@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=nkristam@nvidia.com \
    --cc=thierry.reding@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®