Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361558

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

From Felipe Balbi <balbi@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()
Date 2016-03-21 08:20 +0100
Message-ID <rf2i6-2fe-17@gated-at.bofh.it> (permalink)
References <rdjn3-Vw-3@gated-at.bofh.it> <rdjn4-Vw-23@gated-at.bofh.it> <rdjwJ-YM-1@gated-at.bofh.it> <rdk9s-1ft-13@gated-at.bofh.it> <re86e-5Tk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

John Youn <John.Youn@synopsys.com> writes:
> [ text/plain ]
> On 3/16/2016 6:56 AM, Felipe Balbi wrote:
>> 
>> heh, +john
>> 
>> Felipe Balbi <balbi@kernel.org> writes:
>>> [ text/plain ]
>>>
>>> Hi,
>>>
>>> Roger Quadros <rogerq@ti.com> writes:
>>>> [ text/plain ]
>>>> We will need this function for a workaround.
>>>> The function issues a softreset only to the device
>>>> controller and performs minimal re-initialization
>>>> so that the device controller can be usable.
>>>>
>>>> As some code is similar to dwc3_core_init() take out
>>>> common code into dwc3_get_gctl_quirks().
>>>>
>>>> We add a new member (prtcap_mode) to struct dwc3 to
>>>> keep track of the current mode in the PRTCAPDIR register.
>>>>
>>>> Signed-off-by: Roger Quadros <rogerq@ti.com>
>>>
>>> I must say, I don't like this at all :-p There's ONE known silicon which
>>> needs this because of a poor silicon integration which took an IP with a
>>> known erratum where it can't be made to work on lower speeds and STILL
>>> was integrated without a superspeed PHY.
>>>
>>> There's a reason why I never tried to push this upstream myself ;-)
>>>
>>> I'm really thinking we might be better off adding a quirk flag to skip
>>> the metastability workaround and allow this ONE silicon to set the
>>> controller to lower speed.
>>>
>>> John, can you check with your colleagues if we would ever fall into
>>> STAR#9000525659 if we set maximum speed to high speed during driver
>>> probe and never touch it again ? I would assume we don't really fall
>>> into the metastability workaround, right ? We're not doing any sort of
>>> PM for dwc3...
>>>
>
> Hi Felipe,
>
> I don't know much about this but I will check with the engineers and
> get back to you.

Thank you John ;-)

-- 
balbi

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() John Youn <John.Youn@synopsys.com> - 2016-03-18 20:20 +0100
  Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() Felipe Balbi <balbi@kernel.org> - 2016-03-21 08:20 +0100
  Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() John Youn <John.Youn@synopsys.com> - 2016-03-21 21:00 +0100
    Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() Felipe Balbi <balbi@kernel.org> - 2016-03-22 07:50 +0100
      Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() John Youn <John.Youn@synopsys.com> - 2016-03-24 01:50 +0100
        Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() Felipe Balbi <balbi@kernel.org> - 2016-03-24 08:00 +0100
          Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() John Youn <John.Youn@synopsys.com> - 2016-03-30 20:50 +0200
            Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() Roger Quadros <rogerq@ti.com> - 2016-03-31 16:10 +0200
              Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit() Felipe Balbi <balbi@kernel.org> - 2016-03-31 16:40 +0200

csiph-web