All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vasily Khoruzhick <anarsoul@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] USB doesn't work on Rockpro64 in u-boot
Date: Tue, 5 Nov 2019 19:47:22 -0800	[thread overview]
Message-ID: <CA+E=qVc5R0cVoZxwKn7aC7wxzS00Fednv8yvot_Cb8dAXUwWXg@mail.gmail.com> (raw)

Hi Akash, Jagan,

Looks like USB is not functional in u-boot on Rockpro64. u-boot is
from git, commit 680023c5fab6b1777c0c6f2e76e5d2effb7903a0.

I'm using u-boot SPL and mainline ATF
(19adcb415c313d656324d54e7608cdc7d7a5c414 is ATF commit)

'usb start' doesn't detect anything but hubs and looks like there's no
power on USB ports:

=> usb start
starting USB...
Bus usb at fe380000: USB EHCI 1.00
Bus usb at fe3c0000: USB EHCI 1.00
Bus dwc3: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb at fe380000 for devices... 1 USB Device(s) found
scanning bus usb at fe3c0000 for devices... 1 USB Device(s) found
scanning bus dwc3 for devices... 1 USB Device(s) found
scanning bus dwc3 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

=> usb tree
USB device tree:
  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller

  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller

  1  Hub (5 Gb/s, 0mA)
     U-Boot XHCI Host Controller

  1  Hub (5 Gb/s, 0mA)
     U-Boot XHCI Host Controller

Regulators were probed correctly according to 'dm tree':

 regulator    14  [ + ]   fixed regulator       |-- vcc12v-dcin
 regulator    15  [ + ]   fixed regulator       |-- vcc1v8-s3
 regulator    16  [ + ]   fixed regulator       |-- vcc3v3-pcie-regulator
 regulator    17  [ + ]   fixed regulator       |-- vcc3v3-sys
 regulator    18  [ + ]   fixed regulator       |-- vcc5v0-host-regulator
 regulator    19  [ + ]   fixed regulator       |-- vcc5v0-typec-regulator
 regulator    20  [ + ]   fixed regulator       |-- vcc5v0-sys
 regulator    21  [ + ]   fixed regulator       |-- vcc5v0-usb
 regulator    22  [ + ]   pwm_regulator         `-- vdd-log

Any ideas what can be wrong? Have it worked before?

Regards,
Vasily

             reply	other threads:[~2019-11-06  3:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06  3:47 Vasily Khoruzhick [this message]
2019-11-06 16:50 ` [U-Boot] USB doesn't work on Rockpro64 in u-boot Jagan Teki
2019-11-07  3:48   ` Vasily Khoruzhick
2019-11-07  7:28     ` Vasily Khoruzhick
2019-11-08  3:48       ` Vasily Khoruzhick
2019-11-08  6:33         ` Jagan Teki
2019-11-09  8:42           ` Vasily Khoruzhick

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='CA+E=qVc5R0cVoZxwKn7aC7wxzS00Fednv8yvot_Cb8dAXUwWXg@mail.gmail.com' \
    --to=anarsoul@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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.