[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqKnGj0ocLS6sOc2aryh4QwQqbO8Zo4CctgfYYWTnbmxNQ@mail.gmail.com>
Date: Wed, 5 Jan 2022 10:47:43 -0600
From: Rob Herring <robh@...nel.org>
To: Yaqin Pan <akingchen@...o.com>
Cc: Felipe Balbi <balbi@...nel.org>, devicetree@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
kernel@...o.com,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux USB List <linux-usb@...r.kernel.org>,
Sergey Shtylyov <s.shtylyov@....ru>
Subject: Re: [PATCH 2/2] dt-bindings: usb: document snps,dis_split_quirk
property in dwc3
On Fri, Dec 17, 2021 at 8:46 AM Yaqin Pan <akingchen@...o.com> wrote:
>
> >> >> Add snps,dis_split_quirk property for dwc3 controller
> >> >>
> >> >> Signed-off-by: Yaqin Pan <akingchen@...o.com>
> >> >> ---
> >> >> Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 6 ++++++
> >> >> 1 file changed, 6 insertions(+)
> >> >>
> >> >> diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
> >> >> index 41416fbd92aa..e9615ca8f447 100644
> >> >> --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
> >> >> +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
> >> >> @@ -226,6 +226,12 @@ properties:
> >> >> avoid -EPROTO errors with usbhid on some devices (Hikey 970).
> >> >> type: boolean
> >> >> + snps,dis_split_quirk:
> >
> >I'm tired of the never ending DWC3 quirks. Imply this from the
> >compatible unless it varies by board.
>
> Yes, this is a DWC3 controller compatible issue.
Again, imply this from the compatible STRING (or the compatible string
of the parent node). I don't really want to see more quirk properties
unless they are board or instance specific (meaning for a given SoC,
the setting varies).
What is the downside to always setting this bit in the controller even
if not needed? Answer that question in your commit message.
Rob
Powered by blists - more mailing lists