From: Marek Vasut <marek.vasut@mailbox.org>
To: Conor Dooley <conor@kernel.org>
Cc: linux-usb@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v7 1/2] dt-bindings: usb: dwc3: Document Renesas R-Car Gen5 DWC3 xHCI USB controller
Date: Tue, 8 Sep 2026 22:58:48 +0200 [thread overview]
Message-ID: <04bb7d78-4b0e-49ba-910a-6fa2b0a8c1a7@mailbox.org> (raw)
In-Reply-To: <20260907-tassel-bargraph-836b6f41fc43@spud>
On 9/7/26 7:43 PM, Conor Dooley wrote:
Hello Conor,
>>>> +unevaluatedProperties: false
>>>
>>> I said this elsewhere today, but this binding has lots of "distasteful"
>>> properties for things that should be determined from the compatible
>>
>> Which properties would those be ? (it seems
>> reg/clocks/interrupts/phys/power-domains/resets really need to be there as
>> separate properties, but maybe I am missing the point?)
>
> All the quirk properties is what I am talking about here. There's about
> 50 of them and I don't know if a single one should actually exist.
I cannot tell whether every one of them will ever be used or useful, but
I also do not have a good argument to block most of them as they are
tunables which apply to the DWC3 core itself.
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.
>>> , so I
>>> would appreciate it if you could use additionalProperties: false here
>>> cite the ones you need to use explicitly.
>>
>> May I ask, what exactly is the rule of thumb for additionalProperties:false
>> and unevaluatedProperties:false ? I seem to struggle with picking the right
>> one for a while now.
>
> I would say, if all properties being imported apply to you device, use
> unevaluated. If only some do, and there are some that will be
> problematic or confusing if used, then additionalProperties: false and
> citing the good ones explicit is clearer for users and prevents the bad
> combos.
Thank you for this clarification, I will make a note of it.
next prev parent reply other threads:[~2026-09-08 21:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 21:30 [PATCH v7 1/2] dt-bindings: usb: dwc3: Document Renesas R-Car Gen5 DWC3 xHCI USB controller Marek Vasut
2026-09-03 21:30 ` [PATCH v7 2/2] usb: dwc3: dwc3-generic-plat: Add Renesas R-Car Gen5 DWC3 xHCI USB controller glue Marek Vasut
2026-09-04 23:10 ` Thinh Nguyen
2026-09-04 15:32 ` [PATCH v7 1/2] dt-bindings: usb: dwc3: Document Renesas R-Car Gen5 DWC3 xHCI USB controller Conor Dooley
2026-09-04 16:24 ` Marek Vasut
2026-09-07 17:43 ` Conor Dooley
2026-09-08 20:58 ` Marek Vasut [this message]
2026-09-09 10:32 ` Conor Dooley
2026-09-09 14:43 ` Marek Vasut
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=04bb7d78-4b0e-49ba-910a-6fa2b0a8c1a7@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=Thinh.Nguyen@synopsys.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--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