Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1659156rdh; Mon, 25 Sep 2023 22:25:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkMGUAEm+oRLSXPgEthHYvNf7n3bGs4Pd5BwGfPFHr369+bBYihLNFXwAn98zQZyN39mOk X-Received: by 2002:a05:6a00:1a44:b0:690:d251:28ad with SMTP id h4-20020a056a001a4400b00690d25128admr8282192pfv.29.1695705913041; Mon, 25 Sep 2023 22:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695705913; cv=none; d=google.com; s=arc-20160816; b=Eznym0G96khUXEsFhvI79ZT8RAWbj486oyjFVeCo9tGO3qSDZDv3CpdF38clqLY3y5 UPnVHipJ//7FuM+zQCibdidKfKR2162wO4la38hCigCpIKT/RUh1yt5PffMAyYWS1G2l yrbCDTnhwP8o0WCljkDwEMv3DS2IKIC+0WsZVsdEmUhwUeZnKZg6b5JCfSWn0kaxx6cI DlTCtmEz+fMhLZsvbNDFVROzTAuMzi88JtU4N32OC5qNys+N6gwtj3uIK/qUI6QCMCAt dFt5jIRCNYHPzc5kjpatpvZWELBxTq/JnjorYoEtha0IgkhKvCM4hE5yOThXsboIOtLI zBog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mGB+hW8EcgpXNNSjmf7fJ24sLwC+iJpETWg7Drt2OpU=; fh=bJAZK7KE7eLBgAYgHGpvqJIfwkmWh1fmlunbNnVSg/Q=; b=N9lVLrLIL6VcIV5DZMPyFNaf1es8o3FJHxd2bPVRN0n5O6Kj2EyyuUsleeNa0hz3n6 WbAhs3M1EaUZgDtoEvOuCWEdCv8jXdVe1D6P7EfUNLS0AN66yWZiz8yLrmF6W0dAYrwe bCJDDXLb4DCd6WNUhtP+99OeMR0IW0i59iTZw42Gnk5H6RAgEi+r+z9Ng523aGsVOWzG Vj/VkRpZY9k6uGeqOjXf3KHXzwwEEltXxlpB1/KFjVU9XMe8pbAVCmCnQiEMS78ve5yC TIWNTobZBy9yYzoIbP83XBdCrIkY8yp1p+BMwrp7uVmLdHhaMb3J7LtCR7RrIoCIAhRw tevw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gaiPAfWo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s7-20020a056a00178700b00690258a9766si12428176pfg.373.2023.09.25.22.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 22:25:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gaiPAfWo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0B321820D5DD; Mon, 25 Sep 2023 21:06:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232343AbjIZEGi (ORCPT + 99 others); Tue, 26 Sep 2023 00:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjIZEGg (ORCPT ); Tue, 26 Sep 2023 00:06:36 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4E7BEC; Mon, 25 Sep 2023 21:06:29 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c02e232c48so132899051fa.1; Mon, 25 Sep 2023 21:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695701188; x=1696305988; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mGB+hW8EcgpXNNSjmf7fJ24sLwC+iJpETWg7Drt2OpU=; b=gaiPAfWopoJwjM8g7QJCmAJDfcmXLUWQPBia82fwVD4pdhcbNQi6cu1Im3QwH7/bx/ xE1rByXkQC7JOQGHlwhmIwHKRVU46ixKA6+/sm+GPYVO6OGDjNKiex1+PNlrTHOf8fkN GJdlL347T6R40J1j3oFyuQhx1gUd0xz7JSdpeMYhvTHfXk1JfqNwov6yPiO+YMxsTP+W /BXu014NxAzEfhImPCnNUhFOZ8gFd/GRqsI9zyQbhhLx7cL/DOZ+Voh3Hr1kGd77uggo QDZPqmuORus5ew7+9YGgfQvsJirI4IvZhwAH7mDQ9+39LXKDS9XljyVpN/kLrCiiu2cM cgwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695701188; x=1696305988; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mGB+hW8EcgpXNNSjmf7fJ24sLwC+iJpETWg7Drt2OpU=; b=QZdn6SQGxTtp8MB5doW/oYGNqZveAC2gIb5eQzu8n95wA2T30KQsk8qtWI6kQj8taU 7Pm+5hIwyMb2tBSJYhBeMRgizLCqppfIoDdgH/h7gZ3BF1jM3T0GoY9yPV3yOpLEgzFG 6LjYJM5rffXEdPtovSo42VKrBA7MfdGINjnpshKQkFfbQsz0sWrLRHRGJeI2Tj6BQTrO HkMSKDaNULiPx0SOBNQFSzggOaFzKqPh/KsWBaETunELnFNUnDl2haCvJ4rt2mBiKYo3 X7a3f2ZubbgCd4vv/o8QeKxqbNIrt+GJrXKQjye1EP4/dXI/hT0woxOv4AvtnbimIHk6 UGfg== X-Gm-Message-State: AOJu0YxylVYgzAFxJMwka0DNGEIaI+Fep/FNEVSZ/3iGmy5Wqsj5g7MJ CrEoNXUjWXCnyx6LF0B73d8= X-Received: by 2002:a05:651c:118:b0:2bc:d94f:ad04 with SMTP id a24-20020a05651c011800b002bcd94fad04mr6668385ljb.13.1695701187599; Mon, 25 Sep 2023 21:06:27 -0700 (PDT) Received: from jernej-laptop.localnet (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id h1-20020a1709063c0100b0099bc038eb2bsm7137424ejg.58.2023.09.25.21.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 21:06:26 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Mark Brown , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Samuel Holland , Thierry Reding , Jonathan Hunter , Heiko Stuebner , Serge Semin , Maxime Ripard , Chris Morgan , Rob Herring Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] spi: dt-bindings: Make "additionalProperties: true" explicit Date: Tue, 26 Sep 2023 06:06:25 +0200 Message-ID: <2783820.mvXUDI8C0e@jernej-laptop> In-Reply-To: <20230925212614.1974243-1-robh@kernel.org> References: <20230925212614.1974243-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 21:06:38 -0700 (PDT) Dne ponedeljek, 25. september 2023 ob 23:26:00 CEST je Rob Herring napisal(a): > Make it explicit that child nodes have additional properties and the > child node schema is not complete. The complete schemas are applied > separately based the compatible strings. > > Signed-off-by: Rob Herring > --- > .../devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml | 2 ++ > .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 2 ++ For Allwinner: Acked-by: Jernej Skrabec Best regards, Jernej > Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml | 1 + > Documentation/devicetree/bindings/spi/rockchip-sfc.yaml | 2 ++ > Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 2 ++ > 5 files changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml > index a6f34bdd1d3c..e1ab3f523ad6 100644 > --- a/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml > @@ -46,6 +46,8 @@ properties: > patternProperties: > "^.*@[0-9a-f]+": > type: object > + additionalProperties: true > + > properties: > reg: > items: > diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > index 28b8ace63044..3b47b68b92cb 100644 > --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > @@ -68,6 +68,8 @@ properties: > patternProperties: > "^.*@[0-9a-f]+": > type: object > + additionalProperties: true > + > properties: > reg: > items: > diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml > index 9ae1611175f2..48e97e240265 100644 > --- a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml > +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml > @@ -50,6 +50,7 @@ properties: > patternProperties: > "@[0-9a-f]+$": > type: object > + additionalProperties: true > > properties: > spi-rx-bus-width: > diff --git a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml > index 339fb39529f3..ac1503de0478 100644 > --- a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml > +++ b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml > @@ -47,6 +47,8 @@ properties: > patternProperties: > "^flash@[0-3]$": > type: object > + additionalProperties: true > + > properties: > reg: > minimum: 0 > diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > index a47cb144b09f..6348a387a21c 100644 > --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > @@ -160,6 +160,8 @@ properties: > patternProperties: > "^.*@[0-9a-f]+$": > type: object > + additionalProperties: true > + > properties: > reg: > minimum: 0 >