From: Krishna Kurapati <quic_kriskura@quicinc.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Felipe Balbi <balbi@kernel.org>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
<linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <quic_ppratap@quicinc.com>,
<quic_jackp@quicinc.com>
Subject: Re: [PATCH v2 1/2] dt-bindings: usb: snps,dwc3: Add snps,filter-se0-fsls-eop quirk
Date: Tue, 10 Dec 2024 15:42:07 +0530 [thread overview]
Message-ID: <aa67ea21-b451-4a1d-b4bf-4912b88c0341@quicinc.com> (raw)
In-Reply-To: <99810132-85b6-45ee-9933-7a00c3672c47@quicinc.com>
On 11/20/2024 2:53 PM, Krishna Kurapati wrote:
>
>
> On 11/7/2024 3:25 PM, Krzysztof Kozlowski wrote:
>> On 07/11/2024 07:17, Krishna Kurapati wrote:
>>>
>>>
>>> On 10/18/2024 11:57 AM, Krzysztof Kozlowski wrote:
>>>> On Thu, Oct 17, 2024 at 05:10:54PM +0530, Uttkarsh Aggarwal wrote:
>>>>> Adding a new 'snps,filter-se0-fsls-eop quirk' DT quirk to dwc3 core
>>>>> to set
>>>>> GUCTL1 BIT 29. When set, controller will ignore single SE0 glitch
>>>>> on the
>>>>> linestate during transmission. Only two or more SE0 is considered as
>>>>> valid EOP on FS/LS port. This bit is applicable only in FS in
>>>>> device mode
>>>>> and FS/LS mode of operation in host mode.
>>>>
>>>> Why this is not device/compatible specific? Just like all other quirks
>>>> pushed last one year.
>>>
>>> Hi Krzysztof,
>>>
>>> Apologies for a late reply from our end.
>>>
>>> In DWC3 core/dwc3-qcom atleast, there have been no compatible
>>> specific
>>> quirks added.
>>
>
> Sorry again for late reply.
>
>> Nothing stops from adding these, I think.
>> >
> Agree, we can take that approach of adding soc specific compatibles to
> dwc3 driver instead of adding through bindings.
>
>>> Also since this is a property of the Synopsys controller
>>> hardware and not QC specific one, can we add it in bindings itself.
>>> Because this is a property other vendors might also use and adding it
>>> via compatible might not be appropriate.
>>
>> This does no answer my question. I don't see how this is not related to
>> one specific piece of SoC.
>>
>> If you claim this is board-related, not SoC, give some arguments.
>> Repeating the same is just no helping.
>>
>
> But my point was that although the issue was found only on some QC
> SoC's, the solution still lies in some bits being set in controller
> register space and it is part of Synopsys IP. So wouldn't officially we
> add that support in bindings and then enable/disable the feature via DT
> like we did for other quirks ? If many SoC's need it in future, the
> driver needs to add a long list of compatible specific data which
> otherwise might be quirks in DT.
>
Hi Krzysztof,
Gentle ping to provide your feedback on the last comment.
Regards,
Krishna,
next prev parent reply other threads:[~2024-12-10 10:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-17 11:40 [PATCH v2 0/2] Add support to ignore single SE0 glitches Uttkarsh Aggarwal
2024-10-17 11:40 ` [PATCH v2 1/2] dt-bindings: usb: snps,dwc3: Add snps,filter-se0-fsls-eop quirk Uttkarsh Aggarwal
2024-10-18 6:27 ` Krzysztof Kozlowski
2024-11-07 6:17 ` Krishna Kurapati
2024-11-07 9:55 ` Krzysztof Kozlowski
2024-11-20 9:23 ` Krishna Kurapati
2024-12-10 10:12 ` Krishna Kurapati [this message]
2024-12-10 11:47 ` Krzysztof Kozlowski
2024-10-17 11:40 ` [PATCH v2 2/2] usb: dwc3: core: Add support to ignore single SE0 glitches Uttkarsh Aggarwal
2024-10-18 10:59 ` AKASH KUMAR
2024-10-18 11:02 ` AKASH KUMAR
2024-11-07 8:35 ` UTTKARSH AGGARWAL
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=aa67ea21-b451-4a1d-b4bf-4912b88c0341@quicinc.com \
--to=quic_kriskura@quicinc.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=balbi@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=quic_jackp@quicinc.com \
--cc=quic_ppratap@quicinc.com \
--cc=quic_uaggarwa@quicinc.com \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®