Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1397006
| From | Felipe Balbi <balbi@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT |
| Date | 2016-05-09 14:30 +0200 |
| Message-ID | <rwStY-5zM-21@gated-at.bofh.it> (permalink) |
| References | <rwRRg-4H5-9@gated-at.bofh.it> <rwS0V-4NU-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, William Wu <william.wu@rock-chips.com> writes: > Add snps,phyif_utmi_16_bits devicetree property. USB2 phy this needs a quirk_ prefix... > interface is hardware property, and it's platform dependent, > so we need to configure it in devicetree to set the core to > support a UTMI+ PHY with an 8- or 16-bit interface. > > And refer to the dwc3 databook, the GUSB2PHYCFG.USBTRDTIM > must set to the corresponding value according to the usb2 > phy interface. right, that's fine. But also note on section 8.1.1 Table 8-1 where it states: |-------------+------------------------------------------------------------| | GUSB2PHYCFG | Program the following PHY configuration fields: USBTrdTim, | | | FSIntf, PHYIf, TOUTCal, or leave the default values if | | | the correct power-on values were selected during | | | coreConsultant configuration. Note: The PHY must not | | | be enabled for auto-resume in device mode. Hence the | | | field GUSB2PHYCFG[15] (ULPIAutoRes) must be written | | | with '0' during the power-on initialization in case | | | the reset value is '1'. | | | | |-------------+------------------------------------------------------------| You only need this because your core was badly configured in coreConsultant. -- balbi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT William Wu <william.wu@rock-chips.com> - 2016-05-09 14:00 +0200
Re: [PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT Felipe Balbi <balbi@kernel.org> - 2016-05-09 14:30 +0200
Re: [PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT William Wu <william.wu@rock-chips.com> - 2016-05-09 15:30 +0200
Re: [PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT Felipe Balbi <balbi@kernel.org> - 2016-05-09 15:40 +0200
csiph-web