]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: Remove redundant 'maxItems'
authorRob Herring <robh@kernel.org>
Thu, 11 Jun 2020 17:25:04 +0000 (11:25 -0600)
committerRob Herring <robh@kernel.org>
Fri, 12 Jun 2020 15:54:16 +0000 (09:54 -0600)
There's no need to specify 'maxItems' with the same value as the number
of entries in 'items'. A meta-schema update will catch future cases.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Anson Huang <Anson.Huang@nxp.com>
Cc: linux-clk@vger.kernel.org
Cc: linux-pwm@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Reviewed-by: Stephen Boyd <sboyd@kernel.org> # clk
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/clock/imx6q-clock.yaml
Documentation/devicetree/bindings/clock/imx6sl-clock.yaml
Documentation/devicetree/bindings/clock/imx6sll-clock.yaml
Documentation/devicetree/bindings/clock/imx6sx-clock.yaml
Documentation/devicetree/bindings/clock/imx6ul-clock.yaml
Documentation/devicetree/bindings/pwm/imx-pwm.yaml
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml

index 429e3b62b965bcf8575818d9027e3b4859b5f326..92a8e545e212b4283af9f95fc2d56ef1ffd87fe9 100644 (file)
@@ -23,7 +23,6 @@ properties:
     items:
       - description: CCM interrupt request 1
       - description: CCM interrupt request 2
-    maxItems: 2
 
   '#clock-cells':
     const: 1
index 135568c46350f91006788e50f7f9f9ebfbddc80a..c97bf95b41508fbd50d71aed93f41dd93ca49b34 100644 (file)
@@ -23,7 +23,6 @@ properties:
     items:
       - description: CCM interrupt request 1
       - description: CCM interrupt request 2
-    maxItems: 2
 
   '#clock-cells':
     const: 1
index fa55f1ce3e57d0a01e2c0b5cd1b69237f88b06d7..de48924be1915d81c3d246889babb8e7e88b151b 100644 (file)
@@ -23,7 +23,6 @@ properties:
     items:
       - description: CCM interrupt request 1
       - description: CCM interrupt request 2
-    maxItems: 2
 
   '#clock-cells':
     const: 1
index 982d698e8c54d3992f48332e53a1f141417dd812..e50cddee43c3d5e3c7fa7c4fa7e23913d273b439 100644 (file)
@@ -23,7 +23,6 @@ properties:
     items:
       - description: CCM interrupt request 1
       - description: CCM interrupt request 2
-    maxItems: 2
 
   '#clock-cells':
     const: 1
index 3c779eea6394b6249ea1e62113a793a51d7d8a90..36ce7667c97267a1353f3bb7c03cbaa39b3ee595 100644 (file)
@@ -23,7 +23,6 @@ properties:
     items:
       - description: CCM interrupt request 1
       - description: CCM interrupt request 2
-    maxItems: 2
 
   '#clock-cells':
     const: 1
index 4b62af27d4b3769a9b332a9804e8d77c337847b5..01df06777cba42224f2828681335f05af3c22fb2 100644 (file)
@@ -30,13 +30,11 @@ properties:
     items:
       - description: SoC PWM ipg clock
       - description: SoC PWM per clock
-    maxItems: 2
 
   clock-names:
     items:
       - const: ipg
       - const: per
-    maxItems: 2
 
   interrupts:
     maxItems: 1
index c4ddc0adf1011f2d99948317195d8fa6bff93490..0073763a30d89721fba3ce4a9358d998964c0fa7 100644 (file)
@@ -64,13 +64,11 @@ properties:
      - const: hs_src
 
   power-domains:
-    maxItems: 2
     items:
       - description: XUSBB(device) power-domain
       - description: XUSBA(superspeed) power-domain
 
   power-domain-names:
-    maxItems: 2
     items:
       - const: dev
       - const: ss