[PATCH 2/2] dt-bindings: usb: amlogic,meson-g12a-usb-ctrl: Correctly restrict number of resets

Krzysztof Kozlowski <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.infradead.lists.linux-amlogic,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-usb
Message-ID <[email protected]>
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 <[email protected]>
---
 .../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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.