Re: [PATCH v7 1/2] dt-bindings: usb: dwc3: Document Renesas R-Car Gen5 DWC3 xHCI USB controller
From: Marek Vasut
Date: Wed Sep 09 2026 - 14:49:20 EST
On 9/9/26 12:32 PM, Conor Dooley wrote:
Hello Conor,
I could make only the ones which are currently used available, but that
would be confusing the implementers by suggesting that the other quirks are
not applicable even if they might be ; and this would likely turn into an
endless stream of schema updates, with random users enabling random quirks
they just used. I don't think that would be helpful.
My understanding was that these things were effectively errata, so users
should not be enabling them willy nilly - the vast majority of these are
set in soc.dtsi files, and the couple dts users I checked were all SoCs
for which there was only one board.
I agree with the careful application of these properties part.
However, I perceive them as tunables, not errata. If they were errata, I would argue the errata quirks that apply to each controller instance in each SoC should be derived from the compatible string. If they were tunables, they should be DT properties.
IMO it's far more confusing to suggest
that a user has to figure out which of these may apply on their platform.
The way I interpret this is, that the user should keep the defaults and not enable any of the additional quirks unless they really need them. But the DT checker should not warn the user that the quirk is invalid, because I do not think that is the case -- the quirk is not invalid, it is only not necessary in the majority of cases.
But of course, do what you want, they're your users.
How shall we proceed here ?
--
Best regards,
Marek Vasut