* [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* [PATCH 2/2] dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: Correctly restrict number of resets
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 ` 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)
1 sibling, 1 reply; 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 Amlogic DWC3 wrapper
node, because "minItems" alone does not imply one and any number of
resets would be allowed.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
.../devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml
index da757c1155d4..b0ea8257e1d5 100644
--- a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml
+++ b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml
@@ -53,7 +53,7 @@ properties:
maxItems: 3
resets:
- minItems: 1
+ maxItems: 1
reg:
maxItems: 1
--
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* Re: [PATCH 2/2] dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: Correctly restrict number of resets
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)
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2026-09-17 18:47 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-arm-kernel, Conor Dooley, Felipe Balbi, devicetree,
linux-amlogic, linux-kernel, Kevin Hilman, Martin Blumenstingl,
Neil Armstrong, Jerome Brunet, Greg Kroah-Hartman,
Krzysztof Kozlowski, linux-usb
On Wed, 12 Aug 2026 15:44:57 +0200, Krzysztof Kozlowski wrote:
> Add missing upper bound of number of resets for Amlogic DWC3 wrapper
> node, because "minItems" alone does not imply one and any number of
> resets would be allowed.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
> .../devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
_______________________________________________
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
* Re: [PATCH 1/2] dt-bindings: usb: snps,dwc3: Correctly restrict number of resets
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)
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2026-09-17 18:47 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Conor Dooley, Krzysztof Kozlowski, linux-arm-kernel,
Greg Kroah-Hartman, linux-amlogic, linux-kernel, Neil Armstrong,
Martin Blumenstingl, Kevin Hilman, linux-usb, devicetree,
Felipe Balbi, Jerome Brunet
On Wed, 12 Aug 2026 15:44:56 +0200, Krzysztof Kozlowski wrote:
> 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(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
_______________________________________________
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®