linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Cc: Amelie Delaunay <amelie.delaunay@st.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: [PATCH] [RFC] usb: dwc2: Run the core connect in dwc2_hcd_init()
Date: Thu, 16 Apr 2020 11:46:35 +0200	[thread overview]
Message-ID: <6ea2270d-19a4-7e8b-42fb-37a4a9d81e1f@denx.de> (raw)
In-Reply-To: <4b4478aa-85bd-c05c-b5d0-e11dc35eb623@synopsys.com>

On 4/15/20 5:10 PM, Minas Harutyunyan wrote:
> Hi,

Hi,

> On 4/15/2020 6:55 PM, Marek Vasut wrote:
>> On 4/15/20 10:37 AM, Minas Harutyunyan wrote:
>>> Hi,
>>>
>>> On 4/14/2020 4:18 PM, Marek Vasut wrote:
>>>> On 4/14/20 9:14 AM, Minas Harutyunyan wrote:
>>>
>>>>
>>>>> 2. debug log
>>>>
>>>> What kind of debug log ?
>>>>
>>> Drivers debug log starting from dwc2 loading and connector connecting to
>>> device, where issue seen.
>>
>> How do I enable the one you need ?
>>
> To enable debug prints from dwc2 use 'make menuconfig':
> 
>   Symbol: USB_DWC2_DEBUG [=y]

Oh, this one, OK. There you go.

Note that there is no further output when I plug in the USB microB cable
from a PC.

 dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
 dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
 dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
 dwc2 49000000.usb-otg: bound driver zero
 dwc2 49000000.usb-otg: DCFG=0x08100000, DCTL=0x00000002, DIEPMSK=00000000
 dwc2 49000000.usb-otg: GAHBCFG=0x00000000, GHWCFG1=0x00000000
 dwc2 49000000.usb-otg: GRXFSIZ=0x00000400, GNPTXFSIZ=0x04000400
 dwc2 49000000.usb-otg: DPTx[1] FSize=1024, StAddr=0x00000800
 dwc2 49000000.usb-otg: DPTx[2] FSize=1024, StAddr=0x00000c00
 dwc2 49000000.usb-otg: DPTx[3] FSize=1024, StAddr=0x00001000
 dwc2 49000000.usb-otg: DPTx[4] FSize=1024, StAddr=0x00001400
 dwc2 49000000.usb-otg: DPTx[5] FSize=1024, StAddr=0x00001800
 dwc2 49000000.usb-otg: DPTx[6] FSize=1024, StAddr=0x00001c00
 dwc2 49000000.usb-otg: DPTx[7] FSize=1024, StAddr=0x00002000
 dwc2 49000000.usb-otg: DPTx[8] FSize=1024, StAddr=0x00002400
 dwc2 49000000.usb-otg: ep0-in: EPCTL=0x00008800, SIZ=0x00000000,
DMA=0x79daaf9c
 dwc2 49000000.usb-otg: ep0-out: EPCTL=0x00008000, SIZ=0x00000000,
DMA=0xa167db6c
 dwc2 49000000.usb-otg: ep1-in: EPCTL=0x00001000, SIZ=0x00000000,
DMA=0x88ad1397
 dwc2 49000000.usb-otg: ep1-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0x6c5b357c
 dwc2 49000000.usb-otg: ep2-in: EPCTL=0x00001800, SIZ=0x00000000,
DMA=0xb4639367
 dwc2 49000000.usb-otg: ep2-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0x503148e2
 dwc2 49000000.usb-otg: ep3-in: EPCTL=0x00002000, SIZ=0x00000000,
DMA=0x7e275f85
 dwc2 49000000.usb-otg: ep3-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0x9474575a
 dwc2 49000000.usb-otg: ep4-in: EPCTL=0x00002800, SIZ=0x00000000,
DMA=0xbe22b68d
 dwc2 49000000.usb-otg: ep4-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0xb89ae0de
 dwc2 49000000.usb-otg: ep5-in: EPCTL=0x00003000, SIZ=0x00000000,
DMA=0xa607065a
 dwc2 49000000.usb-otg: ep5-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0xa8bc774f
 dwc2 49000000.usb-otg: ep6-in: EPCTL=0x00003800, SIZ=0x00000000,
DMA=0xbabafaf5
 dwc2 49000000.usb-otg: ep6-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0x58ddeb04
 dwc2 49000000.usb-otg: ep7-in: EPCTL=0x00004000, SIZ=0x00000000,
DMA=0x8b6b00f3
 dwc2 49000000.usb-otg: ep7-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0x87baf0d9
 dwc2 49000000.usb-otg: ep8-in: EPCTL=0x00004800, SIZ=0x00000000,
DMA=0xa2c3caca
 dwc2 49000000.usb-otg: ep8-out: EPCTL=0x00000000, SIZ=0x00000000,
DMA=0x67b6afe2
 dwc2 49000000.usb-otg: DVBUSDIS=0x000017d7, DVBUSPULSE=000005b8
 dwc2 49000000.usb-otg: DWC OTG Controller
 dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
 dwc2 49000000.usb-otg: irq 45, io mem 0x49000000
 dwc2 49000000.usb-otg: Mode Mismatch Interrupt: currently in Device mode

  reply	other threads:[~2020-04-16 10:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 14:31 [PATCH] [RFC] usb: dwc2: Run the core connect in dwc2_hcd_init() Marek Vasut
2020-04-13 14:45 ` Minas Harutyunyan
2020-04-13 14:54   ` Marek Vasut
2020-04-13 15:27     ` Minas Harutyunyan
2020-04-13 17:00       ` Marek Vasut
2020-04-14  7:14         ` Minas Harutyunyan
2020-04-14 12:18           ` Marek Vasut
2020-04-15  8:37             ` Minas Harutyunyan
2020-04-15 14:55               ` Marek Vasut
2020-04-15 15:10                 ` Minas Harutyunyan
2020-04-16  9:46                   ` Marek Vasut [this message]
2020-04-16 13:37                     ` Minas Harutyunyan
2020-04-16 14:31                       ` Marek Vasut
2020-04-17  9:00                         ` Minas Harutyunyan
2020-04-20 12:09                           ` Marek Vasut
2020-04-22 13:45                             ` Minas Harutyunyan
2020-04-22 14:21                               ` Marek Vasut
2020-05-14  0:10                                 ` Marek Vasut
2020-05-15  7:41                                   ` Minas Harutyunyan
2020-05-27  6:17                                     ` Minas Harutyunyan
2020-05-28 22:35                                       ` Marek Vasut

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=6ea2270d-19a4-7e8b-42fb-37a4a9d81e1f@denx.de \
    --to=marex@denx.de \
    --cc=Minas.Harutyunyan@synopsys.com \
    --cc=amelie.delaunay@st.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).