From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D721C433EF for ; Thu, 9 Dec 2021 09:42:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230525AbhLIJqE convert rfc822-to-8bit (ORCPT ); Thu, 9 Dec 2021 04:46:04 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:56975 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbhLIJqC (ORCPT ); Thu, 9 Dec 2021 04:46:02 -0500 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 1195124000D; Thu, 9 Dec 2021 09:42:25 +0000 (UTC) Date: Thu, 9 Dec 2021 10:42:24 +0100 From: Miquel Raynal To: Rob Herring Cc: Richard Weinberger , Vignesh Raghavendra , Tony Lindgren , Roger Quadros , devicetree@vger.kernel.org, Thierry Reding , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: mtd: ti,gpmc-nand: Add missing 'rb-gpios' Message-ID: <20211209104224.41d42cca@xps13> In-Reply-To: <20211206174209.2297565-1-robh@kernel.org> References: <20211206174209.2297565-1-robh@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Rob, robh@kernel.org wrote on Mon, 6 Dec 2021 11:42:09 -0600: > With 'unevaluatedProperties' support implemented, the TI GPMC example > has a warning: > > Documentation/devicetree/bindings/memory-controllers/ti,gpmc.example.dt.yaml: nand@0,0: Unevaluated properties are not allowed ('rb-gpios' was unexpected) > > Add the missing definition for 'rb-gpios'. rb-gpios is already defined in nand-controller.yaml. I seems like the real problem is that this file does not refer to it. Can you update the fix? While at it you might also want to drop the rb-gpios property from ingenic,nand.yaml, which also defines it a second time. > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra > Cc: Tony Lindgren > Cc: Roger Quadros > Cc: linux-mtd@lists.infradead.org > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml b/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml > index beb26b9bcfb2..1c280f52baa0 100644 > --- a/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml > +++ b/Documentation/devicetree/bindings/mtd/ti,gpmc-nand.yaml > @@ -53,6 +53,11 @@ properties: > enum: [8, 16] > default: 8 > > + rb-gpios: > + description: > + GPIO connection to R/B signal from NAND chip > + maxItems: 1 > + > patternProperties: > "@[0-9a-f]+$": > $ref: "/schemas/mtd/partitions/partition.yaml" Thanks, Miquèl