[PATCH] usb: gadget: atmel: reliably generate disconnect by disabling controller instead of toggling PULLD_DIS

Mattijs Korpershoek mkorpershoek at kernel.org
Mon Jun 16 09:28:12 CEST 2025


On Mon, Jun 16, 2025 at 09:24, Mattijs Korpershoek <mkorpershoek at kernel.org> wrote:

> On Fri, Jun 13, 2025 at 16:45, Zixun LI <admin at hifiphile.com> wrote:
>
>> On Fri, Jun 13, 2025 at 11:22 AM Mattijs Korpershoek
>> <mkorpershoek at kernel.org> wrote:
>>>
>>>
>>> Mihai, Zixun, do you have any update on case No.01589331 ?
>>>
>>> I'd like to pick this up and some point so please keep me informed.
>>>
>>> Thank you
>>> Mattijs
>>>
>>
>> Hi Mattijs,
>>
>> The case was reported in early May and MCHP have also observed the
>> missing of detach event on host.
>>
>> My latest measure shows a differential signal level about +-350mV
>> between DP&DM lines when
>> DETACH and PULLD_DIS bits are 1, much lower than the detachment
>> threshold of 625mV from
>> USB 2.0 specification Table 7.3.
>>
>> From my view the patch can be picked, even on an unaffected family it
>> won't have side effects.
>> Unless one day we decide to implement SAM9RL and SAM9G45 errata then
>> it needs to be retested.
>
> Ok, I will apply it. Since it's a bit late in the release cycle, I'll
> send this out for -next.

Zixun, before applying the patch, I'd like to add the comment I
suggested in the code [1] as well.

Do you you have any objections on that?
PLease let me know

[1] https://lore.kernel.org/all/87iklbuddu.fsf@kernel.org/

>
> Thanks again for your contribution!
>
> Mattijs
>
>>
>> Best Regards,
>> Zixun


More information about the U-Boot mailing list