mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: usb: snps,dwc3: Correctly restrict number of resets
@ 2026-08-12 13:44 Krzysztof Kozlowski
  2026-08-12 13:44 ` [PATCH 2/2] dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: " Krzysztof Kozlowski
  2026-09-17 18:47 ` [PATCH 1/2] dt-bindings: usb: snps,dwc3: " Rob Herring (Arm)
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-12 13:44 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl, Felipe Balbi, linux-usb, devicetree,
	linux-arm-kernel, linux-amlogic, linux-kernel
  Cc: Krzysztof Kozlowski

Add missing upper bound of number of resets for DWC3 node, because
"minItems" alone does not imply one and any number of resets would be
allowed.  Ideally this would be restricted to "maxItems: 1" (as in a few
other bindings referencing snps,dwc3.yaml) but
arch/arm64/boot/dts/hisilicon/hi3660.dtsi defines node with four resets
and a generic compatible, thus make this one an upper limit.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index 4380bb6fa2f0..6eb6a823bd56 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -74,6 +74,7 @@ properties:
 
   resets:
     minItems: 1
+    maxItems: 4
 
 unevaluatedProperties: false
 
-- 
2.53.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-17 18:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 13:44 [PATCH 1/2] dt-bindings: usb: snps,dwc3: Correctly restrict number of resets Krzysztof Kozlowski
2026-08-12 13:44 ` [PATCH 2/2] dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: " Krzysztof Kozlowski
2026-09-17 18:47   ` Rob Herring (Arm)
2026-09-17 18:47 ` [PATCH 1/2] dt-bindings: usb: snps,dwc3: " Rob Herring (Arm)

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®