Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp480622ybi; Tue, 16 Jul 2019 00:21:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxA3h3z4zmhkOiMf8qlVarQyTN7PdrOR9S4cuQPMJuLCG7tBMYD2yAVBbnyZhlWm5h8BIXw X-Received: by 2002:a17:90a:2506:: with SMTP id j6mr35358106pje.129.1563261687681; Tue, 16 Jul 2019 00:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563261687; cv=none; d=google.com; s=arc-20160816; b=pS7LB+N3OMsSZviGx3hbcZZWRmKdsTsF2ArlqRZOsvUx/+MpRn3gj2euzAI42pmApD 9g7lAxErKYdMH9kRXM8xLZ4l8LFW4hvZzsf8FHHTeDWy1TcIfnqCHxCWA/dzKChocKsB dS+AYH5pVUhLl9Wh6OhY2bV77yq06jRAbce/J53/i+ChrZKpvtz5ZEuGxZ0U/Jn6M4+l wIQ8XeJ1gF2YcHVHXPIOZdcyM/luliF+sDW5bOUycmW8MdqtnF/6mgiSu+qs93qQbrAX lw1deFhgUeDHikOPIuk7Tl1HG5UcRusyT2D8DdzLzgWW8wQPBP56C1JFBwe7GxfjZ2wN QMTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=/acx/zw81i43zD3GElSXAKGw+Ks/xHx2e22skx69V4U=; b=NkUGX7cd/0PWhbuBmFuMSNuLHcE1Ff1DDWy6KP+TuJCuSUsujh9PCu3K6rYTyADQFa RhPi5QWh3L3rsN2qZhQGGGIM1/M/eV5lo6TCVFOAEeuGLp7Hv6I0zagwnnJzG1rBwOnl CColuiQrnafDPHdcYw5Ze8itiSfOQ3StrnWt9hfbWdJDPraIg5JcpgQyE4iuvYDUjMvm l0VCSNxowbJ/up0IGB1GggwPGcHnmj9YwS8tUCMNZDSbeLOnWpdDwlqkzx3RzKwUfYeN CxBXOn/VNj68M9Z9j9w5fNhvYaGMgcP5xCkxEH/STa1l3bQ3RB+29CIds7+cJAjSoYON 08Dg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si17245435plq.403.2019.07.16.00.21.11; Tue, 16 Jul 2019 00:21:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729778AbfGPHTs convert rfc822-to-8bit (ORCPT + 99 others); Tue, 16 Jul 2019 03:19:48 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50989 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbfGPHTs (ORCPT ); Tue, 16 Jul 2019 03:19:48 -0400 X-Originating-IP: 86.250.200.211 Received: from xps13 (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 4582860017; Tue, 16 Jul 2019 07:19:34 +0000 (UTC) Date: Tue, 16 Jul 2019 09:19:33 +0200 From: Miquel Raynal To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Vignesh Raghavendra , Linus Walleij , Maxime Coquelin , Alexandre Torgue , Mark Brown , linux-mtd@lists.infradead.org, linux-gpio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-spi@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Ensure child nodes are of type 'object' Message-ID: <20190716091933.39db956e@xps13> In-Reply-To: <20190715230457.3901-1-robh@kernel.org> References: <20190715230457.3901-1-robh@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Rob Herring wrote on Mon, 15 Jul 2019 17:04:57 -0600: > Properties which are child node definitions need to have an explict > type. Otherwise, a matching (DT) property can silently match when an > error is desired. Fix this up tree-wide. Once this is fixed, the > meta-schema will enforce this on any child node definitions. > > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: David Woodhouse > Cc: Brian Norris > Cc: Marek Vasut > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra > Cc: Linus Walleij > Cc: Maxime Coquelin > Cc: Alexandre Torgue > Cc: Mark Brown > Cc: linux-mtd@lists.infradead.org > Cc: linux-gpio@vger.kernel.org > Cc: linux-stm32@st-md-mailman.stormreply.com > Cc: linux-spi@vger.kernel.org > Signed-off-by: Rob Herring > --- > Please ack. I will take this via the DT tree. > > Rob > > .../devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml | 1 + > .../devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml | 1 + > Documentation/devicetree/bindings/mtd/nand-controller.yaml | 1 + > .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ > .../devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml | 1 + > .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 1 + > 6 files changed, 8 insertions(+) > [...] > diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > index 199ba5ac2a06..d261b7096c69 100644 > --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml > +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > @@ -40,6 +40,7 @@ properties: > > patternProperties: > "^nand@[a-f0-9]$": > + type: object > properties: > reg: > description: For the mtd .yaml: Acked-by: Miquel Raynal Thanks, Miquèl