summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/w1
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-09-28 23:54:07 +0200
committerRob Herring <robh@kernel.org>2021-10-04 20:11:22 +0200
commit71a9aa162d7b2f9b92b51462203324bcd5a5aeff (patch)
treee994ddcdb493cb8b1815bf7f5058c8edb46ac3a1 /Documentation/devicetree/bindings/w1
parentdt-bindings: aspeed: Add UART routing controller (diff)
downloadlinux-71a9aa162d7b2f9b92b51462203324bcd5a5aeff.tar.xz
linux-71a9aa162d7b2f9b92b51462203324bcd5a5aeff.zip
dt-bindings: w1-gpio: Drop redundant 'maxItems'
Drop another redundant maxItems that snuck into w1-gpio binding. If a property has an 'items' list, then a 'minItems' or 'maxItems' with the same size as the list is redundant and can be dropped. Note that is DT schema specific behavior and not standard json-schema behavior. The tooling will fixup the final schema adding any unspecified minItems/maxItems. Fixes: dd2c898bc20b ("dt-bindings: w1: Convert 1-Wire GPIO binding to a schema") Cc: Daniel Mack <zonque@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/w1')
-rw-r--r--Documentation/devicetree/bindings/w1/w1-gpio.yaml1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/w1/w1-gpio.yaml b/Documentation/devicetree/bindings/w1/w1-gpio.yaml
index 7ba1c2fd4722..8eef2380161b 100644
--- a/Documentation/devicetree/bindings/w1/w1-gpio.yaml
+++ b/Documentation/devicetree/bindings/w1/w1-gpio.yaml
@@ -15,7 +15,6 @@ properties:
gpios:
minItems: 1
- maxItems: 2
items:
- description: Data I/O pin
- description: Enable pin for an external pull-up resistor