diff mbox series

dt-bindings: mtd: sunxi-nand: Drop 'maxItems' from child 'reg' property

Message ID 20190628193525.7785-1-robh@kernel.org (mailing list archive)
State Mainlined
Commit e6ed6467117e7d7cabafb95c392b4e0b91bedd2e
Headers show
Series dt-bindings: mtd: sunxi-nand: Drop 'maxItems' from child 'reg' property | expand

Commit Message

Rob Herring (Arm) June 28, 2019, 7:35 p.m. UTC
Mixing 'maxItems' and scalar properties doesn't make much sense, so drop
'maxItems' as a single item is implied.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: linux-mtd@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
I'll take this in the DT tree if that's okay.

Rob

 .../devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml        | 1 -
 1 file changed, 1 deletion(-)

Comments

Miquel Raynal June 29, 2019, 9:29 a.m. UTC | #1
Hi Rob,

Rob Herring <robh@kernel.org> wrote on Fri, 28 Jun 2019 13:35:25 -0600:

> Mixing 'maxItems' and scalar properties doesn't make much sense, so drop
> 'maxItems' as a single item is implied.
> 
> Cc: David Woodhouse <dwmw2@infradead.org>
> Cc: Brian Norris <computersforpeace@gmail.com>
> Cc: Marek Vasut <marek.vasut@gmail.com>
> Cc: Miquel Raynal <miquel.raynal@bootlin.com>
> Cc: Richard Weinberger <richard@nod.at>
> Cc: Vignesh Raghavendra <vigneshr@ti.com>
> Cc: Maxime Ripard <maxime.ripard@bootlin.com>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Cc: linux-mtd@lists.infradead.org
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> I'll take this in the DT tree if that's okay.

No problem!

Miquèl
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml b/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
index fbd4da3684fc..e5a411518be1 100644
--- a/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
@@ -57,7 +57,6 @@  patternProperties:
   "^nand@[a-f0-9]+$":
     properties:
       reg:
-        maxItems: 1
         minimum: 0
         maximum: 7